소스 검색

remove additional libc struct accessor cruft

commit f9cccfc16e58b39ee381fbdfb8688db3bb8e3555 left behind the part
in libc.c; remove it too.
Rich Felker 10 년 전
부모
커밋
3e827b7e68
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      src/internal/libc.c

+ 0 - 12
src/internal/libc.c

@@ -1,18 +1,6 @@
 #include "libc.h"
 
-#ifdef USE_LIBC_ACCESSOR
-struct __libc *__libc_loc()
-{
-	static struct __libc __libc;
-	return &__libc;
-}
-#else
 struct __libc __libc;
-#endif
-
-#ifdef BROKEN_VISIBILITY
-__asm__(".hidden __libc");
-#endif
 
 size_t __hwcap;
 size_t __sysinfo;