This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [commit, arm] Fix GDB breakage after BFD change (Re: RFC: Adding an extra field to Elf_Internal_Sym)
- From: Richard Sandiford <richard dot sandiford at linaro dot org>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Mon, 28 Mar 2011 11:02:24 +0100
- Subject: Re: [commit, arm] Fix GDB breakage after BFD change (Re: RFC: Adding an extra field to Elf_Internal_Sym)
- References: <201103252107.p2PL7LGW001412@d06av02.portsmouth.uk.ibm.com>
"Ulrich Weigand" <uweigand@de.ibm.com> writes:
> Richard Sandiford wrote:
>
>> This approach does still need some changes to BFD users that already
>> use STT_ARM_TFUNC to check for Thumbness. However, the changes needed
>> there are also the changes that would need to be made for any Thumb
>> STT_GNU_IFUNC support, and they would be restricted to ARM-specific
>> code. If binutils is anything to go by, the changes are much less
>> invasive than they would be for odd-valued function symbols.
>>
>> A corresponding (but simple) change would be needed in GDB.
Oops, too long between writing that and committing the patch, sorry :-(
> The following patch fixes this for me; does this look correct to you?
Yes, thanks.
Richard