diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-19 07:38:46 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-24 07:58:43 -0400 |
commit | eda6e9a4a274e5b9d551d6251e55c5d2e88af643 (patch) | |
tree | bb2d808940270e38a5f12bad5fb3bcd9fbb2bfb3 /gas | |
parent | dfa3faca36ccd86cf300f59b4f482c02e3e0518b (diff) | |
download | gdb-eda6e9a4a274e5b9d551d6251e55c5d2e88af643.zip gdb-eda6e9a4a274e5b9d551d6251e55c5d2e88af643.tar.gz gdb-eda6e9a4a274e5b9d551d6251e55c5d2e88af643.tar.bz2 |
localize string returned from visium's md_atof ()
I'm not sure the string it returns is particularly useful, or better than the
string returned by other atof implementations on failure, but given the others
return a localized string it seems like this one should too.
gas/ChangeLog:
2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-visium.c (md_atof): Localize the string returned on
failure.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-visium.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 78408b6..29ec3ec 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + + * config/tc-visium.c (md_atof): Localize the string returned on + failure. + 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-h8300.c (h8300_elf_section): Add const qualifiers. diff --git a/gas/config/tc-visium.c b/gas/config/tc-visium.c index 3758a35..f4e7c14 100644 --- a/gas/config/tc-visium.c +++ b/gas/config/tc-visium.c @@ -861,7 +861,7 @@ md_atof (int type, char *litP, int *sizeP) default: *sizeP = 0; - return "Bad call to MD_ATOF()"; + return _("Bad call to MD_ATOF()"); } t = atof_ieee (input_line_pointer, type, words); |