Commit 91f0dd6e authored by Jeremy Soller's avatar Jeremy Soller

Require that libc calls init and terminate

parent a12978cc
......@@ -46,8 +46,6 @@
#include "pthread.h"
#include "implement.h"
__attribute__((section(".preinit_array"))) typeof(pthread_init) *__pthread_init = pthread_init;
void pthread_init(void)
{
......
......@@ -46,8 +46,6 @@
#include "pthread.h"
#include "implement.h"
__attribute__((section(".fini_array"))) typeof(pthread_terminate) *__pthread_terminate = pthread_terminate;
void pthread_terminate(void)
{
if (pte_processInitialized)
......
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