[RFC] unify dynamic_symbol_p implementations

Richard Henderson rth@redhat.com
Fri Jul 18 19:57:00 GMT 2003


On Fri, Jul 18, 2003 at 12:02:40PM -0700, Bob Wilson wrote:
> I think the "ignore_protected" argument should be 0 for the Xtensa port.  A 
> separate relocation (R_XTENSA_32) is used when taking the address of a 
> function than when calling it (R_XTENSA_PLT), so there shouldn't be an issue 
> with incorrectly comparing the PLT addresses instead of the function 
> addresses.  Unless I'm missing something here, you shouldn't have to "assume 
> the worst".

What happens when an executable takes the address of a 
function defined in a shared library?


r~



More information about the Binutils mailing list