2008-08-28 Tristan Gingold <gingold@adacore.com>

* objdump.c (dump_stabs): Add sections for Darwin.
This commit is contained in:
Tristan Gingold 2008-08-28 16:05:03 +00:00
parent af11f592a8
commit 62bb81b87b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-08-28 Tristan Gingold <gingold@adacore.com>
* objdump.c (dump_stabs): Add sections for Darwin.
2008-08-25 Alan Modra <amodra@bigpond.net.au>
* sysdep.h: Include "binary-io.h".

View File

@ -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$");
}