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

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 05:06: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


More information about the llvm-commits mailing list