[PATCH 4/4] S12Z: GAS: Allow #_symbol operands as mov source

Nick Clifton nickc@redhat.com
Fri Feb 1 10:54:00 GMT 2019


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



More information about the Binutils mailing list