Displaying 1 result from an estimated 1 matches for "linkfromsrc".
2007 May 25
0
[LLVMdev] Linking two external linkage GlobalValues
Hi,
I've been able to link ioquake, but not without a small modification
to lib/Linker/LinkModules.cpp:427 where I had to add:
} else if (Dest->hasExternalLinkage() && Src->hasExternalLinkage()){
LinkFromSrc = true;//overwrite old value
LT = Src->getLinkage();//use src linkage
The reason is that two files both had a global function pointer
variable (due to #include's):
void ( *alEnable)( ALenum capability );
which got translated to:
@alEnable = globale void (i32)* null
Linking thes...