[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Glibc-bsd-hackers] Re: __curbrk (and &_end)
From: |
Roland McGrath |
Subject: |
[Glibc-bsd-hackers] Re: __curbrk (and &_end) |
Date: |
Tue, 17 Feb 2004 18:21:30 -0800 |
If you want libc.so to refer to the program's _end, you need to make sure
the version script for building libc.so exports _end such that its
references will be resolved by the dynamic linker and matched up with the
program's definitions. However, I think relying on _end is probably not
the way to go. You can instead look at the PT_LOAD headers to find the end
of the data segment.
- [Glibc-bsd-hackers] Re: __curbrk (and &_end),
Roland McGrath <=