Re: [Etherboot-developers] Mknbi is the misbehaving when reloc'd
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Marc S. <el...@bu...> - 2002-09-21 16:45:07
|
On Sat, Sep 21, 2002 at 09:36:15AM -0700, Marc Singer wrote: > On Sun, Sep 22, 2002 at 02:07:59AM +1000, Ken Yap wrote: > > >I was wondering about that. I was also wondering if there would be > > >any utility in changing mknbi to PIC, position independent code. It > > >may be overkill since are likely to know where things are in memory. > > > > If you know a way to generate PIC with gcc that doesn't have a large > > overhead in code size or relocation tables, or require a bulky runtime > > relocating loader, let us know. > > Well...it make the mknbi loader at least 6732 bytes long. I faked one > of the symbols, so there may be more data. Is it possible to give the > loader 8K instead of 6K? I haven't looked at etherboot, but I'd guess > it has a similar bloat of about...good grief...a 90% increase. > > So we know that it is expensive. Are we really that tight on memory? > Nevermind. I found something that describes what needs to be done. It's way to much work for something of nominal value. |