mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user