summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-16 19:25:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-16 19:27:26 +0200
commit9747e322b3ac8c3957746904b3ff56c0d53dcf4f (patch)
tree40bc25df145d3766828eaf36a131fb5c6a7ffd43
parentea86f1d8885335f2bd38a388d2ab762bd1e29427 (diff)
ia64: enable and fix compile issues
Enable ia64 in the menu. Fix build for architectures withou ld.so support. Fix syntax error in bits/byteswap.h.
-rw-r--r--extra/Configs/Config.in4
-rw-r--r--ldso/include/dl-defs.h2
-rw-r--r--libc/sysdeps/linux/ia64/bits/byteswap.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index ab6d01b05..c95425006 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -87,8 +87,8 @@ config TARGET_i386
#config TARGET_i960
# bool "i960 (BROKEN)"
-#config TARGET_ia64
-# bool "ia64"
+config TARGET_ia64
+ bool "ia64"
config TARGET_m68k
bool "m68k"
diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
index a1735f026..bedfa977e 100644
--- a/ldso/include/dl-defs.h
+++ b/ldso/include/dl-defs.h
@@ -73,9 +73,11 @@ typedef struct {
#endif
#ifdef _LIBC
+#ifndef __ARCH_HAS_NO_SHARED__
/* arch specific defines */
#include <dl-sysdep.h>
#endif
+#endif
/* Provide a means for a port to pass additional arguments to the _dl_start
function. */
diff --git a/libc/sysdeps/linux/ia64/bits/byteswap.h b/libc/sysdeps/linux/ia64/bits/byteswap.h
index 3226669bb..0e352fcad 100644
--- a/libc/sysdeps/linux/ia64/bits/byteswap.h
+++ b/libc/sysdeps/linux/ia64/bits/byteswap.h
@@ -46,6 +46,4 @@
__v; }))
#endif
-#endif
-
#include <bits/byteswap-common.h>