summaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2009-11-08 20:47:24 +0000
committerDave Anglin <dave.anglin@nrc.ca>2009-11-08 20:47:24 +0000
commit8108413d1d147a617be1eb6ab14930a72fd5ec11 (patch)
tree8019d4d022f60b450e51575dbfeeabdc2852acdf /bfd/elf32-hppa.c
parent270c7dec8b352a1ca21ae031265b792b66ae8848 (diff)
downloadbinutils-redhat-8108413d1d147a617be1eb6ab14930a72fd5ec11.tar.gz
* elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
in a relocatable link. * elf64-hppa.c (elf_hppa_final_link): Likewise.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index cac0a215f4..2a5547b1f3 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -3238,6 +3238,9 @@ elf32_hppa_final_link (bfd *abfd, struct bfd_link_info *info)
/* If we're producing a final executable, sort the contents of the
unwind section. */
+ if (info->relocatable)
+ return TRUE;
+
return elf_hppa_sort_unwind (abfd);
}