* elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
in a relocatable link. * elf64-hppa.c (elf_hppa_final_link): Likewise.
This commit is contained in:
parent
197bedcdc3
commit
d9f4081713
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
|
||||
in a relocatable link.
|
||||
* elf64-hppa.c (elf_hppa_final_link): Likewise.
|
||||
|
||||
2009-11-05 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* elflink.c (elf_link_add_object_symbols): Improve error
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue