summarylogtreecommitdiffstats
path: root/binutils-compat.patch
diff options
context:
space:
mode:
authorSimon Reiser2020-12-19 23:24:32 +0100
committerSimon Reiser2020-12-19 23:24:32 +0100
commitbfa2a9159797f77a4bab16d86fef6337607d7dee (patch)
treee9055328fe6d468f4aa28d81815bfa3865b7eb7e /binutils-compat.patch
downloadaur-java11-openjdk-hsdis.tar.gz
v11.0.8
Diffstat (limited to 'binutils-compat.patch')
-rw-r--r--binutils-compat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils-compat.patch b/binutils-compat.patch
new file mode 100644
index 000000000000..edb846f2a690
--- /dev/null
+++ b/binutils-compat.patch
@@ -0,0 +1,12 @@
+diff --unified --color --unified --recursive --text jdk14u-jdk-14.0.1+7/src/utils/hsdis/hsdis.c jdk14u-jdk-14.0.1+7-new/src/utils/hsdis/hsdis.c
+--- jdk14u-jdk-14.0.1+7/src/utils/hsdis/hsdis.c 2019-11-28 23:32:27.000000000 +0300
++++ jdk14u-jdk-14.0.1+7-new/src/utils/hsdis/hsdis.c 2020-05-30 03:14:15.355394159 +0300
+@@ -568,7 +568,7 @@
+ dinfo->arch = bfd_get_arch(abfd);
+ dinfo->mach = bfd_get_mach(abfd);
+ dinfo->disassembler_options = disassembler_options;
+- dinfo->octets_per_byte = bfd_octets_per_byte (abfd);
++ dinfo->octets_per_byte = bfd_octets_per_byte (abfd, NULL);
+ dinfo->skip_zeroes = sizeof(void*) * 2;
+ dinfo->skip_zeroes_at_end = sizeof(void*)-1;
+ dinfo->disassembler_needs_relocs = FALSE;