public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* target (<local symbol>) of a R_PPC_SDAREL16 relocation is in the wrong section (.data)
@ 2002-04-02  7:55 Bob Boz
  0 siblings, 0 replies; only message in thread
From: Bob Boz @ 2002-04-02  7:55 UTC (permalink / raw)
  To: binutils

That's the message I am getting from gnu ld. Browsing the archives and
looking at my link script (the .sdata section of input files were being
folded into .data section of output files), I removed all the lines having
to do with sdata out of the .data block and put them into a .sdata block
that immediatly follows.
This however made no difference and gld still gives me tons of errors as
above. Any idea what's happening here? My understanding was that, bfd 2.11
doesn't allow .sdata and .sbss sections to be put into any other sections
but .sdata and .sbss in the output files but now I am not so sure I
understand what's happening.

Thanks,
 Bob

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-02 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-02  7:55 target (<local symbol>) of a R_PPC_SDAREL16 relocation is in the wrong section (.data) Bob Boz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).