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: [Mips}Using DT tags for handling local ifuncs


"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> On Sat, 7 Dec 2013, Richard Sandiford wrote:
>> > This is not to say that it cannot be done, but is it worth the bang
>> > for the buck? How many debuggers, simulators, object dumpers am I
>> > going to mess up making a change that few will benefit from?
>> 
>> Debuggers shouldn't care.  At least I don't think GDB does.
>
>  GDB has explicit ifunc support for making manual calls to such functions, 
> see stuff around elf_gnu_ifunc_fns in gdb/elfread.c; I'm not sure offhand 
> whether it needs to know details discussed here though, I suggest 
> double-checking.

What we're discussing here is whether debuggers would need to understand
the ABI GOT layout, i.e. whether the debugger itself will try to figure
out where the implicitly-relocated part of the local GOT starts.  I did
check that before posting originally and couldn't see anything.

(The layout only changes if ifuncs are used.)

Thanks,
Richard


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