LD scripts - using expressions correctly
Alan Modra
amodra@gmail.com
Mon Jul 7 14:36:00 GMT 2014
On Mon, Jul 07, 2014 at 03:06:45PM +0100, David Paterson wrote:
> I should have mentioned I'm using 2.24, but I'll pull the latest
> version from GIT and try that.
If mainline works for you, then I expect fa72205c was the patch that
fixed your trouble. Which also means you can work around this by
replacing:
_textVMA = (_exec_rom > 0) ? _textLMA : _ram_start;
_textVMA += _textoffset;
with:
_textVMA = ((_exec_rom > 0) ? _textLMA : _ram_start) + _textoffset;
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list