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: ld crash when PHDRS uses undefined names


Hi Roland,

> 2003-04-23  Roland McGrath  <roland at redhat dot com>
> 
> 	* ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
> 	If a name string is unknown, give an error rather than crashing later.

Approved - please apply.

Note - it would be cleaner if the phdr_types[] table had a direct
mapping between the name and its integer value, so that you did not 
have to have the special case code for the PT_GNU_EH_FRAME.  Still
this is not a high priority change.

Cheers
        Nick


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