* config/tc-arm.c (create_neon_reg_alias): Deal with case
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Sep 2010 17:49:21 +0000 (17:49 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Sep 2010 17:49:21 +0000 (17:49 +0000)
sensitivity.

gas/ChangeLog
gas/config/tc-arm.c

index 41c038371a08e09b9e506a060eb3b3587154ab52..fd7989743b6caa38f7db3d47ce72d55ad42e78e4 100644 (file)
@@ -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
index b9d629bbc465a3a80ab3228d18f99fc657bd7a01..87b2b856e3c1e4af983a39fc9b592acd0a38ddd8 100644 (file)
@@ -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';
This page took 0.037757 seconds and 4 git commands to generate.