History log of /freebsd-10-stable/lib/csu/mips/crt1.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 300323 20-May-2016 emaste

MFC r292000: Remove historical GNUC test

The requirement is for a GCC-compatible compiler and not necessarily
GCC itself. However, we currently expect any compiler used for building
the whole of FreeBSD to be GCC-compatible and many things will break if
not; there's no longer a need to have an explicit test for this in csu.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 245133 07-Jan-2013 kib

Only assign the environ in the startup code when environ is NULL.
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


# 232832 11-Mar-2012 kib

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


# 232616 06-Mar-2012 gonzo

- Remove one more no-op #ifndef


# 232580 06-Mar-2012 gonzo

- Remove NOSHARED parts since it seems to be no-op
- Call _init_tls for statically linked binaries


# 218179 01-Feb-2011 imp

Whitespace nit


# 204757 05-Mar-2010 uqs

Use default WARNS setting (of 6) for lib/csu.

PR: bin/140089
Reviewed by: jmallett
Approved by: ed (co-mentor)


# 204756 05-Mar-2010 uqs

Properly declare non-extern functions in crt1

Also move the declarations after __progname consistently to
make the distinction clearer.

Reviewed by: jmallett
Approved by: ed (co-mentor)


# 204673 03-Mar-2010 imp

__main and __gccmain are no longer required, so eliminate them.

Submitted by: jmallet@


# 178739 03-May-2008 gonzo

Bring C runtime bits for FreeBSD/mips from p4 mips2-jnpr branch.

Approved by: cognet (mentor)