aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-11 22:47:04 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-11 22:47:04 +0000
commit83f4323e5a7e590d8ce73c01697826da1bbc604d (patch)
treedd9652ef14bda29f40bfe8583fcd860b41bb1b32 /binutils/objdump.c
parent053baeb1565f4bfaf06451a24d6491e6ca325c06 (diff)
downloadgdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.zip
gdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.tar.gz
gdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.tar.bz2
Add support for SHT_ORDERED and SHF_EXCLUDE
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index b419346..00b71a7 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -220,6 +220,8 @@ dump_section_header (abfd, section, ignored)
PF (SEC_ROM, "ROM");
PF (SEC_DEBUGGING, "DEBUGGING");
PF (SEC_NEVER_LOAD, "NEVER_LOAD");
+ PF (SEC_EXCLUDE, "EXCLUDE");
+ PF (SEC_SORT_ENTRIES, "SORT ENTRIES");
printf ("\n");
#undef PF
}
@@ -1294,7 +1296,7 @@ display_bfd (abfd)
putchar ('\n');
if (dump_section_headers)
dump_headers (abfd);
- if (dump_symtab || dump_reloc_info || disassemble)
+ if (dump_symtab || dump_reloc_info || disassemble || dump_debugging)
{
syms = slurp_symtab (abfd);
}
@@ -1320,7 +1322,7 @@ display_bfd (abfd)
{
PTR dhandle;
- dhandle = read_debugging_info (abfd);
+ dhandle = read_debugging_info (abfd, syms, symcount);
if (dhandle != NULL)
{
if (! print_debugging_info (stdout, dhandle))