* expr.h: Fix comments in operatorT typedef.

* config/tc-z8k.c: Add 2003 to copyright message.
	Fold s_segm() and s_unseg() into one function s_segm(parm) which
	decides by the parameter.
	(md_begin): Don't set linkrelax.  Only set Z8002 default if no
	command line argument was given to select the intended
	architecure.
	(get_interrupt_operand): Warn if NOP type code is emitted.
	(newfix): New parameter 'size', forward it to 'fix_new_exp'.
	(apply_fix): Call newfix with additional 'size' parameter.
	(build_bytes): Remove unused variable 'nib'.  Detect overflow in
	4 bit immediate arguments.
	(md_longopts): Add 'linkrelax' option.
	(md_parse_option): Adapt to new s_segm function.  Set 'linkrelax'
	variable when 'linkrelax' command line option is specified.
	(md_show_usage): Display 'linkrelax' option.
	(md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8.  Add cases
	R_CALLR and R_REL16.
	* config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
This commit is contained in:
Christian Groessler
2003-05-01 19:59:33 +00:00
parent 6ae2f58071
commit 7f31df7cab
4 changed files with 131 additions and 68 deletions

View File

@@ -68,23 +68,23 @@ typedef enum {
O_multiply,
/* (X_add_symbol / X_op_symbol) + X_add_number. */
O_divide,
/* X_add_symbol % X_op_symbol) + X_add_number. */
/* (X_add_symbol % X_op_symbol) + X_add_number. */
O_modulus,
/* X_add_symbol << X_op_symbol) + X_add_number. */
/* (X_add_symbol << X_op_symbol) + X_add_number. */
O_left_shift,
/* X_add_symbol >> X_op_symbol) + X_add_number. */
/* (X_add_symbol >> X_op_symbol) + X_add_number. */
O_right_shift,
/* X_add_symbol | X_op_symbol) + X_add_number. */
/* (X_add_symbol | X_op_symbol) + X_add_number. */
O_bit_inclusive_or,
/* X_add_symbol |~ X_op_symbol) + X_add_number. */
/* (X_add_symbol |~ X_op_symbol) + X_add_number. */
O_bit_or_not,
/* X_add_symbol ^ X_op_symbol) + X_add_number. */
/* (X_add_symbol ^ X_op_symbol) + X_add_number. */
O_bit_exclusive_or,
/* X_add_symbol & X_op_symbol) + X_add_number. */
/* (X_add_symbol & X_op_symbol) + X_add_number. */
O_bit_and,
/* X_add_symbol + X_op_symbol) + X_add_number. */
/* (X_add_symbol + X_op_symbol) + X_add_number. */
O_add,
/* X_add_symbol - X_op_symbol) + X_add_number. */
/* (X_add_symbol - X_op_symbol) + X_add_number. */
O_subtract,
/* (X_add_symbol == X_op_symbol) + X_add_number. */
O_eq,