[MT patch]: lowercase architecture names

Nathan Sidwell nathan@codesourcery.com
Tue Dec 27 17:12:00 GMT 2005


Nick Clifton wrote:
> Hi Nathan,
> 
>> This patch changes the mt assembler to only accept lowercase 
>> architecture names, in line with existing practice.  GCC's multilib 
>> support forced lower case names and now gcc itself is case sensitive.  
>> The patch also changes the default to ms1-16-002, which is the same as 
>> gcc's default.
> 
> 
> Is this really of any benefit ?  Is there some intention to have 
> uppercase variants of the name mean something different ?

No, there's no intention for upper case to mean something different.  The thing 
is, uppercase does not work -- the new multilib machinery expects the 
architectures to be lower case.  The existing port also only worked with 
exclusively upper case or lower case rather than the mixed case which strcasecmp 
will accept.  Being stricter is an attempt to head off confusing errors.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Binutils mailing list