[PATCH] D13637: ELF2: Fix BSD's __progname symbol issue.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 10:37:29 PDT 2015


ruiu created this revision.
ruiu added reviewers: rafael, emaste.
ruiu added a subscriber: llvm-commits.

BSD's DSO files have undefined symbol "__progname" which is defined in crt1.o.
On that system, both user programs and system shared libraries depend on each
other. We need to put symbols defined by user programs which are referenced
by shared libraries to user program's .dynsym.

http://reviews.llvm.org/D13637

Files:
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  test/elf2/progname.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13637.37059.patch
Type: text/x-patch
Size: 4443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151011/22cc8e53/attachment.bin>


More information about the llvm-commits mailing list