parallelized 'ld'?

Ian Lance Taylor ian@airs.com
Sat Jul 26 04:07:00 GMT 2003


marcov@dragon.stack.nl (Marco van de Voort) writes:

> If both assumptuons are true, I'd simply change malloc to an awfully dumb
> implementation that doesn't really deallocate any mem, doesn't merge
> anything. If the below pseudocode looks bad, it's because my C is a bit
> rusty, as long as the idea is good :-)

That kind of thing should be handled reasonably already.  BFD uses
objalloc structures, which are basically like obstacks: they allocate
large chunks of memory, and hand out small chunks quickly using inline
macros.  See include/objalloc.h.

Ian



More information about the Binutils mailing list