bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/14149] The _end symbol is not properly aligned


From: jhb at FreeBSD dot org
Subject: [Bug gold/14149] The _end symbol is not properly aligned
Date: Thu, 24 May 2012 12:11:24 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]