This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 4/4] S12Z: GAS: Allow #_symbol operands as mov source
- From: Nick Clifton <nickc at redhat dot com>
- To: John Darrington <john at darrington dot wattle dot id dot au>, binutils at sourceware dot org
- Date: Fri, 1 Feb 2019 10:54:00 +0000
- Subject: Re: [PATCH 4/4] S12Z: GAS: Allow #_symbol operands as mov source
- References: <20190131180442.31410-1-john@darrington.wattle.id.au> <20190131180442.31410-4-john@darrington.wattle.id.au>
Hi John,
> gas/
> * config/tc-s12z.c (lex_imm): Add new argument exp_o.
> (emit_reloc): New function.
> (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
> can be either 2 bytes or 3 bytes long.
> * testsuite/gas/s12z/mov-imm-reloc.d: New file.
> * testsuite/gas/s12z/mov-imm-reloc.s: New file.
> * testsuite/gas/s12z/s12z.exp: Add them.
Approved - please apply.
Cheers
Nick