summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/ELF/Inputs/dynamic-table.c
blob: 9d45720eb6726519a514a8433e1ca74cd973912d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// clang -target x86_64-linux-gnu -shared -fPIC -lc dynamic-table.c \
//       -o dynamic-table-so.x86 -Wl,-f,aux.so -Wl,-F,filter.so
// 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 *);

__thread int foo;

int main(void) {
  puts("Hello, World");
  foo = 0;
}
OpenPOWER on IntegriCloud