More H'00 support

Nick Clifton nickc@redhat.com
Mon Oct 13 14:12:00 GMT 2008


Hi Cecilia,

> However, I have observed a strange 
> behaviour while using this option. The assembler did not complain
> when '-h-tick-he' is used instead of '-h-tick-hex'. I further 
> checked that the assembler accepts the following other incorrect
> options without generating any error message,
> '-h-', '-h-t', '-h-tick-' etc. 

Actually this is the expected behaviour.  Any long command line option 
can be abbreviated to a shorter version, provided that it is 
unambiguous.  So for example "as --vers" will do the same thing as "as 
--version", but "as --ver" will be rejected because it could be 
shorthand for either "as --version" or "as --verbose".

Cheers
   Nick




More information about the Binutils mailing list