mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O symbolizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2150,6 +2150,11 @@ uint32_t MachOObjectFile::getScatteredRelocationValue(
|
||||
return RE.r_word1;
|
||||
}
|
||||
|
||||
uint32_t MachOObjectFile::getScatteredRelocationType(
|
||||
const MachO::any_relocation_info &RE) const {
|
||||
return (RE.r_word0 >> 24) & 0xf;
|
||||
}
|
||||
|
||||
unsigned MachOObjectFile::getAnyRelocationAddress(
|
||||
const MachO::any_relocation_info &RE) const {
|
||||
if (isRelocationScattered(RE))
|
||||
|
Reference in New Issue
Block a user