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:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user