]> git.ipfire.org Git - thirdparty/glibc.git/commit - include/shlib-compat.h
Force building with -fno-common
authorFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jul 2021 18:09:14 +0000 (20:09 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jul 2021 18:09:14 +0000 (20:09 +0200)
commit7c241325d67af9e24ff03d4c6f6280c17ea181f8
tree5667f94ae80c6e75dc1bac29ab4c51d48cfad084
parentdc76a059fded7a203c82dbb91d4fc1f43d3250db
Force building with -fno-common

As a result, is not necessary to specify __attribute__ ((nocommon))
on individual definitions.

GCC 10 defaults to -fno-common on all architectures except ARC,
but this change is compatible with older GCC versions and ARC, too.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
21 files changed:
Makeconfig
csu/libc-start.c
elf/dl-support.c
elf/rtld.c
include/shlib-compat.h
malloc/malloc.c
malloc/mtrace.c
misc/regexp.c
nptl/libc_multiple_threads.c
nptl/lowlevellock.c
nptl/pthread_create.c
nptl/pthread_keys.c
nptl/vars.c
resolv/res_libc.c
stdlib/abort.c
sunrpc/key_call.c
sunrpc/rpc_common.c
sunrpc/svcauth_des.c
sysdeps/nptl/dl-tls_init_tp.c
sysdeps/powerpc/nofpu/sim-full.c
sysdeps/unix/sysv/linux/timer_routines.c