summaryrefslogtreecommitdiff
path: root/bfd/elf32-rx.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2011-01-05 22:04:07 +0000
committerDJ Delorie <dj@delorie.com>2011-01-05 22:04:07 +0000
commitd32587ed02bf3b158cbaec538145c6ec0abbd85a (patch)
treeb73775e0b2ff50a5975dcc554026b9ec2bdbaaba /bfd/elf32-rx.c
parent6e9c28d7269cec83e0603628b541f3b6cb878ca1 (diff)
downloadbinutils-redhat-d32587ed02bf3b158cbaec538145c6ec0abbd85a.tar.gz
* reloc.c: Add BFD_RELOC_RX_OP_NEG.
* libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression instead of an RH_NEG32 one.
Diffstat (limited to 'bfd/elf32-rx.c')
-rw-r--r--bfd/elf32-rx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index ac587efcaa..7855d5ed14 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -248,6 +248,7 @@ static const struct rx_reloc_map rx_reloc_map [] =
{ BFD_RELOC_RX_RELAX, R_RX_RH_RELAX },
{ BFD_RELOC_RX_SYM, R_RX_SYM },
{ BFD_RELOC_RX_OP_SUBTRACT, R_RX_OPsub },
+ { BFD_RELOC_RX_OP_NEG, R_RX_OPneg },
{ BFD_RELOC_RX_ABS8, R_RX_ABS8 },
{ BFD_RELOC_RX_ABS16, R_RX_ABS16 },
{ BFD_RELOC_RX_ABS16_REV, R_RX_ABS16_REV },