summaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-06-25 16:11:09 +0000
committerNick Clifton <nickc@redhat.com>2004-06-25 16:11:09 +0000
commit19fb3172d1f395aaa103fcaaa637aacb1e474421 (patch)
tree9f886e09e9b19cad6bbd586cca04d4952374dec8 /gas/cgen.c
parent32a61b56a76e3c5f0b319e43a82f56955c6d83af (diff)
downloadbinutils-redhat-19fb3172d1f395aaa103fcaaa637aacb1e474421.tar.gz
Add support for M32R GOT relocs
Diffstat (limited to 'gas/cgen.c')
-rw-r--r--gas/cgen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index 5ce7f4c99e..384618ef8c 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)