https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59904
--- Comment #9 from wangzheyu <tony.wang at arm dot com> --- Hi, would please provide your elf file with the new binutils, so that we can verify that whether it's the same issue as your former elf. If it is, it can be verified as a bug because you're using the latest binutils-linaro. We will investigate this issue further. Thanks a lot. (In reply to christophe.lyon from comment #8) > Using GCC trunk @210861, binutils-linaro-2.24-2014.03, I can see that > tls-reload-1.c all PASS with: > --target arm-none-linux-gnueabi --with-mode=arm --with-cpu=cortex-a9 > --with-fpu=neon and target_board set to -march=armv5t. > > When changing to --with-mode=thumb, I can see 10 failures at execution time, > with "-pie -fpie" and -pie -fPIE" combined with -O1, -O2, -O3 > -fomit-frame-pointer, -O3 -g, and -Os.