This is the mail archive of the binutils@sourceware.org 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: PATCH: ld/2537: Linker doesn't allow sections reserved for applications.


On Wed, Apr 19, 2006 at 12:05:25PM +0930, Alan Modra wrote:
> Next question: What about SHT_LOPROC thru SHT_HIPROC that aren't handled
> by the backend function?  And SHT_LOOS thru SHT_HIOS?  I think you ought
> to be consistent about unknown section types in these ranges.  ie. If
> SHT_LOUSER thru SHT_HIUSER is acceptable, then so should the others.

It would be Really Really Nice if we could reject these as linker input
without (A) issuing useless error messages, which we currently (or
formerly?) did for unknown section types, and (B) rejecting them for
objdump.

This is one reason I've adapted to use readelf compulsively; I got sick
of "invalid format" errors from objdump.

-- 
Daniel Jacobowitz
CodeSourcery


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