This patch enables disassembler_needs_relocs for PRU. It is needed to print correct...
authorDimitar Dimitrov <dimitar@dinux.eu>
Wed, 13 Dec 2017 13:08:50 +0000 (13:08 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Dec 2017 13:09:59 +0000 (13:09 +0000)
commit024d185c10a48339ae06634d0738dd796a159cd8
tree0861482eadc0fa2a1109d6ca80a23cfab23cf106
parent10e7c0457cb7531f8b205e29e88b3e191cfa6037
This patch enables disassembler_needs_relocs for PRU. It is needed to print correct symbols when disassembling arguments of "call" instructions with a relocation.

opcodes * disassemble.c: Enable disassembler_needs_relocs for PRU.

gas * testsuite/gas/pru/extern.s: New test for print of U16_PMEMM
relocation.
* testsuite/gas/pru/extern.d: New test driver.
gas/ChangeLog
gas/testsuite/gas/pru/extern.d [new file with mode: 0644]
gas/testsuite/gas/pru/extern.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/disassemble.c