[Bug other/60158] powerpc: usage of the .data.rel.ro.local section
amodra at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 10 23:28:00 GMT 2015
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?
More information about the Gcc-bugs
mailing list