diff options
author | Alan Modra <amodra@gmail.com> | 2024-04-11 11:56:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-04-11 17:05:16 +0930 |
commit | af925905211930677751678183f43c1bda13e013 (patch) | |
tree | 4003f40a03ceebde7ac611aa9d7a1dc0dcd72d8a /bfd/ppcboot.c | |
parent | de9dc65bd45c118d56600bbf1786322284fde795 (diff) | |
download | gdb-af925905211930677751678183f43c1bda13e013.zip gdb-af925905211930677751678183f43c1bda13e013.tar.gz gdb-af925905211930677751678183f43c1bda13e013.tar.bz2 |
Remove bfdwin.c
In commit b86d3af60ffc and 0ab0435fe672 I fixed SIGBUS errors found by
oss-fuzz now that --with-mmap defaults to enabled. It turns out there
are further problems with the aout mmap code: aout_read_minisymbols
returns the external symbol array, which is later freed by nm.c. If
the array is mmaped you can't free it. Now this could be fixed by
making aout minisymbols an array of pointers, but I figure there's not
much point in expending effort on that. So delete the aout mmap
support along with bfdwin.c and get_section_contents_in_window.
Diffstat (limited to 'bfd/ppcboot.c')
-rw-r--r-- | bfd/ppcboot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index 2e94777..1a98607 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -470,8 +470,6 @@ ppcboot_bfd_print_private_bfd_data (bfd *abfd, void * farg) _bfd_generic_copy_link_hash_symbol_type #define ppcboot_bfd_final_link _bfd_generic_final_link #define ppcboot_bfd_link_split_section _bfd_generic_link_split_section -#define ppcboot_get_section_contents_in_window \ - _bfd_generic_get_section_contents_in_window #define ppcboot_bfd_link_check_relocs _bfd_generic_link_check_relocs #define ppcboot_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data |