From b2668f7b497fecbaf663b993730287ba49c635c3 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sat, 26 Sep 2020 21:47:11 +0000 Subject: [PATCH] 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 --- sys/mips/include/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/include/elf.h b/sys/mips/include/elf.h index acd8f1bf75d5..976dedb29c96 100644 --- a/sys/mips/include/elf.h +++ b/sys/mips/include/elf.h @@ -105,7 +105,7 @@ typedef struct { /* Auxiliary vector entry on initial stack */ 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