https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158
--- Comment #3 from joakim.tjernlund at transmode dot se <joakim.tjernlund at transmode dot se> --- (In reply to Alan Modra from comment #2) > Fixed on master with git commit 8e2a42caa / svn rev 223209. > Fixed for gcc-4.9 with git commit 110222ca0 / svn rev 223714. > Fixed for gcc-4.8 with git commit 071358356 / svn rev 223713. > > Oddly, not backported to gcc-5? > > Regarding the testcase, you won't get .fixup entries unless a section other > than .got/.got2 is holding addresses, which makes it a rather poor test. Not sure I understand, you mean that the existing test is failing and so is my test? How would you suggest I amend the test case to really get a .fixup? The strange thing is that u-boot still fails with gcc 4.9.3 but disabling -fno-ira-hoist-pressure makes it work again. Maybe the fix is non functional in gcc 4.9.3?