PATCH: PR binutils/12639: nm/readelf failed to detect corrupted symtab
Alan Modra
amodra@gmail.com
Wed Apr 6 02:51:00 GMT 2011
On Tue, Apr 05, 2011 at 10:08:49AM -0700, H.J. Lu wrote:
> + /* Force it to local symbol. */
> + isym->st_info = ELF_ST_INFO (STB_LOCAL,
> + ELF_ST_TYPE (isym->st_info));
> + }
> +
I think this is wrong. The testcase clearly wants "main" as a global.
What created this bad object file?
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list