mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Remove IEEE 695 object support
include/ * ieee.h: Delete. bfd/ * Makefile.am: Remove IEEE 695 support. * archures.c: Likewise. * bfd.c: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * doc/bfd.texinfo: Likewise. * doc/bfdint.texi: Likewise. * doc/bfdsumm.texi: Likewise. * section.c: Likewise. * targets.c: Likewise. * ieee.c: Delete. * libieee.h: Delete. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * Makefile.am: Remove IEEE 695 support. * budbg.h: Likewise. * doc/binutils.texi: Likewise. * makefile.vms: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise. * rddbg.c: Likewise. * ieee.c: Delete. * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. gas/ * app.c: Remove IEEE 695 support. * symbols.c: Likewise. ld/ * ld.texinfo: Remove IEEE 695 support. * mri.c: Likewise.
This commit is contained in:
@ -1,3 +1,16 @@
|
||||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* Makefile.am: Remove IEEE 695 support.
|
||||
* budbg.h: Likewise.
|
||||
* doc/binutils.texi: Likewise.
|
||||
* makefile.vms: Likewise.
|
||||
* objcopy.c: Likewise.
|
||||
* objdump.c: Likewise.
|
||||
* rddbg.c: Likewise.
|
||||
* ieee.c: Delete.
|
||||
* Makefile.in: Regenerate.
|
||||
* po/POTFILES.in: Regenerate.
|
||||
|
||||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/binutils-all/copy-2.d: Remove newsos3 support.
|
||||
|
@ -130,7 +130,7 @@ CFILES = \
|
||||
coffdump.c coffgrok.c cxxfilt.c \
|
||||
dwarf.c debug.c dlltool.c dllwrap.c \
|
||||
elfcomm.c emul_aix.c emul_vanilla.c filemode.c \
|
||||
ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
|
||||
is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
|
||||
nm.c not-ranlib.c not-strip.c \
|
||||
objcopy.c objdump.c prdbg.c \
|
||||
od-xcoff.c od-macho.c \
|
||||
@ -145,7 +145,7 @@ GENERATED_CFILES = \
|
||||
arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
|
||||
defparse.c deflex.c rcparse.c mcparse.c
|
||||
|
||||
DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
|
||||
DEBUG_SRCS = rddbg.c debug.c stabs.c rdcoff.c
|
||||
WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
|
||||
|
||||
# Extra object files for objdump
|
||||
|
@ -174,7 +174,7 @@ am_nm_new_OBJECTS = nm.$(OBJEXT) $(am__objects_1)
|
||||
nm_new_OBJECTS = $(am_nm_new_OBJECTS)
|
||||
nm_new_LDADD = $(LDADD)
|
||||
am__objects_3 = rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \
|
||||
ieee.$(OBJEXT) rdcoff.$(OBJEXT)
|
||||
rdcoff.$(OBJEXT)
|
||||
am__objects_4 = $(am__objects_3) wrstabs.$(OBJEXT)
|
||||
am_objcopy_OBJECTS = objcopy.$(OBJEXT) not-strip.$(OBJEXT) \
|
||||
rename.$(OBJEXT) $(am__objects_4) $(am__objects_1)
|
||||
@ -530,7 +530,7 @@ CFILES = \
|
||||
coffdump.c coffgrok.c cxxfilt.c \
|
||||
dwarf.c debug.c dlltool.c dllwrap.c \
|
||||
elfcomm.c emul_aix.c emul_vanilla.c filemode.c \
|
||||
ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
|
||||
is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
|
||||
nm.c not-ranlib.c not-strip.c \
|
||||
objcopy.c objdump.c prdbg.c \
|
||||
od-xcoff.c od-macho.c \
|
||||
@ -545,7 +545,7 @@ GENERATED_CFILES = \
|
||||
arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
|
||||
defparse.c deflex.c rcparse.c mcparse.c
|
||||
|
||||
DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
|
||||
DEBUG_SRCS = rddbg.c debug.c stabs.c rdcoff.c
|
||||
WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
|
||||
|
||||
# Code shared by all the binutils.
|
||||
@ -902,7 +902,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emul_aix.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emul_vanilla.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemode.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ieee.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/is-ranlib.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/is-strip.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/maybe-ranlib.Po@am__quote@
|
||||
|
@ -44,12 +44,6 @@ extern bfd_boolean parse_stab
|
||||
extern bfd_boolean write_stabs_in_sections_debugging_info
|
||||
(bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
|
||||
|
||||
/* Routines used to read and write IEEE debugging information. */
|
||||
|
||||
extern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type);
|
||||
|
||||
extern bfd_boolean write_ieee_debugging_info (bfd *, void *);
|
||||
|
||||
/* Routine used to read COFF debugging information. */
|
||||
|
||||
extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
|
||||
|
@ -2162,9 +2162,9 @@ for more information on demangling.
|
||||
|
||||
@item -g
|
||||
@itemx --debugging
|
||||
Display debugging information. This attempts to parse STABS and IEEE
|
||||
Display debugging information. This attempts to parse STABS
|
||||
debugging format information stored in the file and print it out using
|
||||
a C like syntax. If neither of these formats are found this option
|
||||
a C like syntax. If no STABS debuging was found this option
|
||||
falls back on the @option{-W} option to print any DWARF information in
|
||||
the file.
|
||||
|
||||
|
7398
binutils/ieee.c
7398
binutils/ieee.c
File diff suppressed because it is too large
Load Diff
@ -36,7 +36,7 @@ LIBIBERTY = [-.libiberty]libiberty.olb/lib
|
||||
OPCODES_DEP = [-.opcodes]libopcodes.olb
|
||||
OPCODES = [-.opcodes]libopcodes.olb/lib
|
||||
|
||||
DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj,\
|
||||
DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,rdcoff.obj,dwarf.obj,\
|
||||
elfcomm.obj
|
||||
|
||||
BULIBS = bucomm.obj,version.obj,filemode.obj
|
||||
|
@ -4251,9 +4251,6 @@ write_debugging_info (bfd *obfd, void *dhandle,
|
||||
long *symcountp ATTRIBUTE_UNUSED,
|
||||
asymbol ***symppp ATTRIBUTE_UNUSED)
|
||||
{
|
||||
if (bfd_get_flavour (obfd) == bfd_target_ieee_flavour)
|
||||
return write_ieee_debugging_info (obfd, dhandle);
|
||||
|
||||
if (bfd_get_flavour (obfd) == bfd_target_coff_flavour
|
||||
|| bfd_get_flavour (obfd) == bfd_target_elf_flavour)
|
||||
{
|
||||
|
@ -3646,8 +3646,8 @@ dump_bfd (bfd *abfd)
|
||||
exit_status = 1;
|
||||
}
|
||||
}
|
||||
/* PR 6483: If there was no STABS or IEEE debug
|
||||
info in the file, try DWARF instead. */
|
||||
/* PR 6483: If there was no STABS debug info in the file, try
|
||||
DWARF instead. */
|
||||
else if (! dump_dwarf_section_info)
|
||||
{
|
||||
dwarf_select_sections_all ();
|
||||
|
@ -26,8 +26,6 @@ elfedit.c
|
||||
emul_aix.c
|
||||
emul_vanilla.c
|
||||
filemode.c
|
||||
ieee.c
|
||||
ieee.c
|
||||
is-ranlib.c
|
||||
is-strip.c
|
||||
maybe-ranlib.c
|
||||
|
@ -35,7 +35,6 @@ static bfd_boolean read_section_stabs_debugging_info
|
||||
(bfd *, asymbol **, long, void *, bfd_boolean *);
|
||||
static bfd_boolean read_symbol_stabs_debugging_info
|
||||
(bfd *, asymbol **, long, void *, bfd_boolean *);
|
||||
static bfd_boolean read_ieee_debugging_info (bfd *, void *, bfd_boolean *);
|
||||
static void save_stab (int, int, bfd_vma, const char *);
|
||||
static void stab_context (void);
|
||||
static void free_saved_stabs (void);
|
||||
@ -64,12 +63,6 @@ read_debugging_info (bfd *abfd, asymbol **syms, long symcount, bfd_boolean no_me
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (bfd_get_flavour (abfd) == bfd_target_ieee_flavour)
|
||||
{
|
||||
if (! read_ieee_debugging_info (abfd, dhandle, &found))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Try reading the COFF symbols if we didn't find any stabs in COFF
|
||||
sections. */
|
||||
if (! found
|
||||
@ -346,37 +339,6 @@ read_symbol_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount,
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Read IEEE debugging information. */
|
||||
|
||||
static bfd_boolean
|
||||
read_ieee_debugging_info (bfd *abfd, void *dhandle, bfd_boolean *pfound)
|
||||
{
|
||||
asection *dsec;
|
||||
bfd_size_type size;
|
||||
bfd_byte *contents;
|
||||
|
||||
/* The BFD backend puts the debugging information into a section
|
||||
named .debug. */
|
||||
|
||||
dsec = bfd_get_section_by_name (abfd, ".debug");
|
||||
if (dsec == NULL)
|
||||
return TRUE;
|
||||
|
||||
size = bfd_section_size (abfd, dsec);
|
||||
contents = (bfd_byte *) xmalloc (size);
|
||||
if (! bfd_get_section_contents (abfd, dsec, contents, 0, size))
|
||||
return FALSE;
|
||||
|
||||
if (! parse_ieee (dhandle, abfd, contents, size))
|
||||
return FALSE;
|
||||
|
||||
free (contents);
|
||||
|
||||
*pfound = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Record stabs strings, so that we can give some context for errors. */
|
||||
|
||||
|
Reference in New Issue
Block a user