!9 openEuler-binutils

Merge pull request !9 from Liquor/next
This commit is contained in:
openeuler-ci-bot 2020-04-02 17:43:38 +08:00 committed by Gitee
commit 2a0eb0b8c9
2 changed files with 323 additions and 281 deletions

View File

@ -1,280 +1,316 @@
From 103ebbc35cc1975442e1e6233207d8d7b2016556 Mon Sep 17 00:00:00 2001 From 103ebbc35cc1975442e1e6233207d8d7b2016556 Mon Sep 17 00:00:00 2001
From: Alan Modra <amodra@gmail.com> From: Alan Modra <amodra@gmail.com>
Date: Mon, 9 Dec 2019 22:46:26 +1030 Date: Mon, 9 Dec 2019 22:46:26 +1030
Subject: [PATCH] Use disassemble_info.private_data in place of insn_sets Subject: [PATCH] Use disassemble_info.private_data in place of insn_sets
No cgen target uses private_data. This patch removes a No cgen target uses private_data. This patch removes a
disassemble_info field that is only used by cgen, and instead uses disassemble_info field that is only used by cgen, and instead uses
private_data. It also removes a macro that is no longer used. private_data. It also removes a macro that is no longer used.
include/ include/
* dis-asm.h (struct disassemble_info): Delete insn_sets. * dis-asm.h (struct disassemble_info): Delete insn_sets.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Don't define. (INIT_DISASSEMBLE_INFO_NO_ARCH): Don't define.
opcodes/ opcodes/
* cgen-dis.in (print_insn_@arch@): Replace insn_sets with private_data. * cgen-dis.in (print_insn_@arch@): Replace insn_sets with private_data.
* disassemble.c (disassemble_init_for_target): Likewise. * disassemble.c (disassemble_init_for_target): Likewise.
* bpf-dis.c: Regenerate. * bpf-dis.c: Regenerate.
* epiphany-dis.c: Regenerate. * epiphany-dis.c: Regenerate.
* fr30-dis.c: Regenerate. * fr30-dis.c: Regenerate.
* frv-dis.c: Regenerate. * frv-dis.c: Regenerate.
* ip2k-dis.c: Regenerate. * ip2k-dis.c: Regenerate.
* iq2000-dis.c: Regenerate. * iq2000-dis.c: Regenerate.
* lm32-dis.c: Regenerate. * lm32-dis.c: Regenerate.
* m32c-dis.c: Regenerate. * m32c-dis.c: Regenerate.
* m32r-dis.c: Regenerate. * m32r-dis.c: Regenerate.
* mep-dis.c: Regenerate. * mep-dis.c: Regenerate.
* mt-dis.c: Regenerate. * mt-dis.c: Regenerate.
* or1k-dis.c: Regenerate. * or1k-dis.c: Regenerate.
* xc16x-dis.c: Regenerate. * xc16x-dis.c: Regenerate.
* xstormy16-dis.c: Regenerate. * xstormy16-dis.c: Regenerate.
--- ---
include/dis-asm.h | 8 -------- include/dis-asm.h | 8 --------
opcodes/cgen-dis.in | 2 +- opcodes/bpf-dis.c | 2 +-
opcodes/disassemble.c | 8 ++++---- opcodes/cgen-dis.in | 2 +-
opcodes/epiphany-dis.c | 2 +- opcodes/disassemble.c | 24 ++++++++++++------------
opcodes/fr30-dis.c | 2 +- opcodes/epiphany-dis.c | 2 +-
opcodes/frv-dis.c | 2 +- opcodes/fr30-dis.c | 2 +-
opcodes/ip2k-dis.c | 2 +- opcodes/frv-dis.c | 2 +-
opcodes/iq2000-dis.c | 2 +- opcodes/ip2k-dis.c | 2 +-
opcodes/lm32-dis.c | 2 +- opcodes/iq2000-dis.c | 2 +-
opcodes/m32c-dis.c | 2 +- opcodes/lm32-dis.c | 2 +-
opcodes/m32r-dis.c | 2 +- opcodes/m32c-dis.c | 2 +-
opcodes/mep-dis.c | 2 +- opcodes/m32r-dis.c | 2 +-
opcodes/mt-dis.c | 2 +- opcodes/mep-dis.c | 2 +-
opcodes/or1k-dis.c | 2 +- opcodes/mt-dis.c | 2 +-
opcodes/xc16x-dis.c | 2 +- opcodes/or1k-dis.c | 2 +-
opcodes/xstormy16-dis.c | 2 +- opcodes/xc16x-dis.c | 2 +-
16 files changed, 18 insertions(+), 26 deletions(-) opcodes/xstormy16-dis.c | 2 +-
17 files changed, 27 insertions(+), 35 deletions(-)
diff --git a/include/dis-asm.h b/include/dis-asm.h
index ee9c1e2..6a57564 100644 diff --git a/include/dis-asm.h b/include/dis-asm.h
--- a/include/dis-asm.h index b4d5025..c174650 100644
+++ b/include/dis-asm.h --- a/include/dis-asm.h
@@ -77,11 +77,6 @@ typedef struct disassemble_info +++ b/include/dis-asm.h
enum bfd_endian endian; @@ -78,11 +78,6 @@ typedef struct disassemble_info
/* Endianness of code, for mixed-endian situations such as ARM BE8. */ enum bfd_endian endian;
enum bfd_endian endian_code; /* Endianness of code, for mixed-endian situations such as ARM BE8. */
- /* An arch/mach-specific bitmask of selected instruction subsets, mainly enum bfd_endian endian_code;
- for processors with run-time-switchable instruction sets. The default, - /* An arch/mach-specific bitmask of selected instruction subsets, mainly
- zero, means that there is no constraint. CGEN-based opcodes ports - for processors with run-time-switchable instruction sets. The default,
- may use ISA_foo masks. */ - zero, means that there is no constraint. CGEN-based opcodes ports
- void *insn_sets; - may use ISA_foo masks. */
- void *insn_sets;
/* Some targets need information about the current section to accurately
display insns. If this is NULL, the target disassembler function /* Some targets need information about the current section to accurately
@@ -343,9 +338,6 @@ extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream, display insns. If this is NULL, the target disassembler function
/* For compatibility with existing code. */ @@ -394,9 +389,6 @@ extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
#define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \ /* For compatibility with existing code. */
init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC)) #define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \
-#define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \ init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC))
- init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC)) -#define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \
- - init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC))
-
#ifdef __cplusplus
} #ifdef __cplusplus
diff --git a/opcodes/cgen-dis.in b/opcodes/cgen-dis.in }
index bf6d951..073548f 100644 diff --git a/opcodes/bpf-dis.c b/opcodes/bpf-dis.c
--- a/opcodes/cgen-dis.in index c48bce8..99a292a 100644
+++ b/opcodes/cgen-dis.in --- a/opcodes/bpf-dis.c
@@ -388,7 +388,7 @@ print_insn_@arch@ (bfd_vma pc, disassemble_info *info) +++ b/opcodes/bpf-dis.c
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); @@ -553,7 +553,7 @@ print_insn_bpf (bfd_vma pc, disassemble_info *info)
} cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
#else }
- isa = info->insn_sets; #else
+ isa = info->private_data; - isa = info->insn_sets;
#endif + isa = info->private_data;
#endif
/* If we've switched cpu's, try to find a handle we've used before */
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c /* If we've switched cpu's, try to find a handle we've used before */
index c8fda59..bff4dd9 100644 diff --git a/opcodes/cgen-dis.in b/opcodes/cgen-dis.in
--- a/opcodes/disassemble.c index d1e06bf..cf3e872 100644
+++ b/opcodes/disassemble.c --- a/opcodes/cgen-dis.in
@@ -616,13 +616,13 @@ disassemble_init_for_target (struct disassemble_info * info) +++ b/opcodes/cgen-dis.in
/* This processor in fact is little endian. The value set here @@ -388,7 +388,7 @@ print_insn_@arch@ (bfd_vma pc, disassemble_info *info)
reflects the way opcodes are written in the cgen description. */ cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
info->endian = BFD_ENDIAN_BIG; }
- if (! info->insn_sets) #else
+ if (! info->private_data) - isa = info->insn_sets;
{ + isa = info->private_data;
- info->insn_sets = cgen_bitset_create (ISA_MAX); #endif
+ info->private_data = cgen_bitset_create (ISA_MAX);
if (info->mach == bfd_mach_m16c) /* If we've switched cpu's, try to find a handle we've used before */
- cgen_bitset_set (info->insn_sets, ISA_M16C); diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
+ cgen_bitset_set (info->private_data, ISA_M16C); index aef2fd8..f131ee8 100644
else --- a/opcodes/disassemble.c
- cgen_bitset_set (info->insn_sets, ISA_M32C); +++ b/opcodes/disassemble.c
+ cgen_bitset_set (info->private_data, ISA_M32C); @@ -654,26 +654,26 @@ disassemble_init_for_target (struct disassemble_info * info)
} /* This processor in fact is little endian. The value set here
break; reflects the way opcodes are written in the cgen description. */
#endif info->endian = BFD_ENDIAN_BIG;
diff --git a/opcodes/epiphany-dis.c b/opcodes/epiphany-dis.c - if (! info->insn_sets)
index d4ad501..af9c9e2 100644 + if (!info->private_data)
--- a/opcodes/epiphany-dis.c {
+++ b/opcodes/epiphany-dis.c - info->insn_sets = cgen_bitset_create (ISA_MAX);
@@ -629,7 +629,7 @@ print_insn_epiphany (bfd_vma pc, disassemble_info *info) + info->private_data = cgen_bitset_create (ISA_MAX);
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); if (info->mach == bfd_mach_m16c)
} - cgen_bitset_set (info->insn_sets, ISA_M16C);
#else + cgen_bitset_set (info->private_data, ISA_M16C);
- isa = info->insn_sets; else
+ isa = info->private_data; - cgen_bitset_set (info->insn_sets, ISA_M32C);
#endif + cgen_bitset_set (info->private_data, ISA_M32C);
}
/* If we've switched cpu's, try to find a handle we've used before */ break;
diff --git a/opcodes/fr30-dis.c b/opcodes/fr30-dis.c #endif
index 6a60eef..eca91c3 100644 #ifdef ARCH_bpf
--- a/opcodes/fr30-dis.c case bfd_arch_bpf:
+++ b/opcodes/fr30-dis.c - if (!info->insn_sets)
@@ -650,7 +650,7 @@ print_insn_fr30 (bfd_vma pc, disassemble_info *info) - {
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); - info->insn_sets = cgen_bitset_create (ISA_EBPFMAX);
} - if (info->endian == BFD_ENDIAN_BIG)
#else - cgen_bitset_set (info->insn_sets, ISA_EBPFBE);
- isa = info->insn_sets; - else
+ isa = info->private_data; - cgen_bitset_set (info->insn_sets, ISA_EBPFLE);
#endif - }
+ if (!info->private_data)
/* If we've switched cpu's, try to find a handle we've used before */ + {
diff --git a/opcodes/frv-dis.c b/opcodes/frv-dis.c + info->private_data = cgen_bitset_create (ISA_EBPFMAX);
index af844f7..71a5c78 100644 + if (info->endian == BFD_ENDIAN_BIG)
--- a/opcodes/frv-dis.c + cgen_bitset_set (info->private_data, ISA_EBPFBE);
+++ b/opcodes/frv-dis.c + else
@@ -747,7 +747,7 @@ print_insn_frv (bfd_vma pc, disassemble_info *info) + cgen_bitset_set (info->private_data, ISA_EBPFLE);
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + }
} break;
#else #endif
- isa = info->insn_sets; #ifdef ARCH_pru
+ isa = info->private_data; diff --git a/opcodes/epiphany-dis.c b/opcodes/epiphany-dis.c
#endif index 376d678..3c79031 100644
--- a/opcodes/epiphany-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/epiphany-dis.c
diff --git a/opcodes/ip2k-dis.c b/opcodes/ip2k-dis.c @@ -629,7 +629,7 @@ print_insn_epiphany (bfd_vma pc, disassemble_info *info)
index 5e32903..8bf3fb3 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/ip2k-dis.c }
+++ b/opcodes/ip2k-dis.c #else
@@ -639,7 +639,7 @@ print_insn_ip2k (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/fr30-dis.c b/opcodes/fr30-dis.c
#endif index b83051b..2d1de96 100644
--- a/opcodes/fr30-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/fr30-dis.c
diff --git a/opcodes/iq2000-dis.c b/opcodes/iq2000-dis.c @@ -650,7 +650,7 @@ print_insn_fr30 (bfd_vma pc, disassemble_info *info)
index d173333..b9b3aa6 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/iq2000-dis.c }
+++ b/opcodes/iq2000-dis.c #else
@@ -540,7 +540,7 @@ print_insn_iq2000 (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/frv-dis.c b/opcodes/frv-dis.c
#endif index 9df0dd5..bf9d4f7 100644
--- a/opcodes/frv-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/frv-dis.c
diff --git a/opcodes/lm32-dis.c b/opcodes/lm32-dis.c @@ -747,7 +747,7 @@ print_insn_frv (bfd_vma pc, disassemble_info *info)
index 90e67c7..d8fea64 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/lm32-dis.c }
+++ b/opcodes/lm32-dis.c #else
@@ -498,7 +498,7 @@ print_insn_lm32 (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/ip2k-dis.c b/opcodes/ip2k-dis.c
#endif index 3d3e8be..bc758a6 100644
--- a/opcodes/ip2k-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/ip2k-dis.c
diff --git a/opcodes/m32c-dis.c b/opcodes/m32c-dis.c @@ -639,7 +639,7 @@ print_insn_ip2k (bfd_vma pc, disassemble_info *info)
index fc8ee0b..f980abc 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/m32c-dis.c }
+++ b/opcodes/m32c-dis.c #else
@@ -1242,7 +1242,7 @@ print_insn_m32c (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/iq2000-dis.c b/opcodes/iq2000-dis.c
#endif index 422665e..2762b64 100644
--- a/opcodes/iq2000-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/iq2000-dis.c
diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c @@ -540,7 +540,7 @@ print_insn_iq2000 (bfd_vma pc, disassemble_info *info)
index cd3349c..9034665 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/m32r-dis.c }
+++ b/opcodes/m32r-dis.c #else
@@ -630,7 +630,7 @@ print_insn_m32r (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/lm32-dis.c b/opcodes/lm32-dis.c
#endif index b18fb3d..274b63f 100644
--- a/opcodes/lm32-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/lm32-dis.c
diff --git a/opcodes/mep-dis.c b/opcodes/mep-dis.c @@ -498,7 +498,7 @@ print_insn_lm32 (bfd_vma pc, disassemble_info *info)
index e52db1e..e054821 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/mep-dis.c }
+++ b/opcodes/mep-dis.c #else
@@ -1538,7 +1538,7 @@ print_insn_mep (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/m32c-dis.c b/opcodes/m32c-dis.c
#endif index 92b87f2..b368685 100644
--- a/opcodes/m32c-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/m32c-dis.c
diff --git a/opcodes/mt-dis.c b/opcodes/mt-dis.c @@ -1242,7 +1242,7 @@ print_insn_m32c (bfd_vma pc, disassemble_info *info)
index 9b6df6a..35ec998 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/mt-dis.c }
+++ b/opcodes/mt-dis.c #else
@@ -641,7 +641,7 @@ print_insn_mt (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c
#endif index 8722d6b..c778b88 100644
--- a/opcodes/m32r-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/m32r-dis.c
diff --git a/opcodes/or1k-dis.c b/opcodes/or1k-dis.c @@ -630,7 +630,7 @@ print_insn_m32r (bfd_vma pc, disassemble_info *info)
index f54b6b4..8444f02 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/or1k-dis.c }
+++ b/opcodes/or1k-dis.c #else
@@ -492,7 +492,7 @@ print_insn_or1k (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/mep-dis.c b/opcodes/mep-dis.c
#endif index 13bcb47..79bd776 100644
--- a/opcodes/mep-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/mep-dis.c
diff --git a/opcodes/xc16x-dis.c b/opcodes/xc16x-dis.c @@ -1538,7 +1538,7 @@ print_insn_mep (bfd_vma pc, disassemble_info *info)
index d634572..9bdc905 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/xc16x-dis.c }
+++ b/opcodes/xc16x-dis.c #else
@@ -771,7 +771,7 @@ print_insn_xc16x (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/mt-dis.c b/opcodes/mt-dis.c
#endif index 44e6720..00b3d06 100644
--- a/opcodes/mt-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/mt-dis.c
diff --git a/opcodes/xstormy16-dis.c b/opcodes/xstormy16-dis.c @@ -641,7 +641,7 @@ print_insn_mt (bfd_vma pc, disassemble_info *info)
index 0c8d204..a372932 100644 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
--- a/opcodes/xstormy16-dis.c }
+++ b/opcodes/xstormy16-dis.c #else
@@ -519,7 +519,7 @@ print_insn_xstormy16 (bfd_vma pc, disassemble_info *info) - isa = info->insn_sets;
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); + isa = info->private_data;
} #endif
#else
- isa = info->insn_sets; /* If we've switched cpu's, try to find a handle we've used before */
+ isa = info->private_data; diff --git a/opcodes/or1k-dis.c b/opcodes/or1k-dis.c
#endif index 74bf38f..dce00b3 100644
--- a/opcodes/or1k-dis.c
/* If we've switched cpu's, try to find a handle we've used before */ +++ b/opcodes/or1k-dis.c
-- @@ -534,7 +534,7 @@ print_insn_or1k (bfd_vma pc, disassemble_info *info)
2.19.1 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
- isa = info->insn_sets;
+ isa = info->private_data;
#endif
/* If we've switched cpu's, try to find a handle we've used before */
diff --git a/opcodes/xc16x-dis.c b/opcodes/xc16x-dis.c
index 2c61e81..3081083 100644
--- a/opcodes/xc16x-dis.c
+++ b/opcodes/xc16x-dis.c
@@ -771,7 +771,7 @@ print_insn_xc16x (bfd_vma pc, disassemble_info *info)
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
- isa = info->insn_sets;
+ isa = info->private_data;
#endif
/* If we've switched cpu's, try to find a handle we've used before */
diff --git a/opcodes/xstormy16-dis.c b/opcodes/xstormy16-dis.c
index 2382d08..7da09f3 100644
--- a/opcodes/xstormy16-dis.c
+++ b/opcodes/xstormy16-dis.c
@@ -519,7 +519,7 @@ print_insn_xstormy16 (bfd_vma pc, disassemble_info *info)
cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info));
}
#else
- isa = info->insn_sets;
+ isa = info->private_data;
#endif
/* If we've switched cpu's, try to find a handle we've used before */
--
1.8.3.1

View File

@ -1,7 +1,7 @@
Summary: Binary utilities Summary: Binary utilities
Name: binutils Name: binutils
Version: 2.33.1 Version: 2.33.1
Release: 5 Release: 6
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -319,6 +319,12 @@ fi
%{_infodir}/bfd*info* %{_infodir}/bfd*info*
%changelog %changelog
* Thu Apr 02 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.33.1-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Use disassemble_info.private_date in place of insn_sets
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.33.1-5 * Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.33.1-5
- Type:bugfix - Type:bugfix
- ID:CVE - ID:CVE