PR ld/676
authorAlan Modra <amodra@gmail.com>
Thu, 20 Jan 2005 07:47:49 +0000 (07:47 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 20 Jan 2005 07:47:49 +0000 (07:47 +0000)
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Handle bfd_elf32_hppa_nbsd_vec.

ld/ChangeLog
ld/emultempl/hppaelf.em

index 093912e55b24468f6a7a34ed60fba5d90024a267..92cded8472843aeaa0708af4dd3c200cf9cb06c0 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-20  Nick Hudson  <skrll@netbsd.org>
+
+       PR ld/676
+       * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
+       Handle bfd_elf32_hppa_nbsd_vec.
+
 2005-01-19  Richard Sandiford  <rsandifo@redhat.com>
 
        * ldmain.h (ld_sysroot): Change type to a constant string.
index edd8e0137ccb894bd4cd6a806947fc65bf5423ce..89fdfd0af1c98ce6a55f85f680c1a7ab1725576b 100644 (file)
@@ -67,9 +67,11 @@ 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.hash->creator != &bfd_elf32_hppa_linux_vec
+      && link_info.hash->creator != &bfd_elf32_hppa_nbsd_vec
       && link_info.hash->creator != &bfd_elf32_hppa_vec)
     return;