[PATCH] D17607: [ELF] - Create _DYNAMIC symbol for dynamic output

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 05:40:58 PST 2016


>On Fri, Feb 26, 2016 at 11:49:15AM +0000, George Rimar via llvm-commits wrote:
>> At the same time I am not sure should _DYNAMIC have default visibility ?
>> There is no real need in that either as it is used only by dynamic linker.
>> So gold behavior is also fine here.
>
>The dynamic linker doesn't use it, it gets the data from the header
>directly. I can't think of a good reason for making it non-hidden.
>
>Joerg

Yeah, I meant "_for_ dynamic linker". It is used for linking dynamic linker itself:
https://llvm.org/bugs/show_bug.cgi?id=26732

George.


More information about the llvm-commits mailing list