This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] print additional mips elf 64 reloc type info in readelf
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Sun, 17 Feb 2002 22:59:03 +0100
- Subject: Re: [patch] print additional mips elf 64 reloc type info in readelf
- References: <20020217160540.43801.qmail@web10207.mail.yahoo.com>
Timothy Daly wrote:
[snip]
> @@ -1071,8 +1094,14 @@ dump_relocations (file, rel_offset, rel_
> #else
> printf (_("unrecognised: %-7lx"), type);
> #endif
> - else
> - printf ("%-21.21s", rtype);
> + else
> + {
> + printf ("%-21.21s", rtype);
> + if (rtype2 != NULL)
> + printf ("%-21.21s", rtype2);
> + if (rtype3 != NULL)
> + printf ("%-21.21s", rtype3);
Is better to print also the "unrecognised" string for rtype[23] == NULL.
Thiemo