1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/llvm-objcopy
George Rimar 3e5b9fe4cd [llvm-objcopy] - Fix --compress-debug-sections when there are relocations.
When --compress-debug-sections is given,
llvm-objcopy removes the uncompressed sections and adds compressed to the section list.
This makes all the pointers to old sections to be outdated.

Currently, code already has logic for replacing the target sections of the relocation
sections. But we also have to update the relocations by themselves.

This fixes https://bugs.llvm.org/show_bug.cgi?id=40885.

Differential revision: https://reviews.llvm.org/D58960

llvm-svn: 355821
2019-03-11 11:01:24 +00:00
..
COFF [llvm-objcopy] Add --set-start, --change-start and --adjust-start 2019-02-26 09:24:22 +00:00
ELF [llvm-objcopy] - Fix --compress-debug-sections when there are relocations. 2019-03-11 11:01:24 +00:00
MachO Update new files added to llvm-objcopy to use the new file header. 2019-02-11 08:25:19 +00:00
Buffer.cpp [llvm-objcopy] Fix crash when writing empty binary output 2019-01-28 15:02:40 +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] Add ability to copy MachO object files 2019-02-02 00:38:07 +00:00
CopyConfig.cpp [llvm-objcopy] - Report "no zlib available" error properly when --compress-debug-sections is used. 2019-03-05 11:32:14 +00:00
CopyConfig.h [llvm-objcopy] Add --set-start, --change-start and --adjust-start 2019-02-26 09:24:22 +00:00
llvm-objcopy.cpp [llvm-objcopy][NFC] More error cleanup 2019-02-21 17:05:19 +00: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-start, --change-start and --adjust-start 2019-02-26 09:24:22 +00:00
StripOpts.td [llvm-objcopy] Allow regular expressions in name comparison 2019-02-06 11:00:07 +00:00