mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 10:30:20 +00:00
af5b3bc33b
* libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern storage class. GCC gives an error for non-extern data defns with the alias attribute. Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * libc-symbols.h (weak_function): New macro. For GCC 2.7+ define as __attribute__ ((weak)). * elf/dl-minimal.c: Use weak_function as keyword in function defns instead of weak_symbol (NAME) after the defn. * stdlib/strtol.c: Likewise. * sysdeps/mach/hurd/dl-sysdep.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: If this is defined, don't declare _dl_rtld_map as weak, and don't check for MAP pointing to it. RESOLVE is always null in this case, so test with #ifdef instead of if. * libc-symbols.h (symbol_set_declare): Use weak_extern instead of weak_symbol. * csu/initfini.c (_init): Likewise. * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. It was not used in any assembler code. (weak_symbol_asm): Renamed to weak_extern_asm. (weak_extern): New macro replaces weak_symbol for weak extern refs; define to weak_extern_asm for [!ASSEMBLER]. * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; define those now as aliases. Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm after GCC weak attribute decl. |
||
---|---|---|
.. | ||
alphaev5 | ||
fpu | ||
__longjmp.c | ||
__math.h | ||
_mcount.S | ||
add_n.s | ||
addmul_1.s | ||
bb_init_func.S | ||
bsd-_setjmp.S | ||
bsd-setjmp.S | ||
bytesex.h | ||
copysign.S | ||
DEFS.h | ||
Dist | ||
divl.S | ||
divlu.S | ||
divq.S | ||
divqu.S | ||
divrem.h | ||
dl-machine.h | ||
fabs.S | ||
ffs.S | ||
gmp-mparam.h | ||
htonl.S | ||
htons.S | ||
Implies | ||
jmp_buf.h | ||
lshift.s | ||
machine-gmon.h | ||
Makefile | ||
memchr.S | ||
mul_1.s | ||
ntohl.s | ||
ntohs.s | ||
reml.S | ||
remlu.S | ||
remq.S | ||
remqu.S | ||
rshift.s | ||
setjmp_aux.c | ||
setjmp.S | ||
strchr.c | ||
strlen.S | ||
sub_n.s | ||
submul_1.s | ||
udiv_qrnnd.S |