svn commit: r232832 - in head/lib/csu: . amd64 arm common i386-elf mips powerpc powerpc64 sparc64

Nathan Whitehorn nwhitehorn at freebsd.org
Tue Mar 13 13:49:15 UTC 2012


On 03/11/12 15:04, 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
>

This change makes /usr/libexec/cc1 seg fault on init on powerpc64. 
Dynamically linked (and most statically linked) binaries seem to work, 
but there is some remaining problem.
-Nathan


More information about the freebsd-ppc mailing list