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.
+2017-12-13 Dimitar Dimitrov <dimitar@dinux.eu>
+
+ * testsuite/gas/pru/extern.s: New test for print of U16_PMEMM
+ relocation.
+ * testsuite/gas/pru/extern.d: New test driver.
+
2017-12-12 Alan Modra <amodra@gmail.com>
PR 21118
--- /dev/null
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: PRU extern function call dump
+
+# Test dumping of U16_PMEMIMM relocation
+
+.*: +file format elf32-pru
+
+Disassembly of section .text:
+0+0000 <[^>]*> 230000c3 call 00000000 <myextfunc>
+[\t ]*0: R_PRU_U16_PMEMIMM[\t ]*myextfunc
--- /dev/null
+# Source file used to test text dump of U16_PMEMIMM relocation
+
+ .extern myextfunc
+foo:
+ call myextfunc
+2017-12-13 Dimitar Dimitrov <dimitar@dinux.eu>
+
+ * disassemble.c: Enable disassembler_needs_relocs for PRU.
+
2017-12-11 Petr Pavlu <petr.pavlu@arm.com>
Renlin Li <renlin.li@arm.com>
#ifdef ARCH_powerpc
case bfd_arch_powerpc:
#endif
+#ifdef ARCH_pru
+ case bfd_arch_pru:
+ info->disassembler_needs_relocs = TRUE;
+ break;
+#endif
#ifdef ARCH_rs6000
case bfd_arch_rs6000:
#endif