Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm-readobj] Add support for TLSDESC_PLT and TLSDESC_GOT dynamic se…
…ction 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 llvm-svn: 257912
- Loading branch information
George Rimar
committed
Jan 15, 2016
1 parent
05535bc
commit d9e46a3
Showing
3 changed files
with
53 additions
and
11 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,9 +1,14 @@ | ||
// 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 | ||
int puts(const char *); | ||
|
||
int main(void) { | ||
puts("Hello, World"); | ||
} | ||
// -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; | ||
} |
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