Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add binary which has a single R_X86_64_TPOFF64 relocation
```C // libfootls.c __thread int foo_tls = 42; ``` ```C // ext_tls.c extern __thread int foo_tls; int main() { return foo_tls; } ``` ```bash gcc -c -Wall -Werror -fpic libfootls.c gcc -shared -o libfootls.so libfootls.o gcc -L./ -Wl,-rpath=./ -Wall -o ext_tls ext_tls.c -lfootls $ ./ext_tls ```
- Loading branch information