[git commit future 1/1] dl-defs.h: include dl-sysdep.h before fallbacks.

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=235c43d04b4b027c2b63ad7a342dbd2c070f46bb
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

dl-sysdep.h has to come before the fallbacks in dl-defs.h,
else the wrong macros are used.

While there adapt the guard to the file name.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 ldso/include/dl-defs.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
index be0a81d..7a3d1da 100644
--- a/ldso/include/dl-defs.h
+++ b/ldso/include/dl-defs.h
@@ -5,8 +5,8 @@
  * GNU Lesser General Public License version 2.1 or later.
  */
 
-#ifndef _LD_DEFS_H
-#define _LD_DEFS_H
+#ifndef _DL_DEFS_H
+#define _DL_DEFS_H
 
 #define FLAG_ANY             -1
 #define FLAG_TYPE_MASK       0x00ff
@@ -72,6 +72,9 @@ typedef struct {
 
 #endif
 
+/* arch specific defines */
+#include <dl-sysdep.h>
+
 /* Provide a means for a port to pass additional arguments to the _dl_start
    function.  */
 #ifndef DL_START
@@ -251,4 +254,4 @@ typedef struct {
 # define DL_MAP_SEGMENT(EPNT, PPNT, INFILE, FLAGS) 0
 #endif
 
-#endif	/* _LD_DEFS_H */
+#endif	/* _DL_DEFS_H */
-- 
1.7.3.4



More information about the uClibc-cvs mailing list