[AArch64] Use SYMBOL_REFERENCES_LOCAL in one symbol check
Steve Ellcey
sellcey@cavium.com
Wed Jun 21 18:05:00 GMT 2017
On Wed, 2017-06-21 at 11:00 +0100, Jiong Wang wrote:
>
> Â Â Â Â Â Â Â Â Â Â Â
> Â Â Â So, I think we should fix AArch64 glibc code, to use _GI__dl_argv instead of
> _dl_argv,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
> Â Â Â Â ...
>     adrp    x3, __GI__dl_argv                                       \n\
>     str     " PTR "2, [x3, #:lo12:__GI__dl_argv]                    \n\
> Â Â Â Â ...
> Â Â Â Â Â Â Â Â Â Â Â
> Â This seems to me is the correct way, and I verified glibc build should be OK after
> this change.
Thanks Jiong,  this patch works for me too and I see that Szabolcs Nagy
has checked this change into the glibc source tree.
Steve Ellcey
sellcey@cavium.com
More information about the Binutils
mailing list