1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line

entries in the map file match too.
This commit is contained in:
Roland McGrath
2003-03-13 21:51:07 +00:00
parent 0579fabbe8
commit 6461e57784
8 changed files with 66 additions and 53 deletions

View File

@ -227,9 +227,6 @@ start_thread (void *arg)
THREAD_SETMEM (pd, result, pd->start_routine (pd->arg));
}
/* The thread is exiting now. */
atomic_bit_set (&pd->cancelhandling, EXITING_BIT);
/* Clean up any state libc stored in thread-local variables. */
__libc_thread_freeres ();
@ -268,6 +265,10 @@ start_thread (void *arg)
}
}
/* The thread is exiting now. Don't set this bit until after we've hit
the event-reporting breakpoint, so that td_thr_get_info on us while at
the breakpoint reports TD_THR_RUN state rather than TD_THR_ZOMBIE. */
atomic_bit_set (&pd->cancelhandling, EXITING_BIT);
/* If the thread is detached free the TCB. */
if (IS_DETACHED (pd))