소스 검색

Use -DSTATIC and remove stub_warning, not accepted

Peter S. Mazinger 18 년 전
부모
커밋
b326308200
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      include/libc-symbols.h

+ 1 - 7
include/libc-symbols.h

@@ -267,12 +267,6 @@
     = msg;
 #endif
 
-/* A canned warning for sysdeps/stub functions.  */
-#define	stub_warning(name) \
-  __make_section_unallocated (".gnu.uClibc-stub." #name) \
-  link_warning (name, \
-		"warning: " #name " is not implemented and will always fail")
-
 /* Handling on non-exported internal names.  We have to do this only
    for shared code.  */
 #ifdef SHARED
@@ -394,7 +388,7 @@
 # define __hidden_proto_hiddenattr(attrs...)
 #endif
 
-#if 1 /* SHARED */
+#ifndef STATIC
 # ifndef __ASSEMBLER__
 #  define hidden_proto(name, attrs...) __hidden_proto (name, __GI_##name, ##attrs)
 #  define __hidden_proto(name, internal, attrs...) \