From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Clifton To: binutils@sourceware.cygnus.com Subject: Re: Proposed objcopy patch Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <199905142255.PAA24589@elmo.cygnus.com> X-SW-Source: 1999-q2/msg00040.html Hi DJ, : I'd use strncmp, not strstr, as you only want to check if "pei-" : appears at the *beginning* of the target name. Still not bulletproof, : but better. Except that it would miss the 'epoc-pei-arm-...' targets. Cheers Nick