Max Matveev writes:
First off all, my appologies - I've been a bit busy with
"another"
open-source project recently, so I'd try to reply to everybody at once
now.
Jan Vroonhof writes:
:> Max Matveev <makc(a)sgi.com> writes:
:> > :> What exactly was wrong?
:> > Assumption that .bss section should be outside the PT_LOADable
:> > segment. On IRIX with version 6.2 and above, .bss (or .sbss, if it's
:> > present) is inside the 'data' segment. This would fail the test which
:> > was used to find a segment to grow and cover new heap. Instead of this
:> > assumption, I created another one - on IRIX the segment to grow should
:> > start below .bss and it's address should extent above the end of
:> > .bss. Once thise segment is identified, it's grown to accomodate the
:> > new heap and new zero-length .bss section is added at the end of
:> > data2.
:>
:> Ok thanks for writing this, it would be nice to have this comment
:> verbatim in unexelfsgi.c
Am I right to assume that Colin is doing it?
Yes and no. I tried working on this earlier, but but the patch I had
did not apply cleanly, and after applying it by hand, I did not get it
to build (using MIPSpro Compilers: Version 7.2.1.3m).
I am going to be away for a week, and will have no time to work on it.
From a different message, it appears as though Gunnar got something to
work. Maybe you (Max) can write a Changelog and split your patch into
its two logical components.
--
Colin