aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:06:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:06:48 +0200
commit0660ab264fdfd49555430790267b539d1177192f (patch)
tree0d402d45d27d6dcb55b6cb4fd66c67e4eb32ca14 /mach
parent64d9ebae87731f1604a41e9df9bbe3c80c6cb5b8 (diff)
downloadglibc-0660ab264fdfd49555430790267b539d1177192f.zip
glibc-0660ab264fdfd49555430790267b539d1177192f.tar.gz
glibc-0660ab264fdfd49555430790267b539d1177192f.tar.bz2
mach: Fix startup with stack protector
thread_set_state() is used to set up TLS, so stack protection can not be used yet.
Diffstat (limited to 'mach')
-rw-r--r--mach/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/mach/Makefile b/mach/Makefile
index 2c09c29..c602f54 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -62,6 +62,7 @@ CFLAGS-RPC_vm_protect.o = $(no-stack-protector)
CFLAGS-RPC_i386_set_gdt.o = $(no-stack-protector)
CFLAGS-RPC_i386_set_ldt.o = $(no-stack-protector)
CFLAGS-RPC_task_get_special_port.o = $(no-stack-protector)
+CFLAGS-RPC_thread_set_state.o = $(no-stack-protector)
# Translate GNU names for CPUs into the names used in Mach header files.
mach-machine = $(patsubst powerpc,ppc,$(base-machine))