This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -mrelocatable broken on ppc-linux
Hi Jakub.
I'm not very -mrelocatable savvy, so I may be spouting off
nonsense... However...
> But there isn't anything that would process .fixup section on Linux either,
> is it?
I checked with the 2.4 and 2.6 kernels. Both, use -mrelocatable-lib
on a few files. Also, ppc-linux uses a linker script that does not
ignore the .fixup sections (arch/ppc/vmlinux.lds).
Alan, in the thread he referenced, mentioned that perhaps we should
keep the fixup sections because folks could provide another linker
script, which seems to be precisely the case in the linux kernel.
Do you agree?
Aldy