diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-09-08 22:42:09 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-09-08 22:42:09 +0000 |
commit | 94be248dbb2d2a44e8f4d47f161b93704d33d279 (patch) | |
tree | abcb89fb4085d6e568c5ab258f2b04da3790b62b /lib/Target/PowerPC/PPCRelocations.h | |
parent | 6f34b43292fe478b28ac4b1c6f7c0162cda71c5f (diff) |
First pass at supporting relocations. Relocations are written correctly to
the file now, however the relocated address is currently wrong. Fixing
that will require some deep pondering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRelocations.h')
-rw-r--r-- | lib/Target/PowerPC/PPCRelocations.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/Target/PowerPC/PPCRelocations.h b/lib/Target/PowerPC/PPCRelocations.h index 8cb2859d1f..21c688de2c 100644 --- a/lib/Target/PowerPC/PPCRelocations.h +++ b/lib/Target/PowerPC/PPCRelocations.h @@ -44,21 +44,7 @@ namespace llvm { // reloc_absolute_low_ix - Absolute relocation for the 64-bit load/store // instruction which have two implicit zero bits. - reloc_absolute_low_ix, - - // reloc_absolute_ptr_high - Absolute relocation for references to lazy - // pointer stubs. In this case, the relocated instruction should be - // relocated to point to a POINTER to the indicated global. The low-16 - // bits of the instruction are rewritten with the high 16-bits of the - // address of the pointer. - reloc_absolute_ptr_high, - - // reloc_absolute_ptr_low - Absolute relocation for references to lazy - // pointer stubs. In this case, the relocated instruction should be - // relocated to point to a POINTER to the indicated global. The low-16 - // bits of the instruction are rewritten with the low 16-bits of the - // address of the pointer. - reloc_absolute_ptr_low + reloc_absolute_low_ix }; } } |