aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-07-21 23:50:34 +0000
committerDoug Evans <dje@google.com>1998-07-21 23:50:34 +0000
commitb817384cca766906892a3d883ea9614071ee8e71 (patch)
tree52833a2f837b558e188a2da37e8a319f49f027f5
parentb00ea55caf2a3e160e549bc641422da0c6f75adb (diff)
downloadgdb-b817384cca766906892a3d883ea9614071ee8e71.zip
gdb-b817384cca766906892a3d883ea9614071ee8e71.tar.gz
gdb-b817384cca766906892a3d883ea9614071ee8e71.tar.bz2
* cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
Update call to insert_operand.
-rw-r--r--gas/ChangeLog12
-rw-r--r--gas/cgen.c12
2 files changed, 18 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 407fa17..e15e804 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,15 @@
+Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
+ Update call to insert_operand.
+
+start-sanitize-am33
+Tue Jul 21 10:58:47 1998 Jeffrey A Law (law@cygnus.com)
+
+ * config/tc-mn10300.c (md_assemble): Handle autoincrement addressing
+ modes.
+
+end-sanitize-am33
Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
* config/tc-m32r.c (ms_show_usage): Formatting changes.
diff --git a/gas/cgen.c b/gas/cgen.c
index 2c3cbf1..45d0fe0 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -323,9 +323,7 @@ cgen_md_operand (expressionP)
LENGTH is the size of the insn in bits.
RELAX_P is non-zero if relaxable insns should be emitted as such.
Otherwise they're emitted in non-relaxable forms.
- The "result" is stored in RESULT if non-NULL.
- Returns the address of the buffer containing the assembled instruction,
- in case the caller needs to modify it for some reason. */
+ The "result" is stored in RESULT if non-NULL. */
void
cgen_asm_finish_insn (insn, buf, length, relax_p, result)
@@ -549,10 +547,12 @@ cgen_md_apply_fix3 (fixP, valueP, seg)
|| fixP->fx_pcrel)
{
CGEN_FIELDS_BITSIZE (& fields) = CGEN_INSN_BITSIZE (insn);
- CGEN_SYM (set_operand) (opindex, & value, & fields);
- errmsg = CGEN_SYM (insert_operand) (opindex, & fields, where);
+ CGEN_SYM (set_vma_operand) (opindex, & fields, (bfd_vma) value);
+ /* ??? 0 is passed for `pc' */
+ errmsg = CGEN_SYM (insert_operand) (opindex, & fields, where,
+ (bfd_vma) 0);
if (errmsg)
- as_warn_where (fixP->fx_file, fixP->fx_line, "%s\n", errmsg);
+ as_warn_where (fixP->fx_file, fixP->fx_line, "%s", errmsg);
}
if (fixP->fx_done)