diff options
author | Nick Clifton <nickc@redhat.com> | 2015-06-30 11:25:18 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-06-30 11:25:18 +0100 |
commit | 54f66250d79ec304ea427915bfd8b535ec249c3b (patch) | |
tree | d9911abb7db95ebca361a100e30bf5af9389bcd5 /bfd/libbfd.h | |
parent | 7b9be803fed8f500b512d5685773c84fffcdf63f (diff) | |
download | gdb-54f66250d79ec304ea427915bfd8b535ec249c3b.zip gdb-54f66250d79ec304ea427915bfd8b535ec249c3b.tar.gz gdb-54f66250d79ec304ea427915bfd8b535ec249c3b.tar.bz2 |
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.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 711f08f..cc19552 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -2114,6 +2114,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_RL78_HI8", "BFD_RELOC_RL78_LO16", "BFD_RELOC_RL78_CODE", + "BFD_RELOC_RL78_SADDR", "BFD_RELOC_RX_NEG8", "BFD_RELOC_RX_NEG16", "BFD_RELOC_RX_NEG24", |