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: [RS6000] Fix PR16952, -mrelocatable broken


On Wed, Dec 01, 2004 at 03:50:02PM -0800, Geoff Keating wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16952 as noted in the PR,
> I guess so.  Is there a testcase?

$ cat > char.c
char *s = "boo";
$ gcc/xgcc -Bgcc/ -m32 -meabi -mrelocatable char.c -c
/tmp/ccookeSV.s: Assembler messages:
/tmp/ccookeSV.s:12: Error: Relocation cannot be done when using -mrelocatable

Shall I add this to the testsuite for powerpc*-*-* ?

-- 
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]