binutils-2.15: sh-elf-ld segfault
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Fri Mar 19 17:29:00 GMT 2004
On Fri, 2004-03-19 at 16:08, Dave Murphy wrote:
> I'm experiencing the same thing with an arm-elf target. The problem seems to
> be related to having a statement of the form "__text_start = DEFINED (
> <label> ) ? <value if true> : <value if false>;" in the link script and only
> appears when generating a mapfile. In your case I'd guess the linkscript has
> a line to set a default _HeapSize if one has not been defined already.
Exactly:
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
And indeed, not generating the mapfile avoids the segfault.
> The most recent source from cvs no longer segfaults
Hmm, binutils-2.15 as of this morning (CET) still segfault.
Ralf
More information about the Binutils
mailing list