This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [MT patch]: lowercase architecture names


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


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