[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 26 14:12:21 PDT 2006



Changes in directory llvm/lib/Target:

TargetMachine.cpp updated: 1.49 -> 1.50
---
Log message:

Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.


---
Diffs of the changes:  (+1 -1)

 TargetMachine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.49 llvm/lib/Target/TargetMachine.cpp:1.50
--- llvm/lib/Target/TargetMachine.cpp:1.49	Wed Jul  5 20:53:35 2006
+++ llvm/lib/Target/TargetMachine.cpp	Wed Jul 26 16:12:04 2006
@@ -66,7 +66,7 @@
                  "Target default relocation model"),
       clEnumValN(Reloc::Static, "static",
                  "Non-relocatable code"),
-      clEnumValN(Reloc::PIC, "pic",
+      clEnumValN(Reloc::PIC_, "pic",
                  "Fully relocatable, position independent code"),
       clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",
                  "Relocatable external references, non-relocatable code"),






More information about the llvm-commits mailing list