This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Revised patch for IA64 -mb-step option
Jim Wilson <wilson@specifixinc.com> writes:
> On Tue, 2004-04-13 at 17:54, Zack Weinberg wrote:
>> not helping anything. The new behavior is to silently ignore all
>> unrecognized -m options, and complain about all other unrecognized
>> options,
>
> I looked at all gas target ports, and I see none that do this. I
> understand why you want to do this, to avoid gcc/gas synchronization
> problems, but this does not appear to be the right solution. It appears
> to violate established gas conventions. It also may result in silent
> problems with gcc/gas option passing if gas silently ignores options it
> doesn't understand. The existing convention seems to be to require
> people to update gas in sync with gcc if they want to use new options.
> This can be inconvenient at times, but does seem to be workable.
Ok. I will change this in the next revision of the patch.
> Having just looked at all gas ports, I would say the convention is that
> md_parse_option must call as_bad (or as_warn) for unrecognized options
> before returning 0.
>
> For IA-64, it is simpler to just take m out of md_shortops, as you have
> done all of the work of moving everything else to md_longopts.
Indeed, that is the only reason why m is in md_shortops.
zw