diff options
Diffstat (limited to 'ld/emultempl/hppaelf.em')
-rw-r--r-- | ld/emultempl/hppaelf.em | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 3ce5d54af7f..1137ba2cd6f 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -70,7 +70,8 @@ static void hppaelf_create_output_section_statements (void) { if (!(bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour - && elf_object_id (link_info.output_bfd) == HPPA_ELF_TDATA)) + && (elf_object_id (link_info.output_bfd) == HPPA32_ELF_DATA + || elf_object_id (link_info.output_bfd) == HPPA64_ELF_DATA))) return; stub_file = lang_add_input_file ("linker stubs", |