From 57f6e85c9de417fef5eece2a5b00c1104321f543 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 24 Aug 2020 22:45:51 -0400 Subject: remove redundant pthread struct members repeated for layout purposes dtv_copy, canary2, and canary_at_end existed solely to match multiple ABI and asm-accessed layouts simultaneously. now that pthread_arch.h can be included before struct __pthread is defined, the struct layout can depend on macros defined by pthread_arch.h. --- arch/powerpc/pthread_arch.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/powerpc/pthread_arch.h') diff --git a/arch/powerpc/pthread_arch.h b/arch/powerpc/pthread_arch.h index a0947763..42e88b07 100644 --- a/arch/powerpc/pthread_arch.h +++ b/arch/powerpc/pthread_arch.h @@ -14,5 +14,3 @@ static inline uintptr_t __get_tp() // the kernel calls the ip "nip", it's the first saved value after the 32 // GPRs. #define MC_PC gregs[32] - -#define CANARY canary_at_end -- cgit v1.2.1