aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2024-12-04 08:40:34 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2024-12-04 08:40:34 -0500
commita0ac8fa55a4749979faa56a9e8bd389252edc89f (patch)
treefd629b9e955070f7f2a61df7b7699ec7477b1bd2 /gcc
parent1783b2030905567d1b89ccc5e674699619f159e5 (diff)
downloadgcc-a0ac8fa55a4749979faa56a9e8bd389252edc89f.zip
gcc-a0ac8fa55a4749979faa56a9e8bd389252edc89f.tar.gz
gcc-a0ac8fa55a4749979faa56a9e8bd389252edc89f.tar.bz2
arm: use quotes when referring to command-line options [PR90160]
gcc/ChangeLog: PR translation/90160 * config/arm/arm.cc (arm_option_check_internal): Use quotes in messages that refer to command-line options. Tweak wording. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arm/arm.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc
index 7f82fb9..4ee6fc9 100644
--- a/gcc/config/arm/arm.cc
+++ b/gcc/config/arm/arm.cc
@@ -3012,17 +3012,17 @@ arm_option_check_internal (struct gcc_options *opts)
/* We only support -mslow-flash-data on M-profile targets with
MOVT. */
if (target_slow_flash_data && (!TARGET_HAVE_MOVT || common_unsupported_modes))
- error ("%s only supports non-pic code on M-profile targets with the "
+ error ("%qs only supports non-pic code on M-profile targets with the "
"MOVT instruction", flag);
/* We only support -mpure-code on M-profile targets. */
if (target_pure_code && common_unsupported_modes)
- error ("%s only supports non-pic code on M-profile targets", flag);
+ error ("%qs only supports non-pic code on M-profile targets", flag);
/* Cannot load addresses: -mslow-flash-data forbids literal pool and
-mword-relocations forbids relocation of MOVT/MOVW. */
if (target_word_relocations)
- error ("%s incompatible with %<-mword-relocations%>", flag);
+ error ("%qs is incompatible with %<-mword-relocations%>", flag);
}
}