aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-07-04 10:09:07 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-07-04 10:09:07 -0300
commit9fc639f654dc004736836613be703e6bed0c36a8 (patch)
treeaeeae806fb256585cf9a274a53c697b968286efc
parent2b92982e2369d292560793bee8e730f695f48ff3 (diff)
downloadglibc-9fc639f654dc004736836613be703e6bed0c36a8.zip
glibc-9fc639f654dc004736836613be703e6bed0c36a8.tar.gz
glibc-9fc639f654dc004736836613be703e6bed0c36a8.tar.bz2
elf: Make dl-rseq-symbols Linux only
And avoid a Hurd build failures. Checked on x86_64-linux-gnu.
-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 147f1d3..a3475f3 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -73,7 +73,6 @@ dl-routines = \
dl-origin \
dl-printf \
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 ae66590..097b5a2 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -616,6 +616,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 b4bba06..b4bba06 100644
--- a/elf/dl-rseq-symbols.S
+++ b/sysdeps/unix/sysv/linux/dl-rseq-symbols.S