2011-12-15 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 15 Dec 2011 11:01:14 +0000 (11:01 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 15 Dec 2011 11:01:14 +0000 (11:01 +0000)
commitdff55db0d28380140e3702f6495498507b2ce0d7
tree5ef20df5918c1e4dacf62903ec047a8d1c13bd03
parent0c9ef0f001e727226aae6a0dd3963dd81998e2e8
2011-12-15  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>

* mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation
table only when there isn't the cahce.
(bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space
for a pointer for the watchdog.
(bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like
bfd_mach_o_canonicalize_reloc.
(bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info.
(bfd_mach_o_free_cached_info): Free up cache data.
* mach-o.h (reloc_cache): A place to store cache of dynamic relocs.
(bfd_mach_o_free_cached_info): Add declaration.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h
This page took 0.025115 seconds and 4 git commands to generate.