Fix decision about when a .interp section should exist
This commit is contained in:
parent
08e3ab9089
commit
893c4fe299
12 changed files with 27 additions and 11 deletions
|
@ -1642,7 +1642,7 @@ elf64_hppa_size_dynamic_sections (output_bfd, info)
|
|||
if (elf_hash_table (info)->dynamic_sections_created)
|
||||
{
|
||||
/* Set the contents of the .interp section to the interpreter. */
|
||||
if (! info->shared)
|
||||
if (info->executable)
|
||||
{
|
||||
s = bfd_get_section_by_name (dynobj, ".interp");
|
||||
BFD_ASSERT (s != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue