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 | 04794670bc4e5cce21d44e8bf89f8714f1236e55 (patch) | |
tree | 0a080c4f5d04850041af17cb72b6fc0907e4872d /include | |
parent | 0d688810ce0edea6b6a5d9c11e7b9976a1e61204 (diff) | |
download | gdb-04794670bc4e5cce21d44e8bf89f8714f1236e55.tar.gz |
* 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')
-rw-r--r-- | include/elf/ChangeLog | 8 | ||||
-rw-r--r-- | include/elf/h8.h | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 3e4e55ca475..eab67fed717 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -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. diff --git a/include/elf/h8.h b/include/elf/h8.h index d7ad4ebd2a3..ac9db566a48 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 |