diff options
author | Nick Clifton <nickc@redhat.com> | 2002-08-16 14:41:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-08-16 14:41:15 +0000 |
commit | 86f5577900c142a05e29952714021a3804657174 (patch) | |
tree | d9eced8cbb93bff2cc21b967c05cba104c91c306 /binutils | |
parent | 4b73ca9289d20e97f4764c65575bccc80175636e (diff) | |
download | fsf-binutils-gdb-86f5577900c142a05e29952714021a3804657174.zip fsf-binutils-gdb-86f5577900c142a05e29952714021a3804657174.tar.gz fsf-binutils-gdb-86f5577900c142a05e29952714021a3804657174.tar.bz2 |
Put a newline after display an unknown dynamic type.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9b0a306..fb24f91 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2002-08-16 Nick Clifton <nickc@redhat.com> + + * readelf.c (process_dynamic_segment): Put a newline after display + an unknown dynamic type. + 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com> * stabs.c (parse_stab_argtype): Pass length of physname to diff --git a/binutils/readelf.c b/binutils/readelf.c index 839a2c8..b2e7013 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -3850,13 +3850,13 @@ dump_ia64_unwind (aux) print_vma (tp->start.offset, PREFIX_HEX); fputc ('-', stdout); print_vma (tp->end.offset, PREFIX_HEX); - printf ("), info at +0x%lx\n", + printf ("], info at +0x%lx\n", (unsigned long) (tp->info.offset - aux->seg_base)); head = aux->info + (tp->info.offset - aux->info_addr); stamp = BYTE_GET8 ((unsigned char *) head); - printf (" v%u, flags=0x%lx (%s%s ), len=%lu bytes\n", + printf (" v%u, flags=0x%lx (%s%s), len=%lu bytes\n", (unsigned) UNW_VER (stamp), (unsigned long) ((stamp & UNW_FLAG_MASK) >> 32), UNW_FLAG_EHANDLER (stamp) ? " ehandler" : "", @@ -4650,11 +4650,13 @@ process_dynamic_segment (file) if (do_dynamic) { printf (_("Flags:")); + if (entry->d_un.d_val == 0) printf (_(" None\n")); else { unsigned long int val = entry->d_un.d_val; + if (val & DTF_1_PARINIT) { printf (" PARINIT"); @@ -4676,11 +4678,13 @@ process_dynamic_segment (file) if (do_dynamic) { printf (_("Flags:")); + if (entry->d_un.d_val == 0) printf (_(" None\n")); else { unsigned long int val = entry->d_un.d_val; + if (val & DF_P1_LAZYLOAD) { printf (" LAZYLOAD"); @@ -4707,6 +4711,7 @@ process_dynamic_segment (file) else { unsigned long int val = entry->d_un.d_val; + if (val & DF_1_NOW) { printf (" NOW"); @@ -4951,6 +4956,8 @@ process_dynamic_segment (file) putchar ('\n'); } } + else + putchar ('\n'); break; } } |