[llvm-commits] [llvm] r74154 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Jun 24 18:15:49 PDT 2009
Author: lattner
Date: Wed Jun 24 20:15:47 2009
New Revision: 74154
URL: http://llvm.org/viewvc/llvm-project?rev=74154&view=rev
Log:
fix comments to be correct.
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp?rev=74154&r1=74153&r2=74154&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Wed Jun 24 20:15:47 2009
@@ -415,7 +415,7 @@
// call .piclabel
// piclabel:
// popl %some_register
- // addl $_GLOBAL_ADDRESS_TABLE_ + [.-piclabel], %some_register
+ // addl $__GLOBAL_OFFSET_TABLE_ + [.-piclabel], %some_register
O << " + [.-";
PrintPICBaseSymbol();
O << ']';
@@ -643,7 +643,7 @@
// call .piclabel
// piclabel:
// popl %some_register
- // addl $_GLOBAL_ADDRESS_TABLE_ + [.-piclabel], %some_register
+ // addl $__GLOBAL_OFFSET_TABLE_ + [.-piclabel], %some_register
O << " + [.-";
PrintPICBaseSymbol();
O << ']';
More information about the llvm-commits
mailing list