This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Proposed objcopy patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]