Added: K1OM machine number
authorReto Achermann <acreto@emmentaler1.ethz.ch>
Sun, 23 Mar 2014 21:53:01 +0000 (22:53 +0100)
committerStefan Kaestle <stefan.kaestle@inf.ethz.ch>
Wed, 20 Aug 2014 13:27:56 +0000 (15:27 +0200)
hake/K1om.hs
include/elf/elf.h

index a89fe4b..e108b7c 100644 (file)
@@ -38,7 +38,7 @@ cxxcompiler = "x86_64-k1om-barrelfish-g++"
 
 ourCommonFlags = [ Str "-m64",
                    Str "-mno-red-zone",
-                   Str "-fPIE",
+-- incompatible                   Str "-fPIE",
                    Str "-fno-stack-protector", 
                    Str "-Wno-unused-but-set-variable",
                    Str "-Wno-packed-bitfield-compat",
@@ -121,7 +121,7 @@ kernelCFlags = [ Str s | s <- [ "-fno-builtin",
 
 
 kernelLdFlags = [ Str s | s <- [ "-Wl,-N",
-                                "-pie",
+-- incompatible                                "-pie",
                                  "-fno-builtin",
                                 "-nostdlib",
                                 "-Wl,--fatal-warnings",
index 66bdcfb..a63b5e7 100644 (file)
@@ -167,6 +167,7 @@ __BEGIN_DECLS
 #define EM_TINYJ        61      /* Advanced Logic Corp. TinyJ processor. */
 #define EM_X86_64       62      /* Advanced Micro Devices x86-64 */
 #define EM_AMD64        EM_X86_64       /* Advanced Micro Devices x86-64 (compat) */
+#define EM_K1OM         181    /* Intel K1OM (Xeon Phi) */
 
 /* Non-standard or deprecated. */
 #define EM_486          6       /* Intel i486. */