]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mach: Fix startup with stack protector
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 May 2023 21:06:00 +0000 (23:06 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 May 2023 21:06:48 +0000 (23:06 +0200)
thread_set_state() is used to set up TLS, so stack protection can not be
used yet.

mach/Makefile

index 2c09c29406337849fb91c6726a9c75c3658b1904..c602f546ca356cf3062128715672c5505d0a84f6 100644 (file)
@@ -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)
 \f
 # Translate GNU names for CPUs into the names used in Mach header files.
 mach-machine = $(patsubst powerpc,ppc,$(base-machine))