svn commit: r355729 - head/lib/libc/powerpc64
Brandon Bergren
bdragon at FreeBSD.org
Fri Dec 13 20:30:27 UTC 2019
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
More information about the svn-src-head
mailing list