From 498031085659f4d8c75aebfba383344e9ea36f47 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 2 Dec 2003 07:37:28 +0000 Subject: * config.make.in (fno-unit-at-a-time): Define. * configure.in: Add test for -fno-unit-at-a-time. Fix text for -fpie. * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time). * locale/Makefile (CFLAGS-loadlocale.c): Likewise. For linuxthreads: * Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time). * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s): Likewise. For nptl: * Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time). * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s): Likewise. --- nptl/Makefile | 2 +- nptl/sysdeps/unix/sysv/linux/x86_64/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'nptl') diff --git a/nptl/Makefile b/nptl/Makefile index 138ff47..d50ae0a 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -312,7 +312,7 @@ endif extra-objs += $(crti-objs) $(crtn-objs) omit-deps += crti crtn -CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions +CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time) endif CFLAGS-flockfile.c = -D_IO_MTSAFE_IO diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile index d3e5eb5..b32ce29 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -1,3 +1,4 @@ ifeq ($(subdir),nptl) -CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions -fno-asynchronous-unwind-tables +CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions \ + -fno-asynchronous-unwind-tables $(fno-unit-at-a-time) endif -- cgit v1.1