From ebf7855dcd9f8d7f75177da154c5cc3a6e022e4c Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Fri, 25 Sep 2020 19:04:03 +0000 Subject: [PATCH] mips: Fix compat32 library builds from r366162 Re-add the a_ptr and a_fcn fields to Elf32_Auxinfo. MFC after: 1 week Sponsored by: Juniper Networks, Inc. --- sys/mips/include/elf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/mips/include/elf.h b/sys/mips/include/elf.h index a0263bb3a975..acd8f1bf75d5 100644 --- a/sys/mips/include/elf.h +++ b/sys/mips/include/elf.h @@ -105,6 +105,10 @@ typedef struct { /* Auxiliary vector entry on initial stack */ int a_type; /* Entry type. */ union { int a_val; /* Integer value. */ +#ifndef __mips_n64 + void *a_ptr; /* Address. */ + void (*a_fcn)(void); /* Function pointer (not used). */ +#endif } a_un; } Elf32_Auxinfo;