diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-01-11 22:47:04 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-01-11 22:47:04 +0000 |
commit | 83f4323e5a7e590d8ce73c01697826da1bbc604d (patch) | |
tree | dd9652ef14bda29f40bfe8583fcd860b41bb1b32 /binutils | |
parent | 053baeb1565f4bfaf06451a24d6491e6ca325c06 (diff) | |
download | gdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.zip gdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.tar.gz gdb-83f4323e5a7e590d8ce73c01697826da1bbc604d.tar.bz2 |
Add support for SHT_ORDERED and SHF_EXCLUDE
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/objdump.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1d5f6b9..a0a2cf5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 11 17:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * objdump.c (dump_section_header): Add new section flags + SEC_{EXCLUDE,SORT_ENTRIES}. + Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian@cygnus.com> * objcopy.c (filter_symbols): NULL terminate the output symbols. 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)) |