Add support for %hi8, %hi16 and %lo16 being used when relocation are necessary.
authorNick Clifton <nickc@redhat.com>
Wed, 26 Mar 2014 16:34:04 +0000 (16:34 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Mar 2014 16:34:04 +0000 (16:34 +0000)
commitb3fe4307a625457c6953fce27bbbfc4c90e38e9d
tree06982b61ced311b4351ab415a3193e89bc015713
parent55bfc9ac025c1c9cd1ad5422829b3dc70f357a79
Add support for %hi8, %hi16 and %lo16 being used when relocation are necessary.

* config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
relocation is used on an 8-bit operand or vice versa.
(tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
(md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
gas/ChangeLog
gas/config/tc-rl78.c