diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-11-13 12:00:38 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-14 12:39:49 +0100 |
commit | c9bf28d625ad1533935d40ae94b15453d0c98508 (patch) | |
tree | ec77f0be1a406609afba8567eca89091b45277eb /sysdeps | |
parent | 70c6e15654928c603c6d24bd01cf62e7a8e2ce9b (diff) | |
download | glibc-c9bf28d625ad1533935d40ae94b15453d0c98508.zip glibc-c9bf28d625ad1533935d40ae94b15453d0c98508.tar.gz glibc-c9bf28d625ad1533935d40ae94b15453d0c98508.tar.bz2 |
nios2: Work around backend bug triggered by csu/libc-tls.c (GCC PR 92499)
Change-Id: If5df5b05d15f0418af821a9ac8cc0fad53437b10
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/Makefile b/sysdeps/unix/sysv/linux/nios2/Makefile index 5688a16..9342e45 100644 --- a/sysdeps/unix/sysv/linux/nios2/Makefile +++ b/sysdeps/unix/sysv/linux/nios2/Makefile @@ -7,3 +7,12 @@ ifeq ($(subdir),misc) sysdep_headers += sys/cachectl.h sysdep_routines += cacheflush endif + +ifeq ($(subdir),csu) +# Work around an incorrect assumption that an object of variably +# modified type, with a small fixed size but a large variable-sized +# part (the static_slotinfo variable in libc-tls.c) is allocated in +# the small data section, not the data section where it belongs based +# on its size. See GCC PR 92499. +CFLAGS-libc-tls.c += -mgpopt=none +endif |