aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-01-20 07:47:49 +0000
committerAlan Modra <amodra@gmail.com>2005-01-20 07:47:49 +0000
commit9c1831834775d613a2024bf473b87bca1e5af459 (patch)
tree897485037cd295950287a41f3e28a1c19508a352 /ld
parent5e8cb02113dca06a9b67f7b465c105f9c7308866 (diff)
downloadgdb-9c1831834775d613a2024bf473b87bca1e5af459.zip
gdb-9c1831834775d613a2024bf473b87bca1e5af459.tar.gz
gdb-9c1831834775d613a2024bf473b87bca1e5af459.tar.bz2
PR ld/676
* emultempl/hppaelf.em (hppaelf_create_output_section_statements): Handle bfd_elf32_hppa_nbsd_vec.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/hppaelf.em2
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 093912e..92cded8 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em
index edd8e01..89fdfd0 100644
--- a/ld/emultempl/hppaelf.em
+++ b/ld/emultempl/hppaelf.em
@@ -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;