summarylogtreecommitdiffstats
path: root/binutils-compat.patch
blob: a9092ab495b37e4d7adccc6ebebc336b8034aa8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --unified --color --unified --recursive --text --color hotspot-jdk8u242-b08/src/share/tools/hsdis/hsdis.c hotspot-jdk8u242-b08-new/src/share/tools/hsdis/hsdis.c
--- hotspot-jdk8u242-b08/src/share/tools/hsdis/hsdis.c	2020-01-13 07:58:01.000000000 +0300
+++ hotspot-jdk8u242-b08-new/src/share/tools/hsdis/hsdis.c	2020-05-25 03:00:51.426052437 +0300
@@ -557,7 +557,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;