From b676888f48385a82787956c6268550b1d7225feb Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 4 Nov 2004 14:53:19 +0000 Subject: [PATCH] * cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10) (EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New macros. --- include/elf/ChangeLog | 6 ++++++ include/elf/cris.h | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 7b537b4d4f3..cf84a38b614 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +2004-11-04 Hans-Peter Nilsson + + * 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 * dwarf2.h: Sync with gcc dwarf2.h. Fix typo. diff --git a/include/elf/cris.h b/include/elf/cris.h index 3bd03e8aa81..ffb64dbd0d8 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 */ -- 2.30.2