Commit 37006e43 authored by Nick Clifton's avatar Nick Clifton

fix_new_exp: Print an error if passed a register.

parent d4fc7db8
2001-03-23 Richard Sandiford <>
* write.c (fix_new_exp): Print an error if passed a register.
2001-03-23 Hans-Peter Nilsson <>
* config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
......@@ -283,6 +283,10 @@ fix_new_exp (frag, where, size, exp, pcrel, r_type)
case O_absent:
case O_register:
as_bad (_("register value used as expression"));
case O_add:
/* This comes up when _GLOBAL_OFFSET_TABLE_+(.-L0) is read, if
the difference expression cannot immediately be reduced. */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment