Date: Sat, 26 Sep 2020 21:47:11 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r366188 - head/sys/mips/include Message-ID: <202009262147.08QLlBMV032046@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat Sep 26 21:47:11 2020 New Revision: 366188 URL: https://svnweb.freebsd.org/changeset/base/366188 Log: Check for the only 32-bit MIPS ABIs we support, rather than !n64 There may be additional 64-bit ABIs supported, so use a positive check rather than a negative check. Suggested by: imp MFC after: 1 week Sponsored by: Juniper Networks, Inc Modified: head/sys/mips/include/elf.h Modified: head/sys/mips/include/elf.h ============================================================================== --- head/sys/mips/include/elf.h Sat Sep 26 21:45:33 2020 (r366187) +++ head/sys/mips/include/elf.h Sat Sep 26 21:47:11 2020 (r366188) @@ -105,7 +105,7 @@ typedef struct { /* Auxiliary vector entry on initial int a_type; /* Entry type. */ union { int a_val; /* Integer value. */ -#ifndef __mips_n64 +#if defined(__mips_o32) || defined(__mips_n32) void *a_ptr; /* Address. */ void (*a_fcn)(void); /* Function pointer (not used). */ #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009262147.08QLlBMV032046>