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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to