diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2016-04-07 14:01:17 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2016-04-07 15:11:52 +0200 |
commit | e6ba1cbaf890ca2c7bd3383bdf5d5a8c367824a1 (patch) | |
tree | 1a9eb02930cfb30e45e86c7e722e5381ec03c3a2 /gas | |
parent | b607cde1aa3b1ff395a92790fbcdce18a22b059b (diff) | |
download | gdb-e6ba1cbaf890ca2c7bd3383bdf5d5a8c367824a1.zip gdb-e6ba1cbaf890ca2c7bd3383bdf5d5a8c367824a1.tar.gz gdb-e6ba1cbaf890ca2c7bd3383bdf5d5a8c367824a1.tar.bz2 |
[ARC] Prepare strings for automatic translation.
gas/
2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
* config/tc-arc.c (arc_option): Prepare string for automatic
translation.
(declare_register): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-arc.c | 10 |
2 files changed, 12 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index de996f6..9307b64 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +gas/ +2016-04-07 Claudiu Zissulescu <claziss@synopsys.com> + + * config/tc-arc.c (arc_option): Prepare string for automatic + translation. + (declare_register): Likewise. + 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com> * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE. diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 154e838..ea34645 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -732,14 +732,14 @@ arc_option (int ignore ATTRIBUTE_UNUSED) md_parse_option (OPTION_MCPU, "archs"); } else - as_fatal ("could not find the architecture"); + as_fatal (_("could not find the architecture")); if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) - as_fatal ("could not set architecture and machine"); + as_fatal (_("could not set architecture and machine")); } else if (arc_mach_type != mach) - as_warn ("Command-line value overrides \".cpu\" directive"); + as_warn (_("Command-line value overrides \".cpu\" directive")); restore_line_pointer (c); demand_empty_rest_of_line (); @@ -747,7 +747,7 @@ arc_option (int ignore ATTRIBUTE_UNUSED) bad_cpu: restore_line_pointer (c); - as_bad ("invalid identifier for \".cpu\""); + as_bad (_("invalid identifier for \".cpu\"")); ignore_rest_of_line (); } @@ -2111,7 +2111,7 @@ declare_register (const char *name, int number) err = hash_insert (arc_reg_hash, S_GET_NAME (regS), (void *) regS); if (err) - as_fatal ("Inserting \"%s\" into register table failed: %s", + as_fatal (_("Inserting \"%s\" into register table failed: %s"), name, err); } |