aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-rx.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-12-17 04:17:00 +0000
committerDJ Delorie <dj@redhat.com>2010-12-17 04:17:00 +0000
commite8ef21bff548e7b307b7079d349f42187914d4b1 (patch)
treeaab0bbebed6f76d1435f4dbc834152fd1b199ff8 /bfd/elf32-rx.c
parentaeacb1880cc80f8d599ed11c09067b324f4926ca (diff)
downloadgdb-e8ef21bff548e7b307b7079d349f42187914d4b1.zip
gdb-e8ef21bff548e7b307b7079d349f42187914d4b1.tar.gz
gdb-e8ef21bff548e7b307b7079d349f42187914d4b1.tar.bz2
* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.
(BFD_RELOC_RX_ABS32_REV): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-rx.c (rx_reloc_map): Add them. * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more cases. (tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).
Diffstat (limited to 'bfd/elf32-rx.c')
-rw-r--r--bfd/elf32-rx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index d7e15a0..ac587ef 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -250,7 +250,9 @@ static const struct rx_reloc_map rx_reloc_map [] =
{ BFD_RELOC_RX_OP_SUBTRACT, R_RX_OPsub },
{ BFD_RELOC_RX_ABS8, R_RX_ABS8 },
{ BFD_RELOC_RX_ABS16, R_RX_ABS16 },
+ { BFD_RELOC_RX_ABS16_REV, R_RX_ABS16_REV },
{ BFD_RELOC_RX_ABS32, R_RX_ABS32 },
+ { BFD_RELOC_RX_ABS32_REV, R_RX_ABS32_REV },
{ BFD_RELOC_RX_ABS16UL, R_RX_ABS16UL },
{ BFD_RELOC_RX_ABS16UW, R_RX_ABS16UW },
{ BFD_RELOC_RX_ABS16U, R_RX_ABS16U }