* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.

This commit is contained in:
Alan Modra 2008-11-24 07:54:34 +00:00
parent 00c63f6216
commit 7512c3973e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-11-24 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
2008-11-19 Nick Clifton <nickc@redhat.com>
* fdl.texi: Update to v1.3

View File

@ -6669,6 +6669,10 @@ lang_record_phdrs (void)
|| (os->bfd_section->flags & SEC_ALLOC) == 0)
continue;
/* Don't add orphans to PT_INTERP header. */
if (l->type == 3)
continue;
if (last == NULL)
{
lang_output_section_statement_type * tmp_os;