Fix a few more targets affected by the change to the TC_CONS_FIX_NEW macro.
* 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.
This commit is contained in:
parent
15a9128a96
commit
00c06fdc57
5 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
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):
|
||||
|
|
|
@ -114,7 +114,7 @@ void aarch64_copy_symbol_attributes (symbolS *, symbolS *);
|
|||
|| (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
|
||||
|
|
|
@ -67,7 +67,7 @@ extern long md_pcrel_from_section (struct fix *, segT);
|
|||
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 *);
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
/* 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);
|
||||
|
|
|
@ -4412,7 +4412,7 @@ emit_expr_with_reloc (expressionS *exp,
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue