From owner-cvs-all@FreeBSD.ORG Fri Dec 19 06:43:09 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 967AA16A4CE; Fri, 19 Dec 2003 06:43:09 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9855043D6A; Fri, 19 Dec 2003 06:42:58 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.12.10/8.12.10) with ESMTP id hBJEgwOE082469; Fri, 19 Dec 2003 06:42:58 -0800 (PST) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.12.10/8.12.10/Submit) id hBJEgwuq082468; Fri, 19 Dec 2003 06:42:58 -0800 (PST) (envelope-from marcel) Date: Fri, 19 Dec 2003 06:42:58 -0800 From: Marcel Moolenaar To: Peter Wemm Message-ID: <20031219144258.GA82370@ns1.xcllnt.net> References: <200312151025.hBFAPIuc084643@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312151025.hBFAPIuc084643@repoman.freebsd.org> User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys _null.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 14:43:09 -0000 On Mon, Dec 15, 2003 at 02:25:18AM -0800, Peter Wemm wrote: > peter 2003/12/15 02:25:18 PST > > FreeBSD src repository > > Modified files: > sys/sys _null.h > Log: > amd64 doesn't define __LP64__ in the compiler, but it definately needs > this definition. It fixes gnome for starters. I haven't tried *emacs yet. > Like IA64, amd64 uses registers for the first few arguments and then > the stack for the rest. This means the 64 bit promotion of the NULL (0) > value is lost and its just pushed on as an 'int' in a varargs call. Odd. I swear I tested amd64 and found that the promotion was still there by virtue of the generated code. I guess not... > Marcel: thanks a million for finding this! No problem. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net