[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