new way of generating crt[ni].o [patch]
Zack Weinberg
zack@bitmover.com
Fri Sep 3 10:39:00 GMT 1999
Ulrich Drepper wrote:
> 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.
I agree. I did it this way because I'm not competent to write the
assembly stubs.
zw
More information about the Libc-hacker
mailing list