From d9f4081713832e26cd511d73703b9723ad107f51 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Sun, 8 Nov 2009 20:47:24 +0000 Subject: * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information in a relocatable link. * elf64-hppa.c (elf_hppa_final_link): Likewise. --- bfd/elf64-hppa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elf64-hppa.c') diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c index 0b762e40b1..637d232fe8 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; -- cgit v1.2.1