[PATCH] RISC-V: Allow ISA subsets to be disabled

Nick Clifton nickc@redhat.com
Fri Mar 31 09:23:00 GMT 2017


Hi Alex,

> It's a shame gcc and as are inconsistent in their argument handling in
> this way, at least on x86-64.

Agreed.

I had always thought that a later option overriding an earlier option was
standard behaviour, but when I checked the gcc documentation I could not
find any specific requirement for this.  I was quite surprised.  Personally
I think that gcc is wrong.  To my mind it is intuitive that a later option
would override an earlier one.  If it does not then the tool concerned, at
the very least, ought to issue a warning message that the later option is
being ignored.

So, in summary - I think that this is a gcc bug, not a binutils bug.

Cheers
  Nick
 



More information about the Binutils mailing list