[parisc-linux] Recent changes

Philipp Rumpf prumpf@mathe.stud.uni-erlangen.de
Sat, 6 Nov 1999 19:18:10 +0100


> I've changed it to call sys_brk instead; I'm not quite sure why I had
> thought it would need to call a different function, brk looks identical
> to me on both OSes.

It isn't.  HP/UX brk seems to be equivalent to sys_brk(addr + PAGE_SIZE), i.e.
while Linux gets passed a pointer to the first byte after the end of the brk'd
segment, HP/UX brk gets passed a pointer to the first byte of the last page of
it.  At least, this seemed to be the case for our first binaries.

	Philipp Rumpf