Re: S12Z [new patchset]

John Darrington
2018-09-08T06:30:54Z

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

On Sat, Sep 08, 2018 at 06:18:01AM +0200, John Darrington wrote:

I still see it. Are you sure you have an --enable-targets=all build? What
configure line do you use?

I used:

/home/john/binutils-gdb/configure --target=s12z --enable-targets=all CFLAGS="-g -O0" CXXFLAGS="-O0 -g" --prefix=$(mktemp -d -p /Scratch/john)

Now I do see it.

Can you apply the attached patch, and see if it fixes it for you?

J'

[-- Attachment #2: 0001-Add-ARCH_s12z-to-the-ARCH_all-case.patch --]
[-- Type: text/x-diff, Size: 662 bytes --]

From df16439ce7de10b6f1c72c6974f544cdf806e9da Mon Sep 17 00:00:00 2001
From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 8 Sep 2018 06:59:09 +0200
Subject: [PATCH] Add ARCH_s12z to the ARCH_all case.

* opcodes/disassemble.c: Define ARCH_s12z when ARCH_all is defined.
---
opcodes/disassemble.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index c5941826f0..ce83423b6d 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -77,6 +77,7 @@
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx
+#define ARCH_s12z
#define ARCH_s390
#define ARCH_score
#define ARCH_sh
--
2.11.0