This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RS6000] Fix PR16952, -mrelocatable broken
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 28 Nov 2004 16:46:38 +1030
- Subject: [RS6000] Fix PR16952, -mrelocatable broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16952 as noted in the PR,
has a patch that's been around since the beginning of the year. It's
an obvious patch, but has remained in limbo. Possibly that's because
I incorrectly argued for the patch as being needed for the linux kernel.
The bug results in -mrelocatable being unusable with GCC configured for
powerpc-linux, when people ought to be able to use a powerpc-linux
configured compiler for embedded targets. At the moment, you'd need to
configure for powerpc-elf, powerpc-eabi, powerpc-freebsd, or a number of
other powerpc targets to successfully use -mrelocatable.
May I apply the patch to rectify this situation?
--
Alan Modra
IBM OzLabs - Linux Technology Centre