[PATCH] D13637: ELF2: Fix BSD's __progname symbol issue.
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 11:53:34 PDT 2015
On Sun, Oct 11, 2015 at 11:39:24AM -0700, Rui Ueyama via llvm-commits wrote:
> Why COPY relocation is related to this?
Sorry, mixed up the cases slightly. No COPY is needed, but the comments
can stop talking about the specific __progname case. libwrap and
allow_severity is the classic example. Some systems now patch it to
provide a weak definition, but that's also worth check for. E.g. if a
symbol is strongly defined in the main program and all DSOs have only a
weak version, the symbol also needs to be exported.
Joerg
More information about the llvm-commits
mailing list