this->hasWeakExternalSymbols = true;
if ( _options.warnWeakExports() )
warning("weak external symbol: %s", atom->name());
+ else if ( _options.noWeakExports() )
+ throwf("weak external symbol: %s", atom->name());
}
}
sect->size = offset;
// sort final sections
state.sortSections();
+ options.writeDependencyInfo();
+
// write output file
statistics.startOutput = mach_absolute_time();
ld::tool::OutputFile out(options);