1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/lib/csu/i386-elf
Konstantin Belousov a22748dbd9 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
2012-03-11 20:04:09 +00:00
..
crt1_c.c Stop calling _init/_fini methods from crt1 for dynamic binaries. Do 2012-03-11 20:04:09 +00:00
crt1_s.S The (%esp & 0xf) == 0 should be true before the call instruction is 2011-01-13 23:00:22 +00:00
crti.S Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:07:51 +00:00
crtn.S Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:07:51 +00:00
Makefile Stop calling _init/_fini methods from crt1 for dynamic binaries. Do 2012-03-11 20:04:09 +00:00