Hi, the following code
__thread int foo = 1;
__thread int bar;
when compiled with "pcc -c" produces warnings
foo.s: Assembler messages:
foo.s:8: Warning: ignoring changed section attributes for .tdata
this is on NetBSD at least, using
GNU assembler version 2.19.1 (i486--netbsdelf) using BFD version (NetBSD Binutils nb1) 2.19.
I fixed it (as per attached tdata.diff) by adding "T" to the section flags similarly to what has
been done with amd64..