https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68082
--- Comment #2 from angelo <angelo70 at gmail dot com> --- Hi, finally i have more details. I reproduce this issue on toolchains built for x86_64, from gcc 4.9.0 to latest gcc 5.2.0. Compiling options don't make great differences, i am actually using -ggdb -Wall -fno-builtin -ffreestanding -O0 -pipe -mcpu=5307 and forcing libgcc __lshrdi3 to be called from c source. The line .short 0x48e7 create the issue. It brings of course to a fault. __lshrdi3 (DWtype u, shift_count_type b) { ffc1094c: 4e56 0000 linkw %fp,#0 ffc10950: 48e7 .short 0x48e7 I attach all i have to help you.