1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-readobj
Saleem Abdulrasool 9599f4edb3 CodeGen: support an extension to pass linker options on ELF
Introduce an extension to support passing linker options to the linker.
These would be ignored by older linkers, but newer linkers which support
this feature would be able to process the linker.

Emit a special discarded section `.linker-option`.  The content of this
section is a pair of strings (key, value).  The key is a type identifier for
the parameter.  This allows for an argument free parameter that will be
processed by the linker with the value being the parameter.  As an example,
`lib` identifies a library to be linked against, traditionally the `-l`
argument for Unix-based linkers with the parameter being the library name.

Thanks to James Henderson, Cary Coutant, Rafael Espinolda, Sean Silva
for the valuable discussion on the design of this feature.

llvm-svn: 323783
2018-01-30 16:29:29 +00:00
..
ARMEHABIPrinter.h Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
ARMWinEHPrinter.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ARMWinEHPrinter.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
CMakeLists.txt [tools] Add option to install binutils symlinks 2017-11-02 21:43:32 +00:00
COFFDumper.cpp [llvm-readobj] Fix double 0x prefix in RVA table printing after r321527 2018-01-23 23:17:06 +00:00
COFFImportDumper.cpp [llvm-readobj] Consistent use of ScopedPrinter 2018-01-10 00:14:19 +00:00
ELFDumper.cpp CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-readobj.cpp CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
llvm-readobj.h [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11:11 +00:00
LLVMBuild.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MachODumper.cpp [llvm-readobj] Consistent use of ScopedPrinter 2018-01-10 00:14:19 +00:00
ObjDumper.cpp Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
ObjDumper.h CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
StackMapPrinter.h [llvm-readobj] Consistent use of ScopedPrinter 2018-01-10 00:14:19 +00:00
WasmDumper.cpp [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Win64EHDumper.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
Win64EHDumper.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
WindowsResourceDumper.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
WindowsResourceDumper.h [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00