Add a more instructive error message on bad syntax
This commit is contained in:
parent
6c6fb00d71
commit
b1ffc25745
|
@ -1,3 +1,8 @@
|
||||||
|
2002-01-17 Timothy Wall <twall@alum.mit.edu>
|
||||||
|
|
||||||
|
* config/tc-tic54x.c (encode_address): Add a more informative
|
||||||
|
warning about incorrect syntax.
|
||||||
|
|
||||||
2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
|
2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
* po/gas.pot: Regenerate.
|
* po/gas.pot: Regenerate.
|
||||||
|
|
|
@ -3654,6 +3654,9 @@ encode_address (insn, operand)
|
||||||
insn->opcode[0].word |= (operand->exp.X_add_number & 0x7F);
|
insn->opcode[0].word |= (operand->exp.X_add_number & 0x7F);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (operand->exp.X_op == O_register) {
|
||||||
|
as_bad(_("Use the .mmregs directive to use memory-mapped register names such as '%s'"), operand->buf);
|
||||||
|
}
|
||||||
/* Do the fixup later; just store the expression. */
|
/* Do the fixup later; just store the expression. */
|
||||||
insn->opcode[0].r_nchars = 1;
|
insn->opcode[0].r_nchars = 1;
|
||||||
insn->opcode[0].r_type = BFD_RELOC_TIC54X_PARTLS7;
|
insn->opcode[0].r_type = BFD_RELOC_TIC54X_PARTLS7;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2002-01-17 Timothy Wall <twall@oculustech.com>
|
||||||
|
|
||||||
|
* gas/tic54x/labels.s (after_macro): Correct comments.
|
||||||
|
|
||||||
2002-01-15 Richard Earnshaw <rearnsha@arm.com>
|
2002-01-15 Richard Earnshaw <rearnsha@arm.com>
|
||||||
|
|
||||||
* gas/arm/vfp1.s gas/arm/vf1.d: New files.
|
* gas/arm/vfp1.s gas/arm/vf1.d: New files.
|
||||||
|
|
|
@ -38,7 +38,7 @@ lab? add #4,a ; line 31?
|
||||||
* This reference should resolve to definition #3
|
* This reference should resolve to definition #3
|
||||||
after_macro:
|
after_macro:
|
||||||
b lab?
|
b lab?
|
||||||
* Section change clears all definitions; TI defaults to CODE section w/o name
|
* Section change clears all definitions; it's a CODE section if we see insns
|
||||||
.sect new_section
|
.sect new_section
|
||||||
nop
|
nop
|
||||||
lab? add #5,a
|
lab? add #5,a
|
||||||
|
|
Loading…
Reference in New Issue