From 971174429db1b053f79074021a17b7c375adfd9e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Mar 2002 01:55:18 +0000 Subject: 2002-03-23 Roland McGrath * sysdeps/mach/hurd/i386/Makefile (sysdep_routines, shared-only-routines): Don't add framestate, reverting 2001-10-02 change. * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines): Do it here instead, only if [$(unwind-find-fde) = yes]. --- sysdeps/generic/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sysdeps/generic/Makefile') diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile index 980fc42fb0..b9ee959c5e 100644 --- a/sysdeps/generic/Makefile +++ b/sysdeps/generic/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1992,93,94,95,96,97,99 Free Software Foundation, Inc. +# Copyright (C) 1992,93,94,95,96,97,99,2002 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -34,3 +34,11 @@ endif ifeq ($(subdir),string) CFLAGS-wordcopy.c += -Wno-uninitialized endif + +ifeq ($(subdir),elf) +ifeq (yes:yes,$(build-shared):$(unwind-find-fde)) +# This is needed to support g++ v2 and v3. +sysdep_routines += framestate +shared-only-routines += framestate +endif +endif -- cgit v1.2.3