mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* expr.h (struct expressionS): Revert last change; widen X_op.
* config/tc-alpha.c (md_begin): Check the field is wide enough.
This commit is contained in:
10
gas/expr.h
10
gas/expr.h
@ -116,8 +116,14 @@ typedef struct expressionS
|
||||
symbolS *X_op_symbol;
|
||||
/* A number to add. */
|
||||
offsetT X_add_number;
|
||||
/* The type of the expression. */
|
||||
operatorT X_op;
|
||||
/* The type of the expression. We can't assume that an arbitrary
|
||||
compiler can handle a bitfield of enum type. FIXME: We could
|
||||
check this using autoconf. */
|
||||
#ifdef __GNUC__
|
||||
operatorT X_op : 7;
|
||||
#else
|
||||
unsigned X_op : 7;
|
||||
#endif
|
||||
/* Non-zero if X_add_number should be regarded as unsigned. This is
|
||||
only valid for O_constant expressions. It is only used when an
|
||||
O_constant must be extended into a bignum (i.e., it is not used
|
||||
|
Reference in New Issue
Block a user