PATCH: ld/2537: Linker doesn't allow sections reserved for applications.
Daniel Jacobowitz
drow@false.org
Wed Apr 19 06:36:00 GMT 2006
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
More information about the Binutils
mailing list