summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCRelocations.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-09-08 22:42:09 +0000
committerNate Begeman <natebegeman@mac.com>2006-09-08 22:42:09 +0000
commit69df6132d781665ab59adca3ea24acc33ec77525 (patch)
treecd7226412df18e0fe9c9077217a639b735291abe /llvm/lib/Target/PowerPC/PPCRelocations.h
parentde33f662866b2ae18c597ac1bb6463ab12934be2 (diff)
downloadbcm5719-llvm-69df6132d781665ab59adca3ea24acc33ec77525.tar.gz
bcm5719-llvm-69df6132d781665ab59adca3ea24acc33ec77525.zip
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. llvm-svn: 30207
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRelocations.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRelocations.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRelocations.h b/llvm/lib/Target/PowerPC/PPCRelocations.h
index 8cb2859d1f7..21c688de2c5 100644
--- a/llvm/lib/Target/PowerPC/PPCRelocations.h
+++ b/llvm/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
};
}
}
OpenPOWER on IntegriCloud