about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2023-05-08 15:40:46 +0200
committerAndreas Schwab <schwab@suse.de>2023-05-22 13:31:04 +0200
commitea08d8dceab27ef464b9c00a03b5c61a741a634d (patch)
treebf432f2b221fbb2136152465863a270e86f13c76 /sysdeps
parent368b7c614b102122b86af3953daea2b30230d0a8 (diff)
downloadglibc-ea08d8dceab27ef464b9c00a03b5c61a741a634d.tar.gz
glibc-ea08d8dceab27ef464b9c00a03b5c61a741a634d.tar.xz
glibc-ea08d8dceab27ef464b9c00a03b5c61a741a634d.zip
Remove last remnants of have-protected
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/hppa/Makefile3
-rw-r--r--sysdeps/powerpc/powerpc32/Makefile3
-rw-r--r--sysdeps/powerpc/powerpc32/libgcc-compat.S4
3 files changed, 1 insertions, 9 deletions
diff --git a/sysdeps/hppa/Makefile b/sysdeps/hppa/Makefile
index 9531504c4b..b7765c31ec 100644
--- a/sysdeps/hppa/Makefile
+++ b/sysdeps/hppa/Makefile
@@ -30,9 +30,6 @@ endif
 ifeq ($(subdir),csu)
 ifeq (yes,$(build-shared))
 # Compatibility
-ifeq (yes,$(have-protected))
-CPPFLAGS-libgcc-compat.c = -DHAVE_DOT_HIDDEN
-endif
 sysdep_routines += libgcc-compat
 shared-only-routines += libgcc-compat
 endif
diff --git a/sysdeps/powerpc/powerpc32/Makefile b/sysdeps/powerpc/powerpc32/Makefile
index cf620c8269..1fff5b83bf 100644
--- a/sysdeps/powerpc/powerpc32/Makefile
+++ b/sysdeps/powerpc/powerpc32/Makefile
@@ -35,9 +35,6 @@ CFLAGS-gmon-start.o = -G0
 
 ifeq (yes,$(build-shared))
 # Compatibility
-ifeq (yes,$(have-protected))
-CPPFLAGS-libgcc-compat.S = -DHAVE_DOT_HIDDEN
-endif
 sysdep_routines += libgcc-compat
 shared-only-routines += libgcc-compat
 endif
diff --git a/sysdeps/powerpc/powerpc32/libgcc-compat.S b/sysdeps/powerpc/powerpc32/libgcc-compat.S
index ffa8f0a44a..6beac24039 100644
--- a/sysdeps/powerpc/powerpc32/libgcc-compat.S
+++ b/sysdeps/powerpc/powerpc32/libgcc-compat.S
@@ -36,20 +36,18 @@
 	.symver __floatdisf_v_glibc20,__floatdisf@GLIBC_2.0
 #endif
 
-#ifdef HAVE_DOT_HIDDEN
 	.hidden __ashldi3
 	.hidden __ashrdi3
 	.hidden __lshrdi3
 	.hidden __cmpdi2
 	.hidden __ucmpdi2
-# if !defined _SOFT_FLOAT && !defined __NO_FPRS__
+#if !defined _SOFT_FLOAT && !defined __NO_FPRS__
 	.hidden __fixdfdi
 	.hidden __fixsfdi
 	.hidden __fixunsdfdi
 	.hidden __fixunssfdi
 	.hidden __floatdidf
 	.hidden __floatdisf
-# endif
 #endif
 
 	.section	".text"