* h8.h (EF_H8_MACH): New mask for encoded machine type.
authorJeff Law <law@redhat.com>
Wed, 29 Aug 2001 17:23:39 +0000 (17:23 +0000)
committerJeff Law <law@redhat.com>
Wed, 29 Aug 2001 17:23:39 +0000 (17:23 +0000)
        (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
        machine types.

include/elf/ChangeLog
include/elf/h8.h

index 3e4e55ca475ca9d264a49548de061873aa637d7d..eab67fed717102091ffb855d5e530552205a914c 100644 (file)
@@ -1,4 +1,10 @@
-Tue Aug 28 23:32:34 2001  J"orn Rennecke <amylaar@redhat.com>
+2001-08-29  Jeff Law <law@redhat.com>
+
+       * h8.h (EF_H8_MACH): New mask for encoded machine type.
+       (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
+       machine types.
+
+Tue Aug 26 23:32:34 2001  J"orn Rennecke <amylaar@redhat.com>
 
        * h8.h: New file.
 
index d7ad4ebd2a393203988ff4ce0e12601aa271c9fc..ac9db566a483fb8f2393cfc3556f14919133e0f7 100644 (file)
@@ -83,4 +83,14 @@ START_RELOC_NUMBERS (elf_h8_reloc_type)
   RELOC_NUMBER (R_H8_OPscttop, 141)
 END_RELOC_NUMBERS (R_H8_max)
 
+/* Machine variant if we know it.  This field was invented at Cygnus,
+   but it is hoped that other vendors will adopt it.  If some standard
+   is developed, this code should be changed to follow it. */
+
+#define EF_H8_MACH             0x00FF0000
+
+#define E_H8_MACH_H8300                0x00800000
+#define E_H8_MACH_H8300H       0x00810000
+#define E_H8_MACH_H8300S       0x00820000
+
 #endif