From 5517e3d643ee286ca2c68b1bacae810fce0d28cf Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 8 Sep 2010 17:49:19 +0000 Subject: [PATCH] * config/tc-arm.c (create_neon_reg_alias): Deal with case sensitivity. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 41c038371..fd7989743 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-09-08 Julian Brown + + * config/tc-arm.c (create_neon_reg_alias): Deal with case + sensitivity. + 2010-09-08 Nick Clifton PR gas/11973 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b9d629bbc..87b2b856e 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -2303,7 +2303,16 @@ create_neon_reg_alias (char *newname, char *p) } } + /* If TC_CASE_SENSITIVE is defined, then newname already points to + the desired alias name, and p points to its end. If not, then + the desired alias name is in the global original_case_string. */ +#ifdef TC_CASE_SENSITIVE namelen = nameend - newname; +#else + newname = original_case_string; + namelen = strlen (newname); +#endif + namebuf = (char *) alloca (namelen + 1); strncpy (namebuf, newname, namelen); namebuf[namelen] = '\0'; -- 2.11.4.GIT