]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorRoland McGrath <roland@gnu.org>
Tue, 20 Nov 2012 17:58:31 +0000 (17:58 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 20 Nov 2012 17:58:31 +0000 (17:58 +0000)
* config/tc-arm.c (arm_symbol_chars): New variable.
* config/tc-arm.h (tc_symbol_chars): New macro, defined to that.

gas/testsuite/
* gas/arm/macro-pld.s: New file.
* gas/arm/macro-pld.d: New file.

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

index 8a950ec0680f99f04ef8cce86025e8279823d0ff..f4f834d85223c3eb8c8881630b95e513d4e6b43f 100644 (file)
@@ -9,6 +9,11 @@
        * config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the
        local variable "ret".
 
+2012-11-20  Roland McGrath  <mcgrathr@google.com>
+
+       * config/tc-arm.c (arm_symbol_chars): New variable.
+       * config/tc-arm.h (tc_symbol_chars): New macro, defined to that.
+
 2012-11-07  James Murray <jsm@jsm-net.demon.co.uk>
 
        * config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
index 91b29ac3c2f20d9943405121b6c251514866a0c6..5bf7d890641c4b39f8ffcc78c68fd473b136da4e 100644 (file)
@@ -321,6 +321,11 @@ static int implicit_it_mode = IMPLICIT_IT_MODE_ARM;
 
 static bfd_boolean unified_syntax = FALSE;
 
+/* An immediate operand can start with #, and ld*, st*, pld operands
+   can contain [ and ].  We need to tell APP not to elide whitespace
+   before a [, which can appear as the first operand for pld.  */
+const char arm_symbol_chars[] = "#[]";
+
 enum neon_el_type
 {
   NT_invtype,
@@ -10225,7 +10230,7 @@ do_t_branch (void)
 }
 
 /* Actually do the work for Thumb state bkpt and hlt.  The only difference
-   between the two is the maximum immediate allowed - which is passed in 
+   between the two is the maximum immediate allowed - which is passed in
    RANGE.  */
 static void
 do_t_bkpt_hlt1 (int range)
@@ -14660,7 +14665,7 @@ do_vfp_nsyn_cvtz (void)
 }
 
 static void
-do_vfp_nsyn_cvt_fpv8 (enum neon_cvt_flavour flavour, 
+do_vfp_nsyn_cvt_fpv8 (enum neon_cvt_flavour flavour,
                      enum neon_cvt_mode mode)
 {
   int sz, op;
@@ -14720,9 +14725,9 @@ do_neon_cvt_1 (enum neon_cvt_mode mode)
   /* PR11109: Handle round-to-zero for VCVT conversions.  */
   if (mode == neon_cvt_mode_z
       && ARM_CPU_HAS_FEATURE (cpu_variant, fpu_arch_vfp_v2)
-      && (flavour == neon_cvt_flavour_s32_f32 
-         || flavour == neon_cvt_flavour_u32_f32 
-         || flavour == neon_cvt_flavour_s32_f64 
+      && (flavour == neon_cvt_flavour_s32_f32
+         || flavour == neon_cvt_flavour_u32_f32
+         || flavour == neon_cvt_flavour_s32_f64
          || flavour == neon_cvt_flavour_u32_f64)
       && (rs == NS_FD || rs == NS_FF))
     {
index da6469cc311a5a79670525468a219e413783cdb6..3a0fab030aa19220880ebe88fa07884724b6ebd7 100644 (file)
@@ -82,6 +82,9 @@ struct fix;
 /* We support double slash line-comments for compatibility with the ARM AArch64 Assembler.  */
 #define DOUBLESLASH_LINE_COMMENTS
 
+#define tc_symbol_chars arm_symbol_chars
+extern const char arm_symbol_chars[];
+
 #define TC_FORCE_RELOCATION(FIX) arm_force_relocation (FIX)
 
 extern unsigned int arm_frag_max_var (struct frag *);
index 5bc1c32dd0d243803d49e2fbb4d7a40962702fa4..09d654ea184faab87df5ab26707e067ce4c0ed58 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-20  Roland McGrath  <mcgrathr@google.com>
+
+       * gas/arm/macro-pld.s: New file.
+       * gas/arm/macro-pld.d: New file.
+
 2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>
 
        * gas/i386/i386.exp: Run bdver3 test cases.