mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* 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).
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user