Summary: This change fixes the following compilation error when using clang 8 to cross compile base to powerpc64: ``` /usr/src/gnu/usr.bin/binutils/libopcodes/../../../../contrib/binutils/opcodes/ppc-dis.c💯35: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic] info->private_data = (char *) 0 + dialect; ~~~~~~~~~~ ^ 1 error generated. *** [ppc-dis.o] Error code 1 make[6]: stopped in /usr/src/gnu/usr.bin/binutils/libopcodes 1 error ``` Test Plan: - buildworld for x86_64 (native) - buildworld for powerpc64 (cross) - buildworld for powerpc64 (native) Submitted by: alfredo.junior_eldorado.org.br Reviewed By: emaste, pfg, brooks Differential Revision: https://reviews.freebsd.org/D19235 |
||
---|---|---|
.. | ||
po | ||
aclocal.m4 | ||
alpha-dis.c | ||
alpha-opc.c | ||
arc-dis.c | ||
arc-dis.h | ||
arc-ext.c | ||
arc-ext.h | ||
arc-opc.c | ||
arm-dis.c | ||
cgen-asm.c | ||
cgen-asm.in | ||
cgen-dis.c | ||
cgen-dis.in | ||
cgen-ibld.in | ||
cgen-opc.c | ||
cgen.sh | ||
ChangeLog | ||
ChangeLog-0001 | ||
ChangeLog-0203 | ||
ChangeLog-2006 | ||
ChangeLog-9297 | ||
ChangeLog-9899 | ||
config.in | ||
configure | ||
configure.in | ||
cr16-dis.c | ||
cr16-opc.c | ||
dep-in.sed | ||
dis-buf.c | ||
dis-init.c | ||
disassemble.c | ||
i386-dis.c | ||
i386-gen.c | ||
i386-opc.c | ||
i386-opc.h | ||
i386-opc.tbl | ||
i386-reg.tbl | ||
i386-tbl.h | ||
ia64-asmtab.c | ||
ia64-asmtab.h | ||
ia64-dis.c | ||
ia64-gen.c | ||
ia64-ic.tbl | ||
ia64-opc-a.c | ||
ia64-opc-b.c | ||
ia64-opc-d.c | ||
ia64-opc-f.c | ||
ia64-opc-i.c | ||
ia64-opc-m.c | ||
ia64-opc-x.c | ||
ia64-opc.c | ||
ia64-opc.h | ||
ia64-raw.tbl | ||
ia64-war.tbl | ||
ia64-waw.tbl | ||
MAINTAINERS | ||
Makefile.am | ||
Makefile.in | ||
mep-asm.c | ||
mep-desc.c | ||
mep-desc.h | ||
mep-dis.c | ||
mep-ibld.c | ||
mep-opc.c | ||
mep-opc.h | ||
mips16-opc.c | ||
mips-dis.c | ||
mips-opc.c | ||
opintl.h | ||
ppc-dis.c | ||
ppc-opc.c | ||
s390-dis.c | ||
s390-mkopc.c | ||
s390-opc.c | ||
s390-opc.txt | ||
score-dis.c | ||
score-opc.h | ||
sh-dis.c | ||
sh-opc.h | ||
sparc-dis.c | ||
sparc-opc.c | ||
spu-dis.c | ||
spu-opc.c | ||
stamp-h.in | ||
sysdep.h |