about summary refs log tree commit diff
path: root/libc-symbols.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-16 00:44:18 +0000
committerRoland McGrath <roland@gnu.org>1995-11-16 00:44:18 +0000
commitec967c06ac7474fa58266ea309d6488ee3c53851 (patch)
treedcea408ef904d340938ac85866816b4c024319d8 /libc-symbols.h
parent2ede96c9362f1950ef309f4fb9662aea60fe9777 (diff)
downloadglibc-ec967c06ac7474fa58266ea309d6488ee3c53851.tar.gz
glibc-ec967c06ac7474fa58266ea309d6488ee3c53851.tar.xz
glibc-ec967c06ac7474fa58266ea309d6488ee3c53851.zip
Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
	instead of stdio.
	(_dl_sysdep_start): If passed user entry is zero and
	EXEC_STACK_ARGS flag set, reset user entry to &_start.

	* elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
	DT_HASH element.

	* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
	repeat weak decl using weak_symbol macro, in case using broken GCC
	(<2.8).

Wed Nov 15 18:49:55 1995  Ulrich Drepper  <drepper@ipd.info.uni-karlsruhe.de>

	* sysdeps/i386/isnanl.c: New file.
	* sysdeps/i386/isinfl.c: New file.
Diffstat (limited to 'libc-symbols.h')
-rw-r--r--libc-symbols.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc-symbols.h b/libc-symbols.h
index b08f06151e..c895fe4d36 100644
--- a/libc-symbols.h
+++ b/libc-symbols.h
@@ -235,8 +235,10 @@ extern const char _libc_intl_domainname[];
 
 /* Declare SET for use in this module, if defined in another module.  */
 #define symbol_set_declare(set)	\
-  extern void *const __start_##set __attribute__ ((__weak__));	\
-  extern void *const __stop_##set __attribute__ ((__weak__));
+  extern void *const __start_##set __attribute__ ((__weak__));		\
+  extern void *const __stop_##set __attribute__ ((__weak__));		\
+  /* Gratuitously repeat weak decl, in case using broken GCC (<2.8).  */\
+  weak_symbol (__start_##set) weak_symbol (__stop_##set)
 
 /* Return a pointer (void *const *) to the first element of SET.  */
 #define symbol_set_first_element(set)	(&__start_##set)