Add support for SADDR addressing to the RL78 port.
authorNick Clifton <nickc@redhat.com>
Tue, 30 Jun 2015 10:25:18 +0000 (11:25 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 30 Jun 2015 10:25:18 +0000 (11:25 +0100)
commit54f66250d79ec304ea427915bfd8b535ec249c3b
treed9911abb7db95ebca361a100e30bf5af9389bcd5
parent7b9be803fed8f500b512d5685773c84fffcdf63f
Add support for SADDR addressing to the RL78 port.

gas * config/rl78-parse.y: Tag all saddr expressions throughout.
(SET_SA): New.
(expr_is_saddr): Allow symbolic expressions.
* config/tc-rl78.c (md_apply_fix): Handle SADDR.

bfd * elf32-rl78.c (rl78_elf_howto_table): Add RH_SADDR.
        (rl78_reloc_map): Add R_RL78_RH_SADDR.
* reloc.c: Add BFD_RELOC_RL78_SADDR.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
bfd/bfd-in2.h
bfd/elf32-rl78.c
bfd/libbfd.h
bfd/reloc.c
gas/config/rl78-parse.y
gas/config/tc-rl78.c