]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove bfdwin.c
authorAlan Modra <amodra@gmail.com>
Thu, 11 Apr 2024 02:26:50 +0000 (11:56 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 11 Apr 2024 07:35:16 +0000 (17:05 +0930)
commitaf925905211930677751678183f43c1bda13e013
tree4003f40a03ceebde7ac611aa9d7a1dc0dcd72d8a
parentde9dc65bd45c118d56600bbf1786322284fde795
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.
39 files changed:
bfd/Makefile.am
bfd/Makefile.in
bfd/aout-target.h
bfd/aoutx.h
bfd/bfd-in2.h
bfd/bfdwin.c [deleted file]
bfd/binary.c
bfd/coff-aarch64.c
bfd/coff-alpha.c
bfd/coff-mips.c
bfd/coff-rs6000.c
bfd/coff-sh.c
bfd/coff64-rs6000.c
bfd/doc/bfdint.texi
bfd/doc/local.mk
bfd/elfxx-target.h
bfd/i386msdos.c
bfd/ihex.c
bfd/libaout.h
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h
bfd/libcoff-in.h
bfd/libcoff.h
bfd/mach-o-target.c
bfd/mmo.c
bfd/pdb.c
bfd/pdp11.c
bfd/pef.c
bfd/plugin.c
bfd/po/SRC-POTFILES.in
bfd/ppcboot.c
bfd/som.c
bfd/srec.c
bfd/targets.c
bfd/tekhex.c
bfd/verilog.c
bfd/vms-alpha.c
bfd/xsym.c