https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158
--- Comment #4 from Alan Modra <amodra at gmail dot com> --- I meant by my testcase comment that gcc/testsuite/gcc.target/powerpc/pr60158.c is a poor test because it does not seem to emit addresses to .data.rel.ro.local or any other non-got section, on gcc-4.9, gcc-5 or master. That means it isn't testing that .fixup is emitted for the failing case found with gcc-4.8.2. I haven't investigated what is needed to write a proper testcase, but from mailing list comments the trigger involves reload. That makes it extremely difficult to test. If u-boot is failing, do you have any evidence that the cause is lack of .fixup? ie. can you see addresses in non-got sections?