This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR5900
On Wed, Mar 12, 2008 at 02:13:02PM -0700, H.J. Lu wrote:
> * elf.c (assign_section_numbers): Check if number of sections
> >= SHN_LORESERVE.
Hmm, ld will have attempted to use at least 5 terabytes of memory
before we hit this error. Do you really think it is worth adding this
check?
> * elfcode.h (elf_object_p): Likewise.
Error messages are not appropriate for got_wrong_format_error where
you might try multiple targets and get the same error multiple times.
--
Alan Modra
Australia Development Lab, IBM