Kaynağa Gözat

Require that libc calls init and terminate

Jeremy Soller 6 yıl önce
ebeveyn
işleme
91f0dd6e3f
2 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  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)