Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only assign the environ in the startup code when environ is NULL. | kib | 2013-01-07 | 1 | -5/+9 |
| | | | | | | | | | | | | | | Preloaded library could have changed the environment, and unconditional assingment to the environ undoes the customization. The binaries needs to be recompiled to get the fix. Move the common code to set up environ and __progname into the helper. Note that ia64 possibly not fixed, due to it still using old csu. Reported and tested by: John Hein <jhein@symmetricom.com> Reviewed by: kan, scf Approved by: secteam (simon) MFC after: 2 weeks | ||||
* | Stop calling _init/_fini methods from crt1 for dynamic binaries. Do | kib | 2012-03-11 | 1 | -0/+114 |
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 |