Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2015 22:06:06 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283671 - head/sys/sys
Message-ID:  <201505282206.t4SM66Xj090527@svn.freebsd.org>

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



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