Explorar o código

Require that libc calls init and terminate

Jeremy Soller %!s(int64=6) %!d(string=hai) anos
pai
achega
91f0dd6e3f
Modificáronse 2 ficheiros con 0 adicións e 4 borrados
  1. 0 2
      pthread_init.c
  2. 0 2
      pthread_terminate.c

+ 0 - 2
pthread_init.c

@@ -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)
 {
 

+ 0 - 2
pthread_terminate.c

@@ -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)