This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Stopping GAS from resolving IFUNC symbols itself
- From: Richard Sandiford <richard dot sandiford at linaro dot org>
- To: binutils at sourceware dot org
- Date: Wed, 01 Dec 2010 17:50:49 +0000
- Subject: Re: Stopping GAS from resolving IFUNC symbols itself
- References: <g4sjyjm6dy.fsf@richards-desktop.stglab.manchester.uk.ibm.com> <20101201040916.GM15607@bubble.grove.modra.org>
Alan Modra <amodra@gmail.com> writes:
> On Tue, Nov 30, 2010 at 10:51:21AM +0000, Richard Sandiford wrote:
>> Patch tested on x86_64-linux-gnu. Since the patch touches only
>> target-independent code, I intend to commit it in a couple of days
>> unless there are objections.
>
> Please don't commit without further testing. AOUT, COFF, PE etc.
OK.
> I'll be surprised if this patch doesn't break something..
Well, I'd be disappointed if it did TBH. On those targets,
the extra S_FORCE_RELOC checks just reject undefined and common
symbols. Such symbols should be rejected already (via SEG_NORMAL, etc.).
I'm going through your list of test targets just to be sure.
I've got up to ia64-elf so far, and everything seems happy.
I'll test the rest overnight.
Richard