On Sun, Mar 11, 2012 at 08:04:10PM +0000, Konstantin Belousov wrote: > Author: kib > Date: Sun Mar 11 20:04:09 2012 > New Revision: 232832 > URL: http://svn.freebsd.org/changeset/base/232832 > > Log: > Stop calling _init/_fini methods from crt1 for dynamic binaries. Do > call preinit, init and fini arrays methods from crt1 for static binaries. > > Mark new crt1 with FreeBSD-specific ELF note. > > Move some common crt1 code into new MI file ignore_init.c, to reduce > duplication. Also, conservatively adjust nearby sources for style. > > Reviewed by: kan > Tested by: andrew (arm), flo (sparc64) > MFC after: 3 weeks I failed to mention it in the commit message that ia64 still uses old crt1 and does not mark binaries with a new note. I do not know ia64 assembler and cannot rewrite crt1.S myself.
pgpUFvyMpaMnm.pgp
Description: PGP signature