ld/configure.tgt says targ_emul=i386pe, which means you need to look in emulparams/i386pe.sh. This file has SCRIPT_NAME=pe, so the template is scripttempl/pe.sc. -- Alan Modra IBM OzLabs - Linux Technology Centre