diff options
author | Nick Clifton <nickc@redhat.com> | 2008-11-14 09:02:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-11-14 09:02:38 +0000 |
commit | 9b7132d30da9aa3d9760cc7c9c45245f69292c19 (patch) | |
tree | 7557e897ca2216578ff1c98bb15cbcf1e0abd15a | |
parent | 2580417f09953db3ceb3fd3f50b7d49994bcefeb (diff) | |
download | gdb-9b7132d30da9aa3d9760cc7c9c45245f69292c19.zip gdb-9b7132d30da9aa3d9760cc7c9c45245f69292c19.tar.gz gdb-9b7132d30da9aa3d9760cc7c9c45245f69292c19.tar.bz2 |
PR 7026
* config/tc-arm.c: Ensure that all uses of as_bad have a
formatting string.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 17cffcf..1ab7773 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2008-11-14 Peter Jansen <pwjansen@yahoo.com> + + PR 7026 + * config/tc-arm.c: Ensure that all uses of as_bad have a + formatting string. + 2008-11-12 Hans-Peter Nilsson <hp@axis.com> * config/tc-cris.c (cris_number_to_imm): Except for diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 0d3fe7b..325aade 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -3456,7 +3456,7 @@ s_arm_unwind_save_mmxwr (void) if (reg == FAIL) { - as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR])); + as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR])); goto error; } @@ -3470,7 +3470,7 @@ s_arm_unwind_save_mmxwr (void) hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWR); if (hi_reg == FAIL) { - as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR])); + as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR])); goto error; } else if (reg >= hi_reg) @@ -3588,7 +3588,7 @@ s_arm_unwind_save_mmxwcg (void) if (reg == FAIL) { - as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG])); + as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWCG])); goto error; } @@ -3603,7 +3603,7 @@ s_arm_unwind_save_mmxwcg (void) hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWCG); if (hi_reg == FAIL) { - as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG])); + as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWCG])); goto error; } else if (reg >= hi_reg) @@ -3709,7 +3709,7 @@ s_arm_unwind_movsp (int ignored ATTRIBUTE_UNUSED) reg = arm_reg_parse (&input_line_pointer, REG_TYPE_RN); if (reg == FAIL) { - as_bad (_(reg_expected_msgs[REG_TYPE_RN])); + as_bad ("%s", _(reg_expected_msgs[REG_TYPE_RN])); ignore_rest_of_line (); return; } |