https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302
--- Comment #18 from Steve Ellcey <sje at gcc dot gnu.org> --- I think there is still a difference in our configurations. If you add '-v' to the compile line when compiling the test program what do you see? Specifically what does COLLECT_GCC_OPTIONS show? Mine has: COLLECT_GCC_OPTIONS='-c' '-O2' '-g' '-march=mips32r2' '-v' '-mllsc' '-mplt' '-mips32r2' '-mno-shared' '-EL' '-mabi=32' I suspect yours is different. I have tried adding some other options like -mabicalls and -mexplicit-relocs to get output that looks more like yours but I haven't succeeded in getting an exact match.