From 62bb81b87bb66277c30eae45e3e9f3ae6a8d1922 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 28 Aug 2008 16:05:03 +0000 Subject: [PATCH] 2008-08-28 Tristan Gingold * objdump.c (dump_stabs): Add sections for Darwin. --- binutils/ChangeLog | 4 ++++ binutils/objdump.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ff79e20e774..525dbe2287f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-08-28 Tristan Gingold + + * objdump.c (dump_stabs): Add sections for Darwin. + 2008-08-25 Alan Modra * sysdep.h: Include "binary-io.h". diff --git a/binutils/objdump.c b/binutils/objdump.c index d4c32c03a24..5fad8ddcce9 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2474,6 +2474,10 @@ dump_stabs (bfd *abfd) dump_stabs_section (abfd, ".stab", ".stabstr"); dump_stabs_section (abfd, ".stab.excl", ".stab.exclstr"); dump_stabs_section (abfd, ".stab.index", ".stab.indexstr"); + + /* For Darwin. */ + dump_stabs_section (abfd, "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr"); + dump_stabs_section (abfd, "$GDB_SYMBOLS$", "$GDB_STRINGS$"); } -- 2.30.2