opnsense-src/contrib/netbsd-tests/lib/libc
Andrew Turner 94098ab7c3 Remove brk and sbrk from arm64. They were defined in The Single UNIX
Specification, Version 2, but marked as legacy, and have been removed from
later specifications. After 12 years it is time to remove them from new
architectures when the main use for sbrk is an invalid method to attempt
to find how much memory has been allocated from malloc.

There are a few places in the tree that still call sbrk, however they are
not used on arm64. They will need to be fixed to cross build from arm64,
but these will be fixed in a follow up commit.

Old copies of binutils from ports called into sbrk, however this has been
fixed around 6 weeks ago. It is advised to update binutils on arm64 before
installing a world that includes this change.

Reviewed by:	brooks, emaste
Obtained from:	brooks
Relnotes:	yes
Sponsored by:	ABT Systems Ltd
Differential Revision:	https://reviews.freebsd.org/D6464
2016-05-20 15:04:48 +00:00
..
arch Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
c063 Fix warning of implicit declaration of function 'mkdir'. 2015-05-31 02:21:35 +00:00
common Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
db Port t_db.sh to FreeBSD 2014-11-03 21:21:08 +00:00
gen Remove brk and sbrk from arm64. They were defined in The Single UNIX 2016-05-20 15:04:48 +00:00
hash Port h_hash and t_sha2 to FreeBSD 2014-11-01 22:00:46 +00:00
inet inet_network on FreeBSD returns NULL when provided "0x" to inet_network 2014-11-03 21:26:11 +00:00
locale Push the FreeBSD changes under a specific #ifdef to easier tracking what needs 2015-11-02 23:09:21 +00:00
net Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
regex Redo r290847: use #ifdef __NetBSD__ on all the non-public APIs to 2015-11-15 18:49:31 +00:00
rpc Cast xdr_void to xdrproc_t to mute -Wincompatible-pointer-types warnings from 2015-11-15 05:19:41 +00:00
setjmp Fix and connect setjmp test. 2016-03-09 22:45:04 +00:00
ssp Fix up r298368 2016-04-26 19:21:35 +00:00
stdio also skip the definition of ':fopen_regular' to avoid the build to fail due to 2015-11-15 11:18:37 +00:00
stdlib Add __FreeBSD_version guards around hsearch_r to ease MFCing the code to 2014-12-21 23:47:30 +00:00
string memmem(3): empty little string matches the beginning of the big string 2015-05-26 21:16:07 +00:00
sync Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
sys Remove brk and sbrk from arm64. They were defined in The Single UNIX 2016-05-20 15:04:48 +00:00
termios Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
time Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
tls Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
tls_dso Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
ttyio Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_cdb.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_convfp.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00
t_gdtoa.c Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 2014-10-02 23:26:49 +00:00