1*9880d681SAndroid Build Coastguard Worker // clang -target mipsel-linux-gnu -shared -fPIC -lc dynamic-table.c \ 2*9880d681SAndroid Build Coastguard Worker // -o dynamic-table-so.mips 3*9880d681SAndroid Build Coastguard Worker // clang -target mipsel-linux-gnu -lc dynamic-table.c \ 4*9880d681SAndroid Build Coastguard Worker // -o dynamic-table-exe.mips 5*9880d681SAndroid Build Coastguard Worker // clang -target aarch64-linux-gnu -fPIC -shared dynamic-table.c \ 6*9880d681SAndroid Build Coastguard Worker // -o dynamic-table-so.aarch64 7*9880d681SAndroid Build Coastguard Worker int puts(const char *); 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker __thread int foo; 10*9880d681SAndroid Build Coastguard Worker main(void)11*9880d681SAndroid Build Coastguard Workerint main(void) { 12*9880d681SAndroid Build Coastguard Worker puts("Hello, World"); 13*9880d681SAndroid Build Coastguard Worker foo = 0; 14*9880d681SAndroid Build Coastguard Worker } 15