http://sourceware.org/bugzilla/show_bug.cgi?id=14149

--- Comment #2 from jhb at FreeBSD dot org 2012-05-24 12:11:24 UTC ---
That's fair.  In fact, the man pages for end(3) and sbrk(2) on FreeBSD do not
make any claims at all about alignment.  POSIX intentionally states that
sbrk(2) return values do not enforce any alignment
(http://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html).

The previous malloc implementation in FreeBSD did use rounding on the return
value from sbrk(0) (so it would have worked fine).  I will work on getting
jemalloc fixed both in FreeBSD and upstream.  I'm fine with having this closed
on my end.  Up to you if you think there might be any other software that
depends on this behavior of GNU ld.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to