This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld crash when PHDRS uses undefined names
- From: Nick Clifton <nickc at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 24 Apr 2003 13:50:23 +0100
- Subject: Re: ld crash when PHDRS uses undefined names
- References: <200304230841.h3N8fe902999@magilla.sf.frob.com>
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