diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-11-04 14:53:19 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-11-04 14:53:19 +0000 |
commit | b676888f48385a82787956c6268550b1d7225feb (patch) | |
tree | 3dfc27c2923be4207ae72e63d1162937986a9726 /include | |
parent | 3f1d9edd103618ad098ee229e86c17b771308bd9 (diff) | |
download | gdb-b676888f48385a82787956c6268550b1d7225feb.zip gdb-b676888f48385a82787956c6268550b1d7225feb.tar.gz gdb-b676888f48385a82787956c6268550b1d7225feb.tar.bz2 |
* cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
(EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New
macros.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/cris.h | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 7b537b4..cf84a38 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10) + (EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New + macros. + 2004-10-06 Eric Christopher <echristo@redhat.com> * dwarf2.h: Sync with gcc dwarf2.h. Fix typo. diff --git a/include/elf/cris.h b/include/elf/cris.h index 3bd03e8..ffb64db 100644 --- a/include/elf/cris.h +++ b/include/elf/cris.h @@ -98,4 +98,16 @@ END_RELOC_NUMBERS (R_CRIS_max) /* User symbols in this file have a leading underscore. */ #define EF_CRIS_UNDERSCORE 0x00000001 +/* This is a mask for different incompatible machine variants. */ +#define EF_CRIS_VARIANT_MASK 0x0000000e + +/* Variant 0; may contain v0..10 object. */ +#define EF_CRIS_VARIANT_ANY_V0_V10 0x00000000 + +/* Variant 1; contains v32 object. */ +#define EF_CRIS_VARIANT_V32 0x00000002 + +/* Variant 2; contains object compatible with v32 and v10. */ +#define EF_CRIS_VARIANT_COMMON_V10_V32 0x00000004 + #endif /* _ELF_CRIS_H */ |