diff options
author | Alan Modra <amodra@gmail.com> | 2008-02-15 09:03:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-02-15 09:03:02 +0000 |
commit | 5503fea1b9e6164095b2afa6d52c734cad217b3c (patch) | |
tree | 2892a09e3ef387bd865d09f5fafbe3966f4ecde7 /ld/emultempl/hppaelf.em | |
parent | 0c8d6e5c6d36827b284c46ae256ace8ed4e3daf8 (diff) | |
download | fsf-binutils-gdb-5503fea1b9e6164095b2afa6d52c734cad217b3c.zip fsf-binutils-gdb-5503fea1b9e6164095b2afa6d52c734cad217b3c.tar.gz fsf-binutils-gdb-5503fea1b9e6164095b2afa6d52c734cad217b3c.tar.bz2 |
* emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Likewise.
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
Likewise.
* emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
uses with..
(is_ppc_elf): ..this new macro.
Diffstat (limited to 'ld/emultempl/hppaelf.em')
-rw-r--r-- | ld/emultempl/hppaelf.em | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index f5808b3..182ab53 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -67,13 +67,8 @@ hppaelf_after_parse (void) static void hppaelf_create_output_section_statements (void) { - extern const bfd_target bfd_elf32_hppa_linux_vec; - extern const bfd_target bfd_elf32_hppa_nbsd_vec; - extern const bfd_target bfd_elf32_hppa_vec; - - if (link_info.output_bfd->xvec != &bfd_elf32_hppa_linux_vec - && link_info.output_bfd->xvec != &bfd_elf32_hppa_nbsd_vec - && link_info.output_bfd->xvec != &bfd_elf32_hppa_vec) + if (!(bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour + && elf_object_id (link_info.output_bfd) == HPPA_ELF_TDATA)) return; stub_file = lang_add_input_file ("linker stubs", |