[PATCH] Fix for readelf hex-dump SHT_NOBITS bug

Marshall T. Vandegrift llasram@wuli.nu
Wed Oct 29 03:36:00 GMT 2003


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/



More information about the Binutils mailing list