svn commit: r283671 - head/sys/sys

Brooks Davis brooks at FreeBSD.org
Thu May 28 22:06:06 UTC 2015


Author: brooks
Date: Thu May 28 22:06:05 2015
New Revision: 283671
URL: https://svnweb.freebsd.org/changeset/base/283671

Log:
  Revert r102953
  
  The bitfile padding was always unallocated on real-world FreeBSD systems and
  depended on the assumption that (abs(sizeof(long) - sizeof(char*)) <= 32).
  
  Differential Revision:	https://reviews.freebsd.org/D2667
  Reviewed by:	eadler
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/sys/nlist_aout.h

Modified: head/sys/sys/nlist_aout.h
==============================================================================
--- head/sys/sys/nlist_aout.h	Thu May 28 22:01:50 2015	(r283670)
+++ head/sys/sys/nlist_aout.h	Thu May 28 22:06:05 2015	(r283671)
@@ -56,8 +56,6 @@ struct nlist {
 	} n_un;
 #else
 	const char *n_name;	/* symbol name (in memory) */
-	int : 8 * (sizeof(long) > sizeof(char *) ?
-	    sizeof(long) - sizeof(char *) : sizeof(char *) - sizeof(long));
 #endif
 	unsigned char n_type;	/* type defines */
 	char n_other;		/* ".type" and binding information */


More information about the svn-src-head mailing list