Pull debug symbols in for statically linked binary.
Reviewed by: desichen
This commit is contained in:
parent
5d492a0d63
commit
0dabb2c8a0
@ -73,6 +73,7 @@ int __pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
||||
int __pthread_mutex_lock(pthread_mutex_t *);
|
||||
int __pthread_mutex_trylock(pthread_mutex_t *);
|
||||
void _thread_init_hack(void);
|
||||
extern int _thread_state_running;
|
||||
|
||||
static void init_private(void);
|
||||
static void init_main_thread(struct pthread *thread);
|
||||
@ -224,6 +225,9 @@ _libpthread_init(struct pthread *curthread)
|
||||
if ((references[0] == NULL) || (libgcc_references[0] == NULL))
|
||||
PANIC("Failed loading mandatory references in _thread_init");
|
||||
|
||||
/* Pull debug symbols in for static binary */
|
||||
_thread_state_running = PS_RUNNING;
|
||||
|
||||
/*
|
||||
* Check the size of the jump table to make sure it is preset
|
||||
* with the correct number of entries.
|
||||
|
@ -73,6 +73,7 @@ int __pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
||||
int __pthread_mutex_lock(pthread_mutex_t *);
|
||||
int __pthread_mutex_trylock(pthread_mutex_t *);
|
||||
void _thread_init_hack(void);
|
||||
extern int _thread_state_running;
|
||||
|
||||
static void init_private(void);
|
||||
static void init_main_thread(struct pthread *thread);
|
||||
@ -224,6 +225,9 @@ _libpthread_init(struct pthread *curthread)
|
||||
if ((references[0] == NULL) || (libgcc_references[0] == NULL))
|
||||
PANIC("Failed loading mandatory references in _thread_init");
|
||||
|
||||
/* Pull debug symbols in for static binary */
|
||||
_thread_state_running = PS_RUNNING;
|
||||
|
||||
/*
|
||||
* Check the size of the jump table to make sure it is preset
|
||||
* with the correct number of entries.
|
||||
|
Loading…
Reference in New Issue
Block a user