This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: linker script variables
On Tue, Jan 12, 2010 at 02:37:30PM +0100, Markus Duft wrote:
> opened script file ./Platforms/ia32/uTachyon.ld
> ...
> opened script file Platforms/ia32/uTachyon.ld
You've doubled up your script file. So you really have
.text : {
uTachyonCodeStart = .;
*(.text)
uTachyonCodeStart = .;
*(.text)
}
etc.
Input .text matches the first *(.text) so that's where it goes, while
the symbol gets the last assignment.
--
Alan Modra
Australia Development Lab, IBM