diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-21 23:13:26 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-07-21 23:13:26 +0000 |
commit | 82a70ccb24a09dd38ab8eaf55428880781fe9006 (patch) | |
tree | 0f82b9349af64d4ebb6e7f49a8955f6705a9889d /include | |
parent | 0f4b285a5b86b1e9c6e27bb46028dfbb77bb5db4 (diff) | |
download | external_llvm-82a70ccb24a09dd38ab8eaf55428880781fe9006.zip external_llvm-82a70ccb24a09dd38ab8eaf55428880781fe9006.tar.gz external_llvm-82a70ccb24a09dd38ab8eaf55428880781fe9006.tar.bz2 |
Change ELFCodeEmitter logic to emit the constant pool and jump tables to
their appropriate sections before the code itself. They need to be emitted
before the function because on some targets (x86 but not x86_64) the later
may reference a JT or CP entry address
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetELFWriterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetELFWriterInfo.h b/include/llvm/Target/TargetELFWriterInfo.h index ef3ca1c..37e903c 100644 --- a/include/llvm/Target/TargetELFWriterInfo.h +++ b/include/llvm/Target/TargetELFWriterInfo.h @@ -120,7 +120,7 @@ namespace llvm { virtual unsigned getAbsoluteLabelMachineRelTy() const = 0; /// computeRelocation - Some relocatable fields could be relocated - /// directly, avoiding the emission of a relocation symbol, compute the + /// directly, avoiding the relocation symbol emission, compute the /// final relocation value for this symbol. virtual long int computeRelocation(unsigned SymOffset, unsigned RelOffset, unsigned RelTy) const = 0; |