aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/compile-object-run.h
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2019-02-01 17:42:54 +0100
committerJohn Darrington <john@darrington.wattle.id.au>2019-02-01 18:08:08 +0100
commitc6f14c0d2ca4d68308f967c446277789047a980a (patch)
treec07f41f2cd76f9b11458e80f73568fca72a06b2c /gdb/compile/compile-object-run.h
parent91bae99160e9d81cfe340b937f9613d43dc90293 (diff)
downloadbinutils-c6f14c0d2ca4d68308f967c446277789047a980a.zip
binutils-c6f14c0d2ca4d68308f967c446277789047a980a.tar.gz
binutils-c6f14c0d2ca4d68308f967c446277789047a980a.tar.bz2
S12Z: GAS: Allow #_symbol operands as mov source
mov.l, mov.p and mov.w (but not mov.b) when called with an immediate source operand should be accepted a relocatable expression. This change makes that possible. 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.
Diffstat (limited to 'gdb/compile/compile-object-run.h')
0 files changed, 0 insertions, 0 deletions