From: Adhemerval Zanella Date: Thu, 4 Jul 2024 13:09:07 +0000 (-0300) Subject: elf: Make dl-rseq-symbols Linux only X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=643709c6eeaa04cd48916c3bdb017f149d8ae6ac;p=thirdparty%2Fglibc.git elf: Make dl-rseq-symbols Linux only And avoid a Hurd build failures. Checked on x86_64-linux-gnu. (cherry picked from commit 9fc639f654dc004736836613be703e6bed0c36a8) --- diff --git a/elf/Makefile b/elf/Makefile index 951ce751f7..82f2a789e2 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 94747b37a6..eecee36870 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -496,6 +496,7 @@ endif ifeq ($(subdir),elf) sysdep-rtld-routines += dl-brk dl-sbrk dl-getcwd dl-openat64 dl-opendir +dl-routines += dl-rseq-symbols others += pldd install-bin += pldd 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