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
15 lines
411 B
C
15 lines
411 B
C
// 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;
|
|
}
|