From: Samuel Thibault Date: Sat, 27 May 2023 21:06:00 +0000 (+0200) Subject: mach: Fix startup with stack protector X-Git-Tag: glibc-2.38~187 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0660ab264fdfd49555430790267b539d1177192f;p=thirdparty%2Fglibc.git mach: Fix startup with stack protector thread_set_state() is used to set up TLS, so stack protection can not be used yet. --- diff --git a/mach/Makefile b/mach/Makefile index 2c09c294063..c602f546ca3 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))