1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/tools/llvm-objcopy
Alexander Shaposhnikov 6e8de6d572 [llvm-objcopy][MachO] Handle relocation entries where r_extern is zero
Fix handling of relocations with r_extern == 0.
If r_extern == 0 then r_symbolnum is an index of a section rather than a symbol index.

Patch by Seiya Nuta and Alexander Shaposhnikov.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D78946
2020-04-27 17:59:07 -07:00
..
COFF Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols 2020-04-20 21:18:48 -07:00
ELF [llvm-objcopy] Don't specialize the all zero p_paddr case 2020-04-27 11:20:41 -07:00
MachO [llvm-objcopy][MachO] Handle relocation entries where r_extern is zero 2020-04-27 17:59:07 -07:00
wasm [llvm-objcopy][WebAssembly] Add dump/add/remove-section support 2020-02-11 15:17:18 -08:00
Buffer.cpp [llvm-objcopy][NFC] Remove unnecessary llvm-objcopy.h #includes 2019-03-13 23:40:16 +00:00
Buffer.h [llvm-objcopy] Fix crash when writing empty binary output 2019-01-28 15:02:40 +00:00
CMakeLists.txt [llvm-objcopy][WebAssembly] Add dump/add/remove-section support 2020-02-11 15:17:18 -08:00
CommonOpts.td [llvm-objcopy][ELF] Implement --only-keep-debug 2019-11-05 08:56:15 -08:00
CopyConfig.cpp Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols 2020-04-20 21:18:48 -07:00
CopyConfig.h [llvm-objcopy][ELF] Allow setting SHF_EXCLUDE flag for ELF sections 2020-01-20 18:56:45 -08:00
InstallNameToolOpts.td Introduce llvm-install-name-tool 2019-11-19 23:42:37 -08:00
llvm-objcopy.cpp [llvm-objcopy] Improve tool selection logic to recognize llvm-strip-$major as strip 2020-03-23 13:49:26 -07:00
llvm-objcopy.h Small refactoring of FileError. NFC. 2019-02-11 09:49:37 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjcopyOpts.td [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00:00
StripOpts.td [llvm-objcopy] Move duplicate tablegen from objcopy and strip into one file 2019-08-15 04:45:41 +00:00