瀏覽代碼

Provide the ldso syscalls and string funcs earlier in the list

Eric Andersen 22 年之前
父節點
當前提交
5b61513518
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      ldso/include/ldso.h

+ 4 - 3
ldso/include/ldso.h

@@ -7,10 +7,8 @@
 #include <stdarg.h>
 /* Pull in the arch specific type information */
 #include <sys/types.h>
-/* Now the ldso specific headers */
-#include <dl-elf.h>
+/* Pull in the ldso syscalls and string functions */
 #include <dl-syscall.h>
-#include <dl-hash.h>
 #include <dl-string.h>
 /* Pull in the arch specific page size */
 #include <asm/page.h>
@@ -18,6 +16,9 @@
 #  define PAGE_SHIFT		12
 #  define PAGE_SIZE		(1UL << PAGE_SHIFT)
 #endif
+/* Now the ldso specific headers */
+#include <dl-elf.h>
+#include <dl-hash.h>
 
 /* Prepare for the case that `__builtin_expect' is not available.  */
 #if __GNUC__ == 2 && __GNUC_MINOR__ < 96