[all-commits] [llvm/llvm-project] 0db3a5: [llvm-objcopy][MachO] Handle relocation entries wh...
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Mon Apr 27 18:00:49 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b
https://github.com/llvm/llvm-project/commit/0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b
Author: Alexander Shaposhnikov <alexshap at fb.com>
Date: 2020-04-27 (Mon, 27 Apr 2020)
Changed paths:
A llvm/test/tools/llvm-objcopy/MachO/relocations.test
M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
M llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
M llvm/tools/llvm-objcopy/MachO/Object.cpp
M llvm/tools/llvm-objcopy/MachO/Object.h
Log Message:
-----------
[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
More information about the All-commits
mailing list