This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Q: Estimated date for 2.16 release ?


Daniel Jacobowitz wrote:
On Thu, Jan 27, 2005 at 09:36:11AM -0500, Hans-Peter Nilsson wrote:

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.


Was a PR ever created for this? Has anyone looked at it?

Not that I know of.


Eric.. if you have a .c file and simple linkcmds that produces this,
then just use the -S option to put together a binutils test case.

Thanks.

--joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]