Browse Source

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.
Waldemar Brodkorb 8 years ago
parent
commit
9747e322b3
3 changed files with 4 additions and 4 deletions
  1. 2 2
      extra/Configs/Config.in
  2. 2 0
      ldso/include/dl-defs.h
  3. 0 2
      libc/sysdeps/linux/ia64/bits/byteswap.h

+ 2 - 2
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"

+ 2 - 0
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.  */

+ 0 - 2
libc/sysdeps/linux/ia64/bits/byteswap.h

@@ -46,6 +46,4 @@
          __v; }))
 #endif
 
-#endif
-
 #include <bits/byteswap-common.h>