svn commit: r366169 - head/sys/mips/include

Justin Hibbits jhibbits at FreeBSD.org
Fri Sep 25 19:04:04 UTC 2020


Author: jhibbits
Date: Fri Sep 25 19:04:03 2020
New Revision: 366169
URL: https://svnweb.freebsd.org/changeset/base/366169

Log:
  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.

Modified:
  head/sys/mips/include/elf.h

Modified: head/sys/mips/include/elf.h
==============================================================================
--- head/sys/mips/include/elf.h	Fri Sep 25 19:02:49 2020	(r366168)
+++ head/sys/mips/include/elf.h	Fri Sep 25 19:04:03 2020	(r366169)
@@ -105,6 +105,10 @@ typedef struct {	/* Auxiliary vector entry on initial 
 	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;
 


More information about the svn-src-all mailing list