This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix for readelf hex-dump SHT_NOBITS bug
- From: Marshall T. Vandegrift <llasram at wuli dot nu>
- To: binutils at sources dot redhat dot com
- Date: Tue, 28 Oct 2003 22:33:40 -0500
- Subject: Re: [PATCH] Fix for readelf hex-dump SHT_NOBITS bug
- Cancel-lock: sha1:CWcyqR3CO8DJa6rkLHkacrPxZLQ=
- References: <87u15zqr48.fsf@wuli.nu>
Marshall T. Vandegrift <llasram@wuli.nu> writes:
> This looks like an obvious fix to me. Currently, `readelf
> --hex-dump' on a SHT_NOBITS section will attempt to dump the
> section's sh_size bytes from the file (failing cleanly if the file
> is too small). This patch makes it treat SHT_NOBITS sections as
> zero bytes in size.
Several days without comment or commit... Did I violate some sort of
patch-submitting taboo?
--
Marshall T. Vandegrift <llasram@wuli.nu>
This is the manner of noble souls: they do not want
to have anything for nothing; least of all, life.
-- Friedrich Nietzsche, /Thus Spoke Zarathustra/