svn commit: r366188 - head/sys/mips/include
Justin Hibbits
jhibbits at FreeBSD.org
Sat Sep 26 21:47:12 UTC 2020
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
More information about the svn-src-all
mailing list