This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: h8300-elf/rtems bug in linker scripts
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Aug 2006 13:20:27 +0930
- Subject: Re: h8300-elf/rtems bug in linker scripts
- References: <44E0E706.8020702@oarcorp.com>
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