Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc

Module Name:    src
Committed By:   joerg
Date:           Mon Jun 28 21:58:02 UTC 2010

Modified Files:
        src/lib/libc/misc: initfini.c
        src/lib/libc/stdlib: exit.c

Log Message:
Ensure that initfini.c is referenced by exit.c. The start up code has to
reference the latter as a return of main() results in a call to exit(3),
so this ensures that the libc constructors are run for statically linked
programs. Fixes PR 37454.

To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/misc/initfini.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/exit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index