summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/ELF/Inputs/dynamic-table.c
blob: 24fa9b8238b54da5a772f138c43ce7653c3d1a82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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