From 365544c3f03d9fcd2557e653c56326c3440e0fad Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 30 Sep 2005 14:56:34 +0000 Subject: 2005-09-30 H.J. Lu * Makefile.am (objdump_SOURCES): Add dwarf.c. * Makefile.in: Regenerated. * objdump.c: Include "dwarf.h". (usage): Add -W/--dwarf. (long_options): Likewise. (dump_dwarf_section_info): New. (load_debug_section): Likewise. (free_debug_section): Likewise. (dump_dwarf_section): Likewise. (dump_dwarf): Likewise. (dump_bfd): Load symbol table and call dump_dwarf if dump_dwarf_section_info isn't zero. (main): Handle -W/--dwarf. --- binutils/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'binutils/Makefile.in') diff --git a/binutils/Makefile.in b/binutils/Makefile.in index bc67ad7..e4fbaef 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -143,8 +143,9 @@ objcopy_OBJECTS = $(am_objcopy_OBJECTS) objcopy_LDADD = $(LDADD) objcopy_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_3) -am_objdump_OBJECTS = objdump.$(OBJEXT) budemang.$(OBJEXT) \ - prdbg.$(OBJEXT) $(am__objects_2) $(am__objects_1) +am_objdump_OBJECTS = objdump.$(OBJEXT) dwarf.$(OBJEXT) \ + budemang.$(OBJEXT) prdbg.$(OBJEXT) $(am__objects_2) \ + $(am__objects_1) objdump_OBJECTS = $(am_objdump_OBJECTS) am__DEPENDENCIES_4 = ../opcodes/libopcodes.la objdump_DEPENDENCIES = $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_1) \ @@ -462,7 +463,7 @@ readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c readelf_LDADD = $(INTLLIBS) $(LIBIBERTY) strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) nm_new_SOURCES = nm.c budemang.c $(BULIBS) -objdump_SOURCES = objdump.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS) +objdump_SOURCES = objdump.c dwarf.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS) objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) cxxfilt_SOURCES = cxxfilt.c $(BULIBS) ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \ -- cgit v1.1