Index: lib/Object/COFFObjectFile.cpp
===================================================================
--- a/lib/Object/COFFObjectFile.cpp	(Revision 274558)
+++ b/lib/Object/COFFObjectFile.cpp	(Arbeitskopie)
@@ -217,6 +217,9 @@
   if (Symb.isExternal() || Symb.isWeakExternal())
     Result |= SymbolRef::SF_Global;
 
+  if (Symb.isExternal())
+    Result |= SymbolRef::SF_Exported;
+
   if (const coff_aux_weak_external *AWE = Symb.getWeakExternal()) {
     Result |= SymbolRef::SF_Weak;
     if (AWE->Characteristics != COFF::IMAGE_WEAK_EXTERN_SEARCH_ALIAS)
