mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-01 14:31:54 +00:00
PR binutils/14481
* aout-target.h (MY_close_and_cleanup): Make local function instead of alias of MY_bfd_free_cached_info. Also call _bfd_generic_close_and_cleanup.
This commit is contained in:
parent
9053b70efa
commit
75344f2a89
@ -1,3 +1,10 @@
|
||||
2012-11-07 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
PR binutils/14481
|
||||
* aout-target.h (MY_close_and_cleanup): Make local function
|
||||
instead of alias of MY_bfd_free_cached_info. Also call
|
||||
_bfd_generic_close_and_cleanup.
|
||||
|
||||
2012-11-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/14813
|
||||
|
@ -577,7 +577,18 @@ MY_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
|
||||
#endif
|
||||
|
||||
#ifndef MY_close_and_cleanup
|
||||
#define MY_close_and_cleanup MY_bfd_free_cached_info
|
||||
|
||||
/* Handle closing of a BFD including the resource-releasing parts. */
|
||||
|
||||
static bfd_boolean
|
||||
MY_close_and_cleanup (bfd *abfd)
|
||||
{
|
||||
if (!MY_bfd_free_cached_info (abfd))
|
||||
return FALSE;
|
||||
|
||||
return _bfd_generic_close_and_cleanup (abfd);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef MY_get_dynamic_symtab_upper_bound
|
||||
|
Loading…
x
Reference in New Issue
Block a user