linker script variables
Alan Modra
amodra@gmail.com
Tue Jan 12 14:44:00 GMT 2010
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
More information about the Binutils
mailing list