From ba323ff5a60679fc55112311c8d19515abdc6eeb Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 17 Apr 2020 06:43:48 -0700 Subject: [PATCH] Remove __wrap___sfp_handle_exceptions --- sysdeps/x86/fpu/sfp-exceptions.c | 4 ---- sysdeps/x86_64/fpu/Makefile | 1 - 2 files changed, 5 deletions(-) diff --git a/sysdeps/x86/fpu/sfp-exceptions.c b/sysdeps/x86/fpu/sfp-exceptions.c index a60a5f9376..74ce0716e2 100644 --- a/sysdeps/x86/fpu/sfp-exceptions.c +++ b/sysdeps/x86/fpu/sfp-exceptions.c @@ -55,7 +55,3 @@ __sfp_handle_exceptions (int _fex) math_force_eval (f / g); } } -/* The build uses a linker wrap option to force libgcc use this - implementation (--wrap) and it requires prepend the symbol name with - '__wrap_'. */ -strong_alias (__sfp_handle_exceptions, __wrap___sfp_handle_exceptions) diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index aa30ba7b07..a95e3f74f4 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -25,7 +25,6 @@ endif ifeq ($(subdir),math) libm-routines += sfp-exceptions -LDFLAGS-m.so += -Wl,--wrap=__sfp_handle_exceptions # Variables for libmvec tests. ifeq ($(build-mathvec),yes) -- 2.25.2