This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: PR 676: Fix ld for hppa--netbsd
- From: Nick Hudson <skrll at netbsd dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 19 Jan 2005 13:20:10 +0000
- Subject: PATCH: PR 676: Fix ld for hppa--netbsd
I've now tested my patch in PR 676 and it works.
Here's a ChangeLog and the patch again.
Thanks,
Nick
2005-01-19 Nick Hudson <skrll@netbsd.org>
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Create stub_file bfd for the NetBSD vector.
diff -u -r1.33 hppaelf.em
--- emultempl/hppaelf.em 25 May 2004 06:33:50 -0000 1.33
+++ emultempl/hppaelf.em 19 Jan 2005 13:17:17 -0000
@@ -67,9 +67,11 @@
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;