mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
aarch64: make the type of reg_entry::type aarch64_reg_type
gas/ChangeLog: 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-aarch64.c: Make the type of reg_entry::type aarch_reg_type.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
|
* config/tc-aarch64.c: Make the type of reg_entry::type
|
||||||
|
aarch_reg_type.
|
||||||
|
|
||||||
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
* config/tc-bfin.c (bfin_cpus): Remove sentinal.
|
* config/tc-bfin.c (bfin_cpus): Remove sentinal.
|
||||||
|
@ -247,15 +247,6 @@ struct reloc_entry
|
|||||||
bfd_reloc_code_real_type reloc;
|
bfd_reloc_code_real_type reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Structure for a hash table entry for a register. */
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
const char *name;
|
|
||||||
unsigned char number;
|
|
||||||
unsigned char type;
|
|
||||||
unsigned char builtin;
|
|
||||||
} reg_entry;
|
|
||||||
|
|
||||||
/* Macros to define the register types and masks for the purpose
|
/* Macros to define the register types and masks for the purpose
|
||||||
of parsing. */
|
of parsing. */
|
||||||
|
|
||||||
@ -301,7 +292,7 @@ typedef struct
|
|||||||
#define MULTI_REG_TYPE(T,V) BASIC_REG_TYPE(T)
|
#define MULTI_REG_TYPE(T,V) BASIC_REG_TYPE(T)
|
||||||
|
|
||||||
/* Register type enumerators. */
|
/* Register type enumerators. */
|
||||||
typedef enum
|
typedef enum aarch64_reg_type_
|
||||||
{
|
{
|
||||||
/* A list of REG_TYPE_*. */
|
/* A list of REG_TYPE_*. */
|
||||||
AARCH64_REG_TYPES
|
AARCH64_REG_TYPES
|
||||||
@ -314,6 +305,15 @@ typedef enum
|
|||||||
#undef MULTI_REG_TYPE
|
#undef MULTI_REG_TYPE
|
||||||
#define MULTI_REG_TYPE(T,V) V,
|
#define MULTI_REG_TYPE(T,V) V,
|
||||||
|
|
||||||
|
/* Structure for a hash table entry for a register. */
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
const char *name;
|
||||||
|
unsigned char number;
|
||||||
|
ENUM_BITFIELD (aarch64_reg_type_) type : 8;
|
||||||
|
unsigned char builtin;
|
||||||
|
} reg_entry;
|
||||||
|
|
||||||
/* Values indexed by aarch64_reg_type to assist the type checking. */
|
/* Values indexed by aarch64_reg_type to assist the type checking. */
|
||||||
static const unsigned reg_type_masks[] =
|
static const unsigned reg_type_masks[] =
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user