* config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
* config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
* config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
* read.c (emit_expr_fix): Mark the r parameter as potentially
unused.
+2014-04-09 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
+ * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
+ * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
+ * read.c (emit_expr_fix): Mark the r parameter as potentially
+ unused.
+
2014-04-09 Alan Modra <amodra@gmail.com>
* config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
|| (FIX)->fx_r_type == BFD_RELOC_32 \
|| TC_FORCE_RELOCATION (FIX))
-#define TC_CONS_FIX_NEW cons_fix_new_aarch64
+#define TC_CONS_FIX_NEW(f,w,s,e,r) cons_fix_new_aarch64 ((f), (w), (s), (e))
/* Max code alignment is 32 bytes */
#define MAX_MEM_FOR_RS_ALIGN_CODE 31
rl78_validate_fix_sub (FIX)
extern int rl78_validate_fix_sub (struct fix *);
-#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP) \
+#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP, RET) \
rl78_cons_fix_new (FRAG, WHERE, NBYTES, EXP)
extern void rl78_cons_fix_new (fragS *, int, int, expressionS *);
/* Define some functions to be called by generic code. */
#define md_end z80_md_end
#define md_start_line_hook() { if (z80_start_line_hook ()) continue; }
-#define TC_CONS_FIX_NEW z80_cons_fix_new
+#define TC_CONS_FIX_NEW(f,w,s,e,r) z80_cons_fix_new ((f), (w), (s), (e))
extern void z80_md_end (void);
extern int z80_start_line_hook (void);
void
emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p,
- TC_PARSE_CONS_RETURN_TYPE r)
+ TC_PARSE_CONS_RETURN_TYPE r ATTRIBUTE_UNUSED)
{
int offset = 0;
unsigned int size = nbytes;