diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-18 13:03:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-18 13:03:12 +0000 |
commit | b2f58c0c095f7f8f1d8c2d2368d58bf2815a1084 (patch) | |
tree | 9aecc9b4554704aba90771ba995cbddf0c57e545 /gas/config/tc-m68k.c | |
parent | 5f4273c75a6fae3006d151613d9c6486fa721850 (diff) | |
download | gdb-b2f58c0c095f7f8f1d8c2d2368d58bf2815a1084.zip gdb-b2f58c0c095f7f8f1d8c2d2368d58bf2815a1084.tar.gz gdb-b2f58c0c095f7f8f1d8c2d2368d58bf2815a1084.tar.bz2 |
PR gas/5172
* config/tc-arc.c (md_estimate_size_before_relax): Change error message.
(md_convert_frag): Just call abort.
* config/tc-i860.c (md_estimate_size_before_relax): Change error message.
* config/tc-i860.h (md_convert_frag): Just call abort.
* config/tc-ip2k.c (md_estimate_size_before_relax): Change error message.
(md_convert_frag): Just call abort.
* config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r-- | gas/config/tc-m68k.c | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 11a86b9..9d422c7 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -2178,7 +2178,7 @@ m68k_ip (char *instring) the_ins.error = buf; /* Make sure there's a NUL at the end of the buffer -- strncpy - won't write one when it runs out of buffer */ + won't write one when it runs out of buffer. */ buf[space] = 0; #define APPEND(STRING) \ (strncpy (buf, STRING, space), len = strlen (buf), buf += len, space -= len) @@ -2187,37 +2187,41 @@ m68k_ip (char *instring) switch (ok_arch) { case mcfisa_a: - APPEND (_("ColdFire ISA_A")); + APPEND ("ColdFire ISA_A"); break; case mcfhwdiv: - APPEND (_("ColdFire hardware divide")); + APPEND ("ColdFire "); + APPEND (_("hardware divide")); break; case mcfisa_aa: - APPEND (_("ColdFire ISA_A+")); + APPEND ("ColdFire ISA_A+"); break; case mcfisa_b: - APPEND (_("ColdFire ISA_B")); + APPEND ("ColdFire ISA_B"); break; case mcfisa_c: - APPEND (_("ColdFire ISA_C")); + APPEND ("ColdFire ISA_C"); break; case cfloat: - APPEND (_("ColdFire fpu")); + APPEND ("ColdFire fpu"); break; case mfloat: - APPEND (_("M68K fpu")); + APPEND ("M68K fpu"); break; case mmmu: - APPEND (_("M68K mmu")); + APPEND ("M68K mmu"); break; case m68020up: - APPEND (_("68020 or higher")); + APPEND ("68020 "); + APPEND (_("or higher")); break; case m68000up: - APPEND (_("68000 or higher")); + APPEND ("68000 "); + APPEND (_("or higher")); break; case m68010up: - APPEND (_("68010 or higher")); + APPEND ("68010 "); + APPEND (_("or higher")); break; default: paren = 0; @@ -2261,7 +2265,7 @@ m68k_ip (char *instring) #undef APPEND if (!space) { - /* we ran out of space, so replace the end of the list + /* We ran out of space, so replace the end of the list with ellipsis. */ buf -= 4; while (*buf != ' ') |