http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-23 17:10:38 UTC --- > maybe this is getting complex enough to warrant a spec of its own? (and then > we > could avoid cloning it) Why would you want to clone that? LINK_PLUGIN_SPEC is defined in gcc.c before it is used in LINK_COMMAND_SPEC, irrespective if the latter is from gcc itself or from target headers. Just use it as is. The fact that Darwin uses a clone of LINK_COMMAND_SPEC instead of having hooks in the generic one to to its stuff is a mistake, IMO. Rainer