Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2020 19:04:03 +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: r366169 - head/sys/mips/include
Message-ID:  <202009251904.08PJ431b029218@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009251904.08PJ431b029218>