diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-18 20:52:11 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-18 20:52:11 +0000 |
commit | 617dd7baa6dfd3a7b5ee72ace37f6b6aeaa6006b (patch) | |
tree | 8163212cd30fad3f727b18b255eba3ce04d29899 /lib/CodeGen/ELFCodeEmitter.cpp | |
parent | f689fa185f8469f595222bff41b7e8f41bda2bef (diff) | |
download | external_llvm-617dd7baa6dfd3a7b5ee72ace37f6b6aeaa6006b.zip external_llvm-617dd7baa6dfd3a7b5ee72ace37f6b6aeaa6006b.tar.gz external_llvm-617dd7baa6dfd3a7b5ee72ace37f6b6aeaa6006b.tar.bz2 |
Use a better name for the label relocations while emitting them for Jump Tables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFCodeEmitter.cpp')
-rw-r--r-- | lib/CodeGen/ELFCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ELFCodeEmitter.cpp b/lib/CodeGen/ELFCodeEmitter.cpp index 6e6ba8e..6e50246 100644 --- a/lib/CodeGen/ELFCodeEmitter.cpp +++ b/lib/CodeGen/ELFCodeEmitter.cpp @@ -185,7 +185,7 @@ void ELFCodeEmitter::emitJumpTables(MachineJumpTableInfo *MJTI) { // Each MBB entry in the Jump table section has a relocation entry // against the current text section. for (unsigned mi = 0, me = MBBs.size(); mi != me; ++mi) { - unsigned MachineRelTy = TEW->getJumpTableMachineRelocationTy(); + unsigned MachineRelTy = TEW->getAbsoluteLabelMachineRelTy(); MachineRelocation MR = MachineRelocation::getBB(JTSection.size(), MachineRelTy, |