Changes in directory llvm/lib/Target/Sparc:
SparcAsmPrinter.cpp updated: 1.68 -> 1.69 --- Log message: Adding dllimport, dllexport and external weak linkage types. DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. --- Diffs of the changes: (+8 -0) SparcAsmPrinter.cpp | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp diff -u llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.68 llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.69 --- llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.68 Thu Sep 7 17:06:40 2006 +++ llvm/lib/Target/Sparc/SparcAsmPrinter.cpp Thu Sep 14 13:23:27 2006 @@ -271,6 +271,14 @@ case GlobalValue::GhostLinkage: std::cerr << "Should not have any unmaterialized functions!\n"; abort(); + case GlobalValue::DLLImportLinkage: + std::cerr << "DLLImport linkage is not supported by this target!\n"; + abort(); + case GlobalValue::DLLExportLinkage: + std::cerr << "DLLExport linkage is not supported by this target!\n"; + abort(); + default: + assert(0 && "Unknown linkage type!"); } O << "\t.align " << Align << "\n"; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits