Commit 4b87ab0d authored by Jeremy Soller's avatar Jeremy Soller

Add pointers to pthread_init and pthread_terminate

parent 6720dfdc
......@@ -46,6 +46,8 @@
#include "pthread.h"
#include "implement.h"
int (*pthread_init_ptr)(void) __attribute__ ((section (".init_array"))) = &pthread_init;
int pthread_init(void)
{
......
......@@ -46,6 +46,7 @@
#include "pthread.h"
#include "implement.h"
void (*pthread_terminate_ptr)(void) __attribute__ ((section (".fini_array"))) = &pthread_terminate;
void pthread_terminate(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment