link script PROVIDE bugfix
Paul Brook
paul@codesourcery.com
Thu Aug 4 18:56:00 GMT 2005
On Thursday 04 August 2005 19:49, Paul Brook wrote:
> > 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.
I of course mean __bss_end__.
Paul
More information about the Binutils
mailing list