Home | History | Annotate | Download | only in platform_StackProtector
      1 diff -rU 3 binutils-2.19/gas/config/tc-arm.c binutils-2.19-arm/gas/config/tc-arm.c
      2 --- binutils-2.19/gas/config/tc-arm.c	2008-08-13 09:39:30.000000000 +1000
      3 +++ binutils-2.19-arm/gas/config/tc-arm.c	2008-11-12 19:51:08.000000000 +1100
      4 @@ -3456,7 +3456,7 @@
      5  
      6        if (reg == FAIL)
      7  	{
      8 -	  as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR]));
      9 +	  as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
     10  	  goto error;
     11  	}
     12  
     13 @@ -3470,7 +3470,7 @@
     14  	  hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWR);
     15  	  if (hi_reg == FAIL)
     16  	    {
     17 -	      as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR]));
     18 +	      as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
     19  	      goto error;
     20  	    }
     21  	  else if (reg >= hi_reg)
     22 @@ -3588,7 +3588,7 @@
     23  
     24        if (reg == FAIL)
     25  	{
     26 -	  as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG]));
     27 +	  as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWCG]));
     28  	  goto error;
     29  	}
     30  
     31 @@ -3603,7 +3603,7 @@
     32  	  hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWCG);
     33  	  if (hi_reg == FAIL)
     34  	    {
     35 -	      as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG]));
     36 +	      as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWCG]));
     37  	      goto error;
     38  	    }
     39  	  else if (reg >= hi_reg)
     40 @@ -3709,7 +3709,7 @@
     41    reg = arm_reg_parse (&input_line_pointer, REG_TYPE_RN);
     42    if (reg == FAIL)
     43      {
     44 -      as_bad (_(reg_expected_msgs[REG_TYPE_RN]));
     45 +      as_bad ("%s", _(reg_expected_msgs[REG_TYPE_RN]));
     46        ignore_rest_of_line ();
     47        return;
     48      }
     49