1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-objcopy
Jake Ehrlich 9c26f5f5ea [llvm-objcopy] Add support for large indexes
Because of -ffunction-sections (and maybe other use cases I'm not aware of?) it
can occur that we need more than 0xfeff sections but ELF dosn't support that
many sections. To solve this problem SHN_XINDEX exists and with it come a whole
host of changes for section indexes everywhere. This change adds support for
those cases which should allow llvm-objcopy to copy binaries that have an
arbitrary number of sections.

Differential Revision: https://reviews.llvm.org/D42516

llvm-svn: 326940
2018-03-07 19:59:15 +00:00
..
CMakeLists.txt [tools] Add option to install binutils symlinks 2017-11-02 21:43:32 +00:00
llvm-objcopy.cpp [llvm-objcopy] Make modifications in-place if output is not specified 2018-02-09 23:33:31 +00:00
llvm-objcopy.h [llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects 2018-01-25 22:46:17 +00:00
LLVMBuild.txt Reland "[llvm][llvm-objcopy] Added support for outputting to binary in llvm-objcopy" 2017-08-04 21:09:26 +00:00
Object.cpp [llvm-objcopy] Add support for large indexes 2018-03-07 19:59:15 +00:00
Object.h [llvm-objcopy] Add support for large indexes 2018-03-07 19:59:15 +00:00