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;
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to