bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 15 Dec 2007 09:31:41 +0000 (09:31 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 15 Dec 2007 09:31:41 +0000 (09:31 +0000)
commit5241d85325456acf1c190f10e54e87cb11a624a1
tree61a16480f1d5fc014e70578e1a3bc462e9a3e360
parent281b8327ae1f49929a1f7a3c0bba5dec54eeeec2
bfd/
* elf-bfd.h (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): Declare.
(_bfd_elf_gc_mark): Use elf_gc_mark_hook_fn.
* elflink.c (init_reloc_cookie, fini_reloc_cookie)
(init_reloc_cookie_rels, fini_reloc_cookie_rels): New functions,
split out from...
(bfd_elf_discard_info): ...here.
(init_reloc_cookie_for_section): New function.
(fini_reloc_cookie_for_section): Likewise.
(_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): New functions,
split out from...
(_bfd_elf_gc_mark): ...here.  Use init_reloc_cookie_for_section
and fini_reloc_cookie_for_section.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c