From 097f809a197dcb5f2c1b878c0604be5c185c4db8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 25 Jun 2004 16:11:09 +0000 Subject: Add support for M32R GOT relocs --- gas/cgen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gas/cgen.c') diff --git a/gas/cgen.c b/gas/cgen.c index 5ce7f4c..384618e 100644 --- a/gas/cgen.c +++ b/gas/cgen.c @@ -1,5 +1,5 @@ /* GAS interface for targets using CGEN: Cpu tools GENerator. - Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -355,6 +355,10 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP) *strP = input_line_pointer; input_line_pointer = hold; +#ifdef TC_CGEN_PARSE_FIX_EXP + opinfo = TC_CGEN_PARSE_FIX_EXP (opinfo, & exp); +#endif + /* FIXME: Need to check `want'. */ switch (exp.X_op) -- cgit v1.1