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: [6/6] Main ARM STT_GNU_IFUNC patch


On Fri, Mar 4, 2011 at 8:32 AM, Richard Sandiford
<richard.sandiford@linaro.org> wrote:
> This is the main STT_GNU_IFUNC patch. ?I'll try not to write too much
> about it because the explanations ought to be in the code. ?A few
> points though:
>
> - The main question was how to record PLT information for local
> ?symbools. ?One way (used by x86 and x86_64) is to have a fake hash
> ?table entry. ?Another (used by PPC) is to put the PLT information in
> ?the local symbol information. ?I tried both ways, but in the end I
> ?went for the latter. ?It seemed strange to have a hash table entry
> ?without a symbol name (which is after all the hash key), so I wasn't
> ?happy about having to add !root.root.string tests when using the
> ?former approach. ?It also seemed to make things more complicated
> ?overall.
>

I used fake hash table to handle complex things.  You
may want to take a look at all x86 IFUNC linker tests and
adopt them for ARM.


-- 
H.J.


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