diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-26 21:40:01 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:34 +0200 |
commit | 77de40bc26edb2570dd68c66107f4556eebb02d0 (patch) | |
tree | 6eb0ccfa2f6852a98c9e2b876895d73541b0d227 /ldso | |
parent | 77f287bf4117b3ba5f8cd46592cdfaadf0c6a9e4 (diff) |
dl-defs.h: include dl-sysdep.h before fallbacks.
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@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r-- | 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 f71ba9b48..d98eba4d2 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 @@ -281,4 +284,4 @@ typedef struct { # define DL_GET_RUN_ADDR(loadaddr, mapaddr) (mapaddr) #endif -#endif /* _LD_DEFS_H */ +#endif /* _DL_DEFS_H */ |