Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.280 -> 1.280.4.1 --- Log message: section support for CBE, may want to port this to head --- Diffs of the changes: (+2 -0) Writer.cpp | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/CBackend/Writer.cpp diff -u llvm/lib/Target/CBackend/Writer.cpp:1.280 llvm/lib/Target/CBackend/Writer.cpp:1.280.4.1 --- llvm/lib/Target/CBackend/Writer.cpp:1.280 Sun Nov 5 13:26:37 2006 +++ llvm/lib/Target/CBackend/Writer.cpp Tue Feb 20 12:21:25 2007 @@ -1273,6 +1273,8 @@ Out << " __attribute__((common))"; else if (I->hasWeakLinkage()) Out << " __ATTRIBUTE_WEAK__"; + if (I->hasSection()) + Out << " __attribute__ ((__section__ (\"" << I->getSection() << "\")))"; Out << ";\n"; } } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits