[PATCH] [PRU]: Fix disassembly text for instructions with reloc
Ulrich Weigand
uweigand@de.ibm.com
Thu Dec 14 22:40:00 GMT 2017
More information about the Binutils mailing list
Thu Dec 14 22:40:00 GMT 2017
- Previous message (by thread): [PATCH] [PRU]: Fix disassembly text for instructions with reloc
- Next message (by thread): [PATCH] [PRU]: Fix disassembly text for instructions with reloc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [PATCH] [PRU]: Fix disassembly text for instructions with reloc
- Next message (by thread): [PATCH] [PRU]: Fix disassembly text for instructions with reloc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list