new way of generating crt[ni].o [patch]

Ulrich Drepper drepper@cygnus.com
Thu Sep 2 23:59:00 GMT 1999


Zack Weinberg <zack@bitmover.com> writes:

> The new x86 back end wants to generate trampolines to load the PIC
> base register all the time (yes, even with -march=i386).  The current
> crt[in] generation can't handle this.  So I rewrote it again.

It looks interesting but this whole changes really suggest that we go
with hand-written code.  It's only a few lines.  We could keep the
current scheme (maybe your rewrite) as a backup solution, e.g., to help
new ports to a quick start.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Libc-hacker mailing list