Fix relaxation in RX linker when --no-keep-memory is specified.
authorNick Clifton <nickc@redhat.com>
Mon, 7 Dec 2015 14:43:47 +0000 (14:43 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Dec 2015 14:43:47 +0000 (14:43 +0000)
commit5ee4a06adea76e607f47eceff65c6bd4a98c49ff
treee78fa3d9931b461b2ffd30b17fdbb0733f582b4d
parentd72413e64a3444868e72e315ba2ceaf5a9d2bf6f
Fix relaxation in RX linker when --no-keep-memory is specified.

* elf32-rx.c (elf32_rx_relax_delete_bytes): Add extra parameter -
the start of the relocs for the section.  Delete code to load in
the relocs.
(elf32_rx_relax_section): Do not free the loaded relocs.
bfd/elf32-rx.c