diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-28 19:56:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-28 19:56:24 +0000 |
commit | bc4647a17c3218bac51c4ed69757d4b72a2ea1dc (patch) | |
tree | b07ba908ecaeade0a1325d1f9f035731ad345d66 /include | |
parent | 40a54e4d8d66e81a2a5dd5de020ae97cd0019b01 (diff) | |
download | glibc-bc4647a17c3218bac51c4ed69757d4b72a2ea1dc.zip glibc-bc4647a17c3218bac51c4ed69757d4b72a2ea1dc.tar.gz glibc-bc4647a17c3218bac51c4ed69757d4b72a2ea1dc.tar.bz2 |
Update.
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 58aff18..169f4d3 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -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 |