[PATCH] D13244: [ELF2] - implemented --allow-shlib-undefined/--no-allow-shlib-undefined
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 07:15:51 PDT 2015
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
The default behaviour is to report errors for any undefined symbols referenced in shared libraries if the linker is being used to create an executable, but to allow them if the linker is being used to create a shared library.
If linker is being used to create an executable referencing shared library with undefined symbol and --allow-shlib-undefined is set then linking is allowed, if --no-allow-shlib-undefined set or nothing was set (default) then disallowed.
http://reviews.llvm.org/D13244
Files:
ELF/Config.h
ELF/Driver.cpp
ELF/InputFiles.cpp
ELF/Options.td
ELF/Writer.cpp
ELF/Writer.h
test/elf2/Inputs/allow-shlib-undefined.s
test/elf2/allow-shlib-undefined.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13244.35965.patch
Type: text/x-patch
Size: 5488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150929/a182106c/attachment.bin>
More information about the llvm-commits
mailing list