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.
This commit is contained in:
Rich Felker
2020-08-27 18:36:45 -04:00
parent 3a5b9ae7cf
commit 57f6e85c9d
8 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -1579,7 +1579,7 @@ static void install_new_tls(void)
/* Install new dtv for each thread. */
for (j=0, td=self; !j || td!=self; j++, td=td->next) {
td->dtv = td->dtv_copy = newdtv[j];
td->dtv = newdtv[j];
}
__tl_unlock();