* include/libc-symbols.h: Fix comment typo.

From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
This commit is contained in:
Roland McGrath 2006-02-24 03:27:16 +00:00
parent 0f289b2a11
commit 5536dfcbb8
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-02-23 Roland McGrath <roland@redhat.com> 2006-02-23 Roland McGrath <roland@redhat.com>
* include/libc-symbols.h: Fix comment typo.
From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
* sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail" * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
label is always used. label is always used.

View File

@ -1,6 +1,7 @@
/* Support macros for making weak and strong aliases for symbols, /* Support macros for making weak and strong aliases for symbols,
and for using symbol sets and linker warnings with GNU ld. and for using symbol sets and linker warnings with GNU ld.
Copyright (C) 1995-1998,2000-2003,2004, 2005 Free Software Foundation, Inc. Copyright (C) 1995-1998,2000-2003,2004,2005,2006
Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -502,7 +503,7 @@ for linking")
} }
libc_hidden_weak (foo) libc_hidden_weak (foo)
Simularly for global data. If references to foo within libc.so should Similarly for global data. If references to foo within libc.so should
always go to foo defined in libc.so, then in include/foo.h you add: always go to foo defined in libc.so, then in include/foo.h you add:
libc_hidden_proto (foo) libc_hidden_proto (foo)
@ -517,7 +518,7 @@ for linking")
int foo = INITIAL_FOO_VALUE; int foo = INITIAL_FOO_VALUE;
libc_hidden_data_weak (foo) libc_hidden_data_weak (foo)
If foo is normally just an alias (strong or weak) of some other function, If foo is normally just an alias (strong or weak) to some other function,
you should use the normal strong_alias first, then add libc_hidden_def you should use the normal strong_alias first, then add libc_hidden_def
or libc_hidden_weak: or libc_hidden_weak: