2007-02-22 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)
commit6a5bb8757e503d29dd2b0cc656a8747bca71362e
tree739be2901b553d31859250350c69dc13a3454070
parent115d86cfaa1c3ecbf7ce54222a7622a2adb994f9
2007-02-22  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto.  Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf32-arm.c
bfd/elflink.c
bfd/elfxx-target.h
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/gc-unwind.d [new file with mode: 0644]
ld/testsuite/ld-arm/gc-unwind.s [new file with mode: 0644]