OLD | NEW |
1 //===-- ARMELFWriterInfo.h - ELF Writer Info for ARM ------------*- C++ -*-===// | 1 //===-- ARMELFWriterInfo.h - ELF Writer Info for ARM ------------*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file implements ELF writer information for the ARM backend. | 10 // This file implements ELF writer information for the ARM backend. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 /// getJumpTableRelocationTy - Returns the machine relocation type used | 55 /// getJumpTableRelocationTy - Returns the machine relocation type used |
56 /// to reference a jumptable. | 56 /// to reference a jumptable. |
57 virtual unsigned getAbsoluteLabelMachineRelTy() const; | 57 virtual unsigned getAbsoluteLabelMachineRelTy() const; |
58 | 58 |
59 /// computeRelocation - Some relocatable fields could be relocated | 59 /// computeRelocation - Some relocatable fields could be relocated |
60 /// directly, avoiding the relocation symbol emission, compute the | 60 /// directly, avoiding the relocation symbol emission, compute the |
61 /// final relocation value for this symbol. | 61 /// final relocation value for this symbol. |
62 virtual long int computeRelocation(unsigned SymOffset, unsigned RelOffset, | 62 virtual long int computeRelocation(unsigned SymOffset, unsigned RelOffset, |
63 unsigned RelTy) const; | 63 unsigned RelTy) const; |
| 64 |
| 65 /// There are ~100+ active relocation types in ARM |
| 66 virtual TargetELFRelocHelper *getRelocHelper() const; |
64 }; | 67 }; |
65 | 68 |
66 } // end llvm namespace | 69 } // end llvm namespace |
67 | 70 |
68 #endif // ARM_ELF_WRITER_INFO_H | 71 #endif // ARM_ELF_WRITER_INFO_H |
OLD | NEW |