From 19d6c3db22c88adfdda98e84408363210050d464 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 17 Dec 2010 04:16:55 +0000 Subject: * 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). --- bfd/elf32-rx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/elf32-rx.c') diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index d7e15a0e52..ac587efcaa 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 } -- cgit v1.2.1