Loading...
src/ImageLoader.cpp dyld-353.2.3 dyld-360.17
--- dyld/dyld-353.2.3/src/ImageLoader.cpp
+++ dyld/dyld-360.17/src/ImageLoader.cpp
@@ -883,11 +883,10 @@
 						}
 					}
 				}
-				if ( context.verboseWeakBind )
-					dyld::log("dyld: weak binding all uses of %s to copy from %s\n", nameToCoalesce, targetImage->getShortName());
-				
 				// tell each to bind to this symbol (unless already bound)
 				if ( targetAddr != 0 ) {
+					if ( context.verboseWeakBind )
+						dyld::log("dyld: weak binding all uses of %s to copy from %s\n", nameToCoalesce, targetImage->getShortName());
 					for(int i=0; i < count; ++i) {
 						if ( strcmp(iterators[i].symbolName, nameToCoalesce) == 0 ) {
 							if ( context.verboseWeakBind )