From 9747e322b3ac8c3957746904b3ff56c0d53dcf4f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 16 Oct 2015 19:25:44 +0200 Subject: 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. --- extra/Configs/Config.in | 4 ++-- ldso/include/dl-defs.h | 2 ++ libc/sysdeps/linux/ia64/bits/byteswap.h | 2 -- 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 #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 -- cgit v1.2.3