1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2003-05-28  Ulrich Drepper  <drepper@redhat.com>

	* include/libc-symbols.h: Define hidden attribute for real also if
	LIBC_NONSHARED is defined.  Patch by Jakub Jelinek.

	* csu/Makefile: Add rules to build Scrt1.o.
	* sysdeps/i386/elf/start.S: Make code compilable with SHARED.
This commit is contained in:
Ulrich Drepper
2003-05-28 19:56:24 +00:00
parent 40a54e4d8d
commit bc4647a17c
5 changed files with 55 additions and 6 deletions

View File

@ -441,7 +441,8 @@
strong_alias(real, name)
#endif
#if defined HAVE_VISIBILITY_ATTRIBUTE && defined SHARED
#if defined HAVE_VISIBILITY_ATTRIBUTE \
&& (defined SHARED || defined LIBC_NONSHARED)
# define attribute_hidden __attribute__ ((visibility ("hidden")))
#else
# define attribute_hidden