diff options
author | Michael Meissner <gnu@the-meissners.org> | 1998-06-12 21:00:00 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1998-06-12 21:00:00 +0000 |
commit | 1e3d6cc4014c7ebe804974a5a96e2f4c86cdf82a (patch) | |
tree | 79b672ac9153e678ebb69fc6063d9ed4a9071ab7 /binutils | |
parent | a09db9ba576c6a25b46e4ee6493f3b7f560bc515 (diff) | |
download | gdb-1e3d6cc4014c7ebe804974a5a96e2f4c86cdf82a.zip gdb-1e3d6cc4014c7ebe804974a5a96e2f4c86cdf82a.tar.gz gdb-1e3d6cc4014c7ebe804974a5a96e2f4c86cdf82a.tar.bz2 |
Make sure .gcc_except_table fits in the section header table
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 44d680f..3894f2a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -10,6 +10,8 @@ Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com> (process_elf_header): Print endian-ess. Convert all numeric formats to long or unsigned long. Print out machine specific flag bits. + (process_section_headers): Increase name by 3 columns and decrease + type by the same so that .gcc_except_table fits in the space. * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get machine specific flag bits. diff --git a/binutils/readelf.c b/binutils/readelf.c index c345946..7897af6 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1431,13 +1431,13 @@ process_section_headers () epnt->e_shnum, epnt->e_shoff); printf (_("\nSection Header%s....\n"), epnt->e_shnum > 1 ? "s" : ""); - printf (_(" [Nr] Name Type Addr Off Size ES Flg Lk In Al\n")); + printf (_(" [Nr] Name Type Addr Off Size ES Flg Lk In Al\n")); for (i = 0; i < epnt->e_shnum; i++) { - printf (" [%2d] %-14s", i, SECTION_NAME (spnt)); + printf (" [%2d] %-17s", i, SECTION_NAME (spnt)); - printf (" %-18s ",get_section_type_name (spnt->sh_type)); + printf (" %-15s ",get_section_type_name (spnt->sh_type)); printf ( "%8.8lx %6.6lx %6.6lx %2.2lx", spnt->sh_addr, spnt->sh_offset, |