diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
commit | babf11f249c7c6399c66f2567d4e7efa9c37a9c3 (patch) | |
tree | 816778a63435b4ba76dc9c06038b28739fcf38f1 /include/llvm/CodeGen/MachineRelocation.h | |
parent | 33540adca55b95a5fdbb0dc783ded319a90b4bc1 (diff) |
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineRelocation.h')
-rw-r--r-- | include/llvm/CodeGen/MachineRelocation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineRelocation.h b/include/llvm/CodeGen/MachineRelocation.h index fa23a4d1c4..775f6115b7 100644 --- a/include/llvm/CodeGen/MachineRelocation.h +++ b/include/llvm/CodeGen/MachineRelocation.h @@ -133,7 +133,7 @@ public: /// symbol, like "free". /// static MachineRelocation getExtSym(intptr_t offset, unsigned RelocationType, - const char *ES, intptr_t cst = 0, + const char *es, intptr_t cst = 0, bool GOTrelative = 0) { assert((RelocationType & ~63) == 0 && "Relocation type too large!"); MachineRelocation Result; @@ -143,7 +143,7 @@ public: Result.AddrType = isExtSym; Result.NeedStub = true; Result.GOTRelative = GOTrelative; - Result.Target.ExtSym = ES; + Result.Target.ExtSym = es; return Result; } |