about summary refs log tree commit diff
path: root/sysdeps/generic/init-first.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-01-15 08:08:20 +0000
committerRoland McGrath <roland@gnu.org>2003-01-15 08:08:20 +0000
commit9ae10332179e1f3c4fafa2f93f27276ea4974b19 (patch)
treea83a975a155ad75bb0ed42bad1f576adf87edfc0 /sysdeps/generic/init-first.c
parent6b0647718062c0057f90756d3cae467e4be10e63 (diff)
downloadglibc-9ae10332179e1f3c4fafa2f93f27276ea4974b19.tar.gz
glibc-9ae10332179e1f3c4fafa2f93f27276ea4974b19.tar.xz
glibc-9ae10332179e1f3c4fafa2f93f27276ea4974b19.zip
* Makerules (check-abi-%): Use two rules for $(common-objpfx) and
	$(objpfx) directories, and get rid of vpath directives.  The previous
	arrangement resulted in files being written to the source directories
	when run in a clean build.  Find all .abilist files in $(..)abilist/.
	(update-abi-%): Likewise.
	(generated): Don't add .symlist files, they'll be intermediates.

	* sysdeps/generic/init-first.c: Add a comment.

	* elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.

	* scripts/gen-as-const.awk: Grok lone "--" as a separator between
	#includes and expressions.

	* scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
	config list when it already contains cpu-.*-os.* without / part.

	* Makerules (sed-remove-dotdot): New variable.
	($(common-objpfx)%.make): Use it.  Depend on $(before-compile).
	($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
	(check-abi-config): New variable, append /tls or /notls to the tuple.
	(check-abi-%): Use that for -v config value.
	Find .abilist files in abilist/libfoo.abilist, not in subdir.
	* Rules: Move bits/stdio_lim.h generation rules to Makerules.
Diffstat (limited to 'sysdeps/generic/init-first.c')
-rw-r--r--sysdeps/generic/init-first.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/init-first.c b/sysdeps/generic/init-first.c
index 61e974fdf6..fa21274c73 100644
--- a/sysdeps/generic/init-first.c
+++ b/sysdeps/generic/init-first.c
@@ -20,6 +20,8 @@
 #include <unistd.h>
 #include <sys/types.h>
 
+/* Set nonzero if we have to be prepared for more then one libc being
+   used in the process.  Safe assumption if initializer never runs.  */
 int __libc_multiple_libcs attribute_hidden = 1;
 
 extern void __libc_init (int, char **, char **);