about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-07-04 10:09:07 -0300
committerFlorian Weimer <fweimer@redhat.com>2024-07-16 16:36:42 +0200
commitd9d019d674f95509b5001f4d878ae09e32ea7a10 (patch)
treee342cbe46136cc2e802d14072123fafa476b0082
parent7bfc35959dae3287e9097a960ebfddb19441bb55 (diff)
downloadglibc-d9d019d674f95509b5001f4d878ae09e32ea7a10.tar.gz
glibc-d9d019d674f95509b5001f4d878ae09e32ea7a10.tar.xz
glibc-d9d019d674f95509b5001f4d878ae09e32ea7a10.zip
elf: Make dl-rseq-symbols Linux only
And avoid a Hurd build failures.

Checked on x86_64-linux-gnu.

(cherry picked from commit 9fc639f654dc004736836613be703e6bed0c36a8)
-rw-r--r--elf/Makefile1
-rw-r--r--sysdeps/unix/sysv/linux/Makefile4
-rw-r--r--sysdeps/unix/sysv/linux/dl-rseq-symbols.S (renamed from elf/dl-rseq-symbols.S)0
3 files changed, 4 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 04e1d7ded5..c2af11b92c 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -74,7 +74,6 @@ dl-routines = \
   dl-printf \
   dl-profile \
   dl-reloc \
-  dl-rseq-symbols \
   dl-runtime \
   dl-scope \
   dl-setup_hash \
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index be801e3be4..623a7d4de0 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -587,6 +587,10 @@ tests += \
 endif
 
 ifeq ($(subdir),elf)
+dl-routines += \
+  dl-rseq-symbols \
+  # dl-routines
+
 sysdep-rtld-routines += \
   dl-brk \
   dl-getcwd \
diff --git a/elf/dl-rseq-symbols.S b/sysdeps/unix/sysv/linux/dl-rseq-symbols.S
index b4bba06a99..b4bba06a99 100644
--- a/elf/dl-rseq-symbols.S
+++ b/sysdeps/unix/sysv/linux/dl-rseq-symbols.S