diff options
author | Jeff Law <law@redhat.com> | 2001-08-29 17:23:39 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2001-08-29 17:23:39 +0000 |
commit | 0dec92862f20c0db9673c6de60b3f9b4cfb754b6 (patch) | |
tree | a0209ba065a77dc9586704917782a33d800185ed /include/elf/h8.h | |
parent | 0a83638b54ee9dd615b9c801a578350db2d393a6 (diff) | |
download | gdb-0dec92862f20c0db9673c6de60b3f9b4cfb754b6.zip gdb-0dec92862f20c0db9673c6de60b3f9b4cfb754b6.tar.gz gdb-0dec92862f20c0db9673c6de60b3f9b4cfb754b6.tar.bz2 |
* 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.
Diffstat (limited to 'include/elf/h8.h')
-rw-r--r-- | include/elf/h8.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/elf/h8.h b/include/elf/h8.h index d7ad4eb..ac9db56 100644 --- a/include/elf/h8.h +++ b/include/elf/h8.h @@ -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 |