This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: link script PROVIDE bugfix
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Cc: Alan Modra <amodra at bigpond dot net dot au>
- Date: Thu, 4 Aug 2005 19:49:37 +0100
- Subject: Re: link script PROVIDE bugfix
- References: <20050803051111.GG2874@bubble.grove.modra.org>
> A bugfix for expressions like "PROVIDE(sym=ADDR(sec))", and renaming of
> a link script shell var. ?I renamed because ${LARGE_SECTIONS} intervenes
> between .bss end syms and _end. ?Some caution is needed if using to
> define .bss syms.
This change breaks arm-none-eabi.
elf.sc (and other scripts based on it) already contain ${OTHER_END_SYMBOLS}
right at the end of the script, as documented at the top of that file.
The later (older) occurance overrides the one you added, so __bss_start__ ends
up at the wrong place.
A quick grep though emulparams/ indicates some targets are using the old
meaning.
Paul