Skip to content
Snippets Groups Projects
Verified Commit 91f0dd6e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Require that libc calls init and terminate

parent a12978cc
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
#include "pthread.h" #include "pthread.h"
#include "implement.h" #include "implement.h"
__attribute__((section(".preinit_array"))) typeof(pthread_init) *__pthread_init = pthread_init;
void pthread_init(void) void pthread_init(void)
{ {
......
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
#include "pthread.h" #include "pthread.h"
#include "implement.h" #include "implement.h"
__attribute__((section(".fini_array"))) typeof(pthread_terminate) *__pthread_terminate = pthread_terminate;
void pthread_terminate(void) void pthread_terminate(void)
{ {
if (pte_processInitialized) if (pte_processInitialized)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment