* config/tc-arm.c (create_neon_reg_alias): Deal with case
sensitivity.
This commit is contained in:
parent
55b7ce7f0a
commit
15735687c6
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-08 Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* config/tc-arm.c (create_neon_reg_alias): Deal with case
|
||||
sensitivity.
|
||||
|
||||
2010-09-08 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/11973
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue