mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
Revert earlier delta adding bfd_coff_get_internal_extra_pe_aouthdr() function.
* cofflink.c (bfd_coff_get_internal_extra_pe_aouthdr): Delete. * libbfd-in.h (bfd_coff_get_internal_extra_pe_aouthdr): Remove prototype. * libbfd.h: Regenerate.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2020-03-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* cofflink.c (bfd_coff_get_internal_extra_pe_aouthdr): Delete.
|
||||||
|
* libbfd-in.h (bfd_coff_get_internal_extra_pe_aouthdr): Remove
|
||||||
|
prototype.
|
||||||
|
* libbfd.h: Regenerate.
|
||||||
|
|
||||||
2020-03-26 Alan Modra <amodra@gmail.com>
|
2020-03-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* i386msdos.c (msdos_object_p): Catch -1 return from bfd_bread.
|
* i386msdos.c (msdos_object_p): Catch -1 return from bfd_bread.
|
||||||
|
@ -3157,12 +3157,3 @@ _bfd_coff_generic_relocate_section (bfd *output_bfd,
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
struct internal_extra_pe_aouthdr *
|
|
||||||
bfd_coff_get_internal_extra_pe_aouthdr (bfd* abfd)
|
|
||||||
{
|
|
||||||
if (abfd == NULL || bfd_get_flavour (abfd) != bfd_target_coff_flavour)
|
|
||||||
return NULL;
|
|
||||||
return & pe_data (abfd)->pe_opthdr;
|
|
||||||
}
|
|
||||||
|
@ -854,11 +854,6 @@ extern bfd_vma _bfd_get_gp_value
|
|||||||
extern void _bfd_set_gp_value
|
extern void _bfd_set_gp_value
|
||||||
(bfd *, bfd_vma) ATTRIBUTE_HIDDEN;
|
(bfd *, bfd_vma) ATTRIBUTE_HIDDEN;
|
||||||
|
|
||||||
/* Provide access to the internal_extra_pe_aouthdr structure which
|
|
||||||
contains interesting information for PE format binaries. */
|
|
||||||
extern struct internal_extra_pe_aouthdr *
|
|
||||||
bfd_coff_get_internal_extra_pe_aouthdr (bfd *);
|
|
||||||
|
|
||||||
/* Function shared by the COFF and ELF SH backends, which have no
|
/* Function shared by the COFF and ELF SH backends, which have no
|
||||||
other common header files. */
|
other common header files. */
|
||||||
|
|
||||||
|
@ -859,11 +859,6 @@ extern bfd_vma _bfd_get_gp_value
|
|||||||
extern void _bfd_set_gp_value
|
extern void _bfd_set_gp_value
|
||||||
(bfd *, bfd_vma) ATTRIBUTE_HIDDEN;
|
(bfd *, bfd_vma) ATTRIBUTE_HIDDEN;
|
||||||
|
|
||||||
/* Provide access to the internal_extra_pe_aouthdr structure which
|
|
||||||
contains interesting information for PE format binaries. */
|
|
||||||
extern struct internal_extra_pe_aouthdr *
|
|
||||||
bfd_coff_get_internal_extra_pe_aouthdr (bfd *);
|
|
||||||
|
|
||||||
/* Function shared by the COFF and ELF SH backends, which have no
|
/* Function shared by the COFF and ELF SH backends, which have no
|
||||||
other common header files. */
|
other common header files. */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user