Owen Anderson
|
c8aa726ec2
Remove extraneous printing of "-PC".
|
14 年之前 |
Owen Anderson
|
0685e94895
Add support for the notion of "hidden" relocations. On MachO, these are relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves.
|
14 年之前 |
Owen Anderson
|
013d756310
Teach the MachO relocation pretty-printer to interpret ARM half-relocations.
|
14 年之前 |
Owen Anderson
|
d8fa76d4be
More fixes and improvements to MachO relocation pretty-printing, particular for x86 and x86_64 relocations with addends.
|
14 年之前 |
Owen Anderson
|
0135fe1854
Get relocation parsing/dumping to a mostly-working state for MachO files.
|
14 年之前 |
Owen Anderson
|
5f4e02cbf1
Stub out some of the MachO relocation decoding hooks.
|
14 年之前 |
Owen Anderson
|
a48aab924d
STABS symbols are debug symbols.
|
14 年之前 |
Michael J. Spencer
|
9b2b812fea
Object: Add isSymbolAbsolute and getSymbolSection.
|
14 年之前 |
Michael J. Spencer
|
c38c36a8c4
Object: Add isSymbolWeak.
|
14 年之前 |
Michael J. Spencer
|
1130a799ab
Object: Fix redundant name.
|
14 年之前 |
Owen Anderson
|
95f8db4d4d
The VMAs stored in the symbol table of a MachO file are absolute addresses, not offsets from the section.
|
14 年之前 |
Owen Anderson
|
10a8c62d46
Don't label a STAB debugging symbol as a function symbol.
|
14 年之前 |
Owen Anderson
|
cd74988fb9
sectionContainsSymbol needs to be based on VMA's rather than section indices to properly account for files with segment load commands that contain no sections.
|
14 年之前 |
Owen Anderson
|
41242942fc
Section indices in MachO symbol tables begin at 1, not 0.
|
14 年之前 |
Owen Anderson
|
f7c93a3867
Expose MachOObjectFile externally, like we do for COFF. First step in reducing the amount of special-purpose code needed for llvm-objdump.
|
14 年之前 |
Michael J. Spencer
|
15565ad758
Fix warning.
|
14 年之前 |
Michael J. Spencer
|
e2f2f07be7
Object: add getSectionAlignment.
|
14 年之前 |
Michael J. Spencer
|
4344b1ef9b
Change relocation API to be per section. This time without breaking GCC.
|
14 年之前 |
Bill Wendling
|
a48ad13339
Revert 141376 and 141377 due to breaking the build.
|
14 年之前 |
Michael J. Spencer
|
f1164a2487
Change relocation API to be per section.
|
14 年之前 |
Michael J. Spencer
|
13afc5eff2
Object: Add isSection{Data,BSS}.
|
14 年之前 |
Benjamin Kramer
|
ac241fe9f0
Object: make the following changes into SymbolRef
|
14 年之前 |
Benjamin Kramer
|
d40b0b0a06
Remove dead code.
|
14 年之前 |
Nick Lewycky
|
58856eae16
Fix release build:
|
14 年之前 |
Benjamin Kramer
|
0fcab076f0
Add support for relocations to ObjectFile.
|
14 年之前 |
Benjamin Kramer
|
07ea23aa2d
ObjectFile: Add a method to check whether a section contains a symbol.
|
14 年之前 |
Benjamin Kramer
|
32fb2af679
MachOObjectFile: Get symbol functions ready for 64 bit.
|
14 年之前 |
Benjamin Kramer
|
291e767dcf
Output MachO section names in the form SEGMENT,section.
|
14 年之前 |
Benjamin Kramer
|
7d145789c0
Add support for 64 bit objects to MachOObjectFile.
|
14 年之前 |
Benjamin Kramer
|
82ba5b7c40
MachOObjectFile: Change isSectionText to return true for sections named text, not for load commands name __TEXT (which isn't the case in actual object files)
|
14 年之前 |