This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: h8300-elf/rtems bug in linker scripts


On Mon, Aug 14, 2006 at 04:11:34PM -0500, Joel Sherrill wrote:
> It looks to me like a ldscript used to produce a relocatable file
> should not introduce symbols in this manner.  Is this correct?

Yes.

> What's the right way to fix this?  I am unsure of what to edit
> in the original source to get rid of these symbols in relocatables.

Wrap the assignment in ${RELOCATING+ }.  Do the same for the vma on
.tinydata and lma on .tinybss.  emulparams/h8300elf.sh

> Do they even need to be in executables?

I don't know enough about the ABI to answer that.

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