diff options
author | andrew <andrew@FreeBSD.org> | 2016-05-20 15:04:48 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-05-20 15:04:48 +0000 |
commit | 975434349019575344211c0d8440b24a224284d3 (patch) | |
tree | ce453b1077c1f9375dfdbe6fa3b2fb73f9631676 /UPDATING | |
parent | a1e52f7bdce5a5841c4472780ca8f5aa8047cbeb (diff) | |
download | FreeBSD-src-975434349019575344211c0d8440b24a224284d3.zip FreeBSD-src-975434349019575344211c0d8440b24a224284d3.tar.gz |
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
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20160520: + The brk and sbrk functions have been removed from libc on arm64. + Binutils from ports has been updated to not link to these + functions and should be updated to the latest version before + installing a new libc. + 20160517: The armv6 port now defaults to hard float ABI. Limited support for running both hardfloat and soft float on the same system |