From 82a70ccb24a09dd38ab8eaf55428880781fe9006 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Tue, 21 Jul 2009 23:13:26 +0000 Subject: 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 --- include/llvm/Target/TargetELFWriterInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.1