This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -mrelocatable broken on ppc-linux


What are we going to do about this one?
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg02267.html

I reckon we should fix it for this release, since it's easy and safe
to do so, and warn people that -mrelocatable will not be generating
.fixup or possibly go away altogether in a future release.

It's true enough that -mrelocatable serves no useful purpose on
Linux (so we could make it a synonym for -fPIC).  Anyone wanting to
relocate .got2 can just relocate everything there without using gcc's
.fixup, which is what the Linux kernel does.  So if you prefer, I'm
willing to generate a patch to make -mrelocatable{-lib} a synonym
for -fPIC, but I'm not keen to take the blame for breaking someone's
funky .fixup parser.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]