From: Nick Clifton Date: Fri, 16 Aug 2002 14:41:15 +0000 (+0000) Subject: Put a newline after display an unknown dynamic type. X-Git-Tag: drow-cplus-branchpoint~742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86f5577900c142a05e29952714021a3804657174;p=external%2Fbinutils.git Put a newline after display an unknown dynamic type. --- 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 + + * readelf.c (process_dynamic_segment): Put a newline after display + an unknown dynamic type. + 2002-08-16 Sivaguru Sankaridurg * 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; } }