aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-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
commitd9f4081713832e26cd511d73703b9723ad107f51 (patch)
tree957f41d16a48c690d16d93bf962e642b767504cd /bfd/elf64-hppa.c
parent197bedcdc3a381d93fff2627d2a0b5f8b6e610e2 (diff)
downloadgdb-d9f4081713832e26cd511d73703b9723ad107f51.zip
gdb-d9f4081713832e26cd511d73703b9723ad107f51.tar.gz
gdb-d9f4081713832e26cd511d73703b9723ad107f51.tar.bz2
* 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/elf64-hppa.c')
-rw-r--r--bfd/elf64-hppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index 0b762e4..637d232 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -3033,7 +3033,7 @@ elf_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 (retval)
+ if (retval && !info->relocatable)
retval = elf_hppa_sort_unwind (abfd);
return retval;