[PATCH] D36579: [ELF] - Do not fail when set versions for linkerscript's symbol aliases

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 01:46:14 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D36579#868106, @atanasyan wrote:

> MIPS part is LGTM.
>
> It's interesting that _gp_disp and __gnu_local_gp have incorrect binding and visibility for so long time. I will fix that later.


Thanks for looking. It only happens for `_gp_disp` and `__gnu_local_gp` if them are assigned from script to something, I guess that is just a rare case.
Also I think that other special symbols are also affected. I did not yet check, but I think that for example `__ehdr_start`, `__executable_start`,` __dso_handle`
will remain hidden even if be assigned from script.


https://reviews.llvm.org/D36579





More information about the llvm-commits mailing list