Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2019 20:30:27 +0000 (UTC)
From:      Brandon Bergren <bdragon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355729 - head/lib/libc/powerpc64
Message-ID:  <201912132030.xBDKURLq001138@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdragon
Date: Fri Dec 13 20:30:26 2019
New Revision: 355729
URL: https://svnweb.freebsd.org/changeset/base/355729

Log:
  [PowerPC] Fully define gdtoa settings on powerpc64.
  
  The settings in arith.h were not fully defined on powerpc64 after the gdtoa
  switchover. Generate them using arithchk.c, similar to what AMD64 did for
  r114814.
  
  Technically, none of this is necessary in FreeBSD gdtoa, but since the other
  platforms have full definitions, we might as well have full definitions
  too.
  
  Approved by:	jhibbits (in irc)
  Differential Revision:	https://reviews.freebsd.org/D22775

Modified:
  head/lib/libc/powerpc64/arith.h

Modified: head/lib/libc/powerpc64/arith.h
==============================================================================
--- head/lib/libc/powerpc64/arith.h	Fri Dec 13 19:56:48 2019	(r355728)
+++ head/lib/libc/powerpc64/arith.h	Fri Dec 13 20:30:26 2019	(r355729)
@@ -13,4 +13,7 @@
 
 #define IEEE_MC68k
 #define Arith_Kind_ASL 2
+#define Long int
+#define Intcast (int)(long)
 #define Double_Align
+#define X64_bit_pointers



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