This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR binutils/12639: nm/readelf failed to detect corrupted symtab


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]