https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158
--- Comment #2 from Alan Modra <amodra at gmail dot com> --- 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.