Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert r257912 - forgot to commit one file.
Initial commit message: [llvm-readobj] Add support for TLSDESC_PLT and TLSDESC_GOT dynamic section tags to the llvm-readobj. If module uses uses lazy TLSDESC relocations it should define DT_TLSDESC_PLT and DT_TLSDESC_GOT entries. They were unknown for llvm-readobj before this patch. Differential revision: http://reviews.llvm.org/D16224 ---- Added : /llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table-so.aarch64 Modified : /llvm/trunk/test/tools/llvm-readobj/Inputs/dynamic-table.c Modified : /llvm/trunk/test/tools/llvm-readobj/dynamic.test llvm-svn: 257913
- Loading branch information
George Rimar
committed
Jan 15, 2016
1 parent
d9e46a3
commit d362462
Showing
3 changed files
with
11 additions
and
53 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
// clang -target mipsel-linux-gnu -shared -fPIC -lc dynamic-table.c \ | ||
// -o dynamic-table-so.mips | ||
// clang -target mipsel-linux-gnu -lc dynamic-table.c \ | ||
// -o dynamic-table-exe.mips | ||
// clang -target aarch64-linux-gnu -fPIC -shared dynamic-table.c \ | ||
// -o dynamic-table-so.aarch64 | ||
int puts(const char *); | ||
|
||
__thread int foo; | ||
|
||
int main(void) { | ||
puts("Hello, World"); | ||
foo = 0; | ||
} | ||
// -o dynamic-table-so.mips | ||
// clang -target mipsel-linux-gnu -lc dynamic-table.c \ | ||
// -o dynamic-table-exe.mips | ||
int puts(const char *); | ||
|
||
int main(void) { | ||
puts("Hello, World"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters