1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the

symbols weak.
This commit is contained in:
Roland McGrath
1995-09-09 00:01:05 +00:00
parent c64908b01f
commit f87cd5a229
2 changed files with 5 additions and 1 deletions

View File

@ -214,7 +214,8 @@ Cambridge, MA 02139, USA. */
/* Declare SET for use in this module, if defined in another module. */
#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. */
#define symbol_set_first_element(set) (&__start_##set)