diff options
author | DJ Delorie <dj@delorie.com> | 2013-02-27 21:39:17 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2013-02-27 21:39:17 +0000 |
commit | 895ec49267496520cfc21b8c3e1affc7564cfcd9 (patch) | |
tree | 116efcdcc20d7bbf7396155f8338ddd2816fc7d7 /bfd/reloc.c | |
parent | db3aa69624c06f72317dc27c4658d43f56b5513b (diff) | |
download | binutils-redhat-895ec49267496520cfc21b8c3e1affc7564cfcd9.tar.gz |
* reloc.c (BFD_RELOC_RL78_CODE): Add.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-rl78.c (rl78_elf_relocate_section): Handle weak code
references in compuated relocs.
* config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
(rl78_op): Handle %code().
(rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
(tc_gen_reloc): Likwise; convert to a computed reloc.
(md_apply_fix): Likewise.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index 626c818b09..b59ca00e97 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -4560,6 +4560,8 @@ ENUMX BFD_RELOC_RL78_HI8 ENUMX BFD_RELOC_RL78_LO16 +ENUMX + BFD_RELOC_RL78_CODE ENUMDOC Renesas RL78 Relocations. |