On Thu, 27 Jan 2005, Joel Sherrill <joel@OARcorp.com> wrote:
http://sources.redhat.com/ml/binutils/2004-03/msg00489.html
Eric Norum (cc'ed) recently narrowed it down to this construct:
=============================================================
A little poking around reveals that it's the lines like:
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x7f0000;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0; /* 0x20000;*/
_StackSize = DEFINED(_StackSize) ? _StackSize : 1M; /* 0x2000;*/
that are killing ld.
==============================================================
Does this sound familiar?
Yes. :-( The semantics of DEFINED has changed. IIRC, my patch
to announce that in ld/NEWS before 2.15 received no comments.
The usage above should still work, though.
Can you open a PR with binutils-self-contained (only assembly
files, no C or objects) test-case? Maybe all was at the URL
above, but I don't see the ld command line. Still, please open
a PR.