Module Name: src Committed By: christos Date: Tue Apr 20 21:42:32 UTC 2021
Modified Files: src/lib/csu: Makefile src/lib/csu/common: crt0-common.c src/lib/libc: Makefile.inc src/lib/libc/gen: Makefile.inc getprogname.c setproctitle.c src/lib/libc/misc: Makefile.inc initfini.c src/lib/libc/stdlib: _env.c Added Files: src/lib/csu/common: csu-common.h Log Message: Instead of compiling files with -fcommon, create an include file and declare the 3 symbols that need to be common using an attribute. Put all the 3 symbol definitions in libc in one place (initfini.c). Reviewed by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/csu/Makefile cvs rdiff -u -r1.23 -r1.24 src/lib/csu/common/crt0-common.c cvs rdiff -u -r0 -r1.1 src/lib/csu/common/csu-common.h cvs rdiff -u -r1.19 -r1.20 src/lib/libc/Makefile.inc cvs rdiff -u -r1.211 -r1.212 src/lib/libc/gen/Makefile.inc cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/getprogname.c cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/setproctitle.c cvs rdiff -u -r1.4 -r1.5 src/lib/libc/misc/Makefile.inc cvs rdiff -u -r1.14 -r1.15 src/lib/libc/misc/initfini.c cvs rdiff -u -r1.10 -r1.11 src/lib/libc/stdlib/_env.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.