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/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a52d39c00463fb12e5cb8fc3dd92ead80e0ff8;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 0997e72566..d079ab55ab 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 21bcd1920a..4a9daa5351 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -368,6 +368,7 @@ endif ifeq ($(subdir),elf) sysdep-rtld-routines += dl-brk dl-sbrk dl-getcwd dl-openat64 dl-opendir +dl-routines += dl-rseq-symbols libof-lddlibc4 = lddlibc4 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