Date: Thu, 20 Aug 2015 13:11:53 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286959 - in head/lib/libc/aarch64: . gen Message-ID: <201508201311.t7KDBrVv041675@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Thu Aug 20 13:11:52 2015 New Revision: 286959 URL: https://svnweb.freebsd.org/changeset/base/286959 Log: Add the definitions of __infinity and __nan. Added: head/lib/libc/aarch64/gen/infinity.c - copied, changed from r286954, head/lib/libc/amd64/gen/infinity.c Modified: head/lib/libc/aarch64/Symbol.map head/lib/libc/aarch64/gen/Makefile.inc Modified: head/lib/libc/aarch64/Symbol.map ============================================================================== --- head/lib/libc/aarch64/Symbol.map Thu Aug 20 12:49:56 2015 (r286958) +++ head/lib/libc/aarch64/Symbol.map Thu Aug 20 13:11:52 2015 (r286959) @@ -17,6 +17,8 @@ FBSD_1.0 { __flt_rounds; fpgetmask; fpsetmask; + __infinity; + __nan; setjmp; longjmp; sigsetjmp; Modified: head/lib/libc/aarch64/gen/Makefile.inc ============================================================================== --- head/lib/libc/aarch64/gen/Makefile.inc Thu Aug 20 12:49:56 2015 (r286958) +++ head/lib/libc/aarch64/gen/Makefile.inc Thu Aug 20 13:11:52 2015 (r286959) @@ -5,6 +5,7 @@ SRCS+= _ctx_start.S \ flt_rounds.c \ fpgetmask.c \ fpsetmask.c \ + infinity.c \ ldexp.c \ makecontext.c \ _setjmp.S \ Copied and modified: head/lib/libc/aarch64/gen/infinity.c (from r286954, head/lib/libc/amd64/gen/infinity.c) ============================================================================== --- head/lib/libc/amd64/gen/infinity.c Thu Aug 20 11:26:26 2015 (r286954, copy source) +++ head/lib/libc/aarch64/gen/infinity.c Thu Aug 20 13:11:52 2015 (r286959) @@ -7,7 +7,7 @@ __FBSDID("$FreeBSD$"); #include <math.h> -/* bytes for +Infinity on a 387 */ +/* bytes for +Infinity on aarch64 */ const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }; /* bytes for NaN */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508201311.t7KDBrVv041675>