diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-01 19:23:58 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-01 19:23:58 +0000 |
commit | 20e1fcfd316129586e78b67d2d7c963d7d50c852 (patch) | |
tree | c5ccd91add6c5be10f3177c00f23b8135045e551 /gas/config/tc-mips.c | |
parent | 1887dd22725d56a7445a01a8c6f55fd831b23a78 (diff) | |
download | fsf-binutils-gdb-20e1fcfd316129586e78b67d2d7c963d7d50c852.zip fsf-binutils-gdb-20e1fcfd316129586e78b67d2d7c963d7d50c852.tar.gz fsf-binutils-gdb-20e1fcfd316129586e78b67d2d7c963d7d50c852.tar.bz2 |
gas/:
* config/tc-mips.c (load_register): Add leading "0x" to the
output of sprintf_vma().
(macro): Likewise.
gas/testsuite/:
* gas/mips/ldstla-32-1.l: Update to handle leading zeroes.
* gas/mips/ldstla-32-mips3-1.l: Likewise.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 9eae5e3..fb256e4 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -3558,7 +3558,7 @@ load_register (int reg, expressionS *ep, int dbl) char value[32]; sprintf_vma (value, ep->X_add_number); - as_bad (_("Number (%s) larger than 32 bits"), value); + as_bad (_("Number (0x%s) larger than 32 bits"), value); macro_build (ep, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16); return; } @@ -5805,7 +5805,7 @@ macro (struct mips_cl_insn *ip) char value [32]; sprintf_vma (value, offset_expr.X_add_number); - as_bad (_("Number (%s) larger than 32 bits"), value); + as_bad (_("Number (0x%s) larger than 32 bits"), value); } /* A constant expression in PIC code can be handled just as it @@ -6399,7 +6399,7 @@ macro (struct mips_cl_insn *ip) char value [32]; sprintf_vma (value, offset_expr.X_add_number); - as_bad (_("Number (%s) larger than 32 bits"), value); + as_bad (_("Number (0x%s) larger than 32 bits"), value); } /* Even on a big endian machine $fn comes before $fn+1. We have |