https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59904
--- Comment #6 from christophe.lyon at st dot com --- I have re-run the tests with trunk@210140 and older binutils (Sept 2013). The test fails at compilation with target arm-none-linux-gnueabi, and CFLAGS=-Os -pie -fpie or -Os -pie -fPIE in the following configurations: --with-mode=arm --with-cpu=cortex-a9 --with-mode=arm --with-cpu=cortex-a9 RUNTESTFLAGS=-mthumb --with-mode=thumb --with-cpu=cortex-a9 --with-mode=thumb --with-cpu=cortex-a9 RUNTESTFLAGS=-marm The test compiles OK and fails at execution with --with-mode=thumb --with-cpu=cortex-a9 RUNTESTFLAGS=-march=armv5t (this is the ELF file I have attached) The compiles and runs OK with --with-mode=arm --with-cpu=cortex-a9 RUNTESTFLAGS=-march=armv5t