mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
symbols weak.
This commit is contained in:
parent
c64908b01f
commit
f87cd5a229
@ -1,5 +1,8 @@
|
|||||||
Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
|
||||||
|
symbols weak.
|
||||||
|
|
||||||
* conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
|
* conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
|
||||||
not empty.
|
not empty.
|
||||||
|
|
||||||
|
@ -214,7 +214,8 @@ Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
/* Declare SET for use in this module, if defined in another module. */
|
/* Declare SET for use in this module, if defined in another module. */
|
||||||
#define symbol_set_declare(set) \
|
#define symbol_set_declare(set) \
|
||||||
extern void *const __start_##set, *const __stop_##set;
|
extern void *const __start_##set __attribute__ ((__weak__)); \
|
||||||
|
extern void *const __stop_##set __attribute__ ((__weak__));
|
||||||
|
|
||||||
/* Return a pointer (void *const *) to the first element of SET. */
|
/* Return a pointer (void *const *) to the first element of SET. */
|
||||||
#define symbol_set_first_element(set) (&__start_##set)
|
#define symbol_set_first_element(set) (&__start_##set)
|
||||||
|
Loading…
Reference in New Issue
Block a user