This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: brk(2) trouble


>>>>> "Roland" == Roland McGrath <roland@redhat.com> writes:

    Roland> The Linux versions do not enforce a __minbrk value, so getting that
    Roland> initialized is not an issue.  I think a brk(&_start) will just happily eat
    Roland> your text and data mappings in Linux.

Yes. The problem is that ``__brk (0)'' does the same on NetBSD.  Thus,
``__minbrk'' has to be initialized to something and I have trouble
finding the right place to initialize ``__minbrk'' as well as finding
the right value.

~velco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]