[Python-Dev] Updating to autoconf 2.5x

Martin v. Loewis martin@v.loewis.de
05 Apr 2002 21:36:21 +0200


"M.-A. Lemburg" <mal@lemburg.com> writes:

> BTW, the man-page for ld mentions an optimization option
> -On -- does anyone know what the affect of this option
> is and whether its GNU specific ?

Yes, it is GNU specific. It currently (binutils 2.11) only supports
one level of optimization, and that is only used for ELF targets.  On
ELF targets, if optimization is requested, the optimal table size for
the symbol table is computed. Since ELF uses a hashing mechanism, the
number of hash collisions depends on the table size. Under
optimization, the linker tries all table sizes, and choses the one
with the least collisions.

Regards,
Martin