Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added forgotten ELFDumper.cpp to commit. 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 llvm-svn: 257914
- Loading branch information
George Rimar
committed
Jan 15, 2016
1 parent
d362462
commit 06a9b6f
Showing
4 changed files
with
61 additions
and
17 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
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