https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228574

--- Comment #3 from Mark Johnston <ma...@freebsd.org> ---
Looks like the binutils maintainers consider our use of _end to be a bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=23161

I don't see how we can implement brk()/sbrk() without it though. Looking at
glibc, they initialize curbrk using a seemingly undocumented kernel interface:
on Linux, the brk() system call returns the current break address if the input
break value is 0. Our SYS_break system call currently does not have a return
value... perhaps the right solution here is to add a similar hack and use that
in libc to initialize curbrk.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to