lkml.org 
[lkml]   [2004]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 2.6.9-rc1-mm3] [m32r] Add m32r ELF machine code
From
Hi, 

Here is a patch for m32r's ELF machine code.
And also change from "Hitachi H8/300" to "Renesas H8/300"(*).
Please apply this.

(*) The SuperH, M32R and H8* - now these are all Renesas's products.

Thank you.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>


--- linux-2.6.9-rc1-mm3.orig/include/linux/elf.h 2004-08-14 14:36:17.000000000 +0900
+++ linux-2.6.9-rc1-mm3/include/linux/elf.h 2004-09-03 22:33:18.000000000 +0900
@@ -88,7 +88,9 @@ typedef __s64 Elf64_Sxword;

#define EM_V850 87 /* NEC v850 */

-#define EM_H8_300 46 /* Hitachi H8/300,300H,H8S */
+#define EM_M32R 88 /* Renesas M32R */
+
+#define EM_H8_300 46 /* Renesas H8/300,300H,H8S */

/*
* This is an interim value that we will use until the committee comes
@@ -99,6 +101,9 @@ typedef __s64 Elf64_Sxword;
/* Bogus old v850 magic number, used by old tools. */
#define EM_CYGNUS_V850 0x9080

+/* Bogus old m32r magic number, used by old tools. */
+#define EM_CYGNUS_M32R 0x9041
+
/*
* This is the old interim value for S/390 architecture
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.019 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site