瀏覽代碼

Require that libc calls init and terminate

Jeremy Soller 6 年之前
父節點
當前提交
91f0dd6e3f
共有 2 個文件被更改,包括 0 次插入4 次删除
  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)