This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [PRU]: Fix disassembly text for instructions with reloc


Nick Clifton wrote:

> > Could someone commit it? I don't have commit rights.
> 
> Done.

Looks like this was added at an incorrect location, breaking
PowerPC disassembly (the bfd_arch_powerpc case no longer falls
through to the bfd_arch_rs6000 case):

diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 11206c6..fa9a765 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -654,6 +654,11 @@ disassemble_init_for_target (struct disassemble_info * info)
 #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


Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]