diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2010-09-08 17:49:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2010-09-08 17:49:21 +0000 |
commit | 15735687c6dc91414a2b38bd26208f933b10b17a (patch) | |
tree | 07047893b9d045048625061a8cdd4002c7236b59 /gas | |
parent | 55b7ce7f0a3432541c635f0ce10774a35f9684fb (diff) | |
download | gdb-15735687c6dc91414a2b38bd26208f933b10b17a.zip gdb-15735687c6dc91414a2b38bd26208f933b10b17a.tar.gz gdb-15735687c6dc91414a2b38bd26208f933b10b17a.tar.bz2 |
* config/tc-arm.c (create_neon_reg_alias): Deal with case
sensitivity.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 41c0383..fd79897 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b9d629b..87b2b85 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'; |