From 9fc639f654dc004736836613be703e6bed0c36a8 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 4 Jul 2024 10:09:07 -0300 Subject: [PATCH] elf: Make dl-rseq-symbols Linux only And avoid a Hurd build failures. Checked on x86_64-linux-gnu. --- elf/Makefile | 1 - sysdeps/unix/sysv/linux/Makefile | 4 ++++ {elf => sysdeps/unix/sysv/linux}/dl-rseq-symbols.S | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename {elf => sysdeps/unix/sysv/linux}/dl-rseq-symbols.S (100%) diff --git a/elf/Makefile b/elf/Makefile index 147f1d3437..a3475f3fb5 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 ae66590e91..097b5a26fc 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 similarity index 100% rename from elf/dl-rseq-symbols.S rename to sysdeps/unix/sysv/linux/dl-rseq-symbols.S