aboutsummaryrefslogtreecommitdiff
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
commit097f809a197dcb5f2c1b878c0604be5c185c4db8 (patch)
tree3531995e73afe46e124efafd42dfcf3ff11c86d4 /gas/cgen.c
parente19f872c5bec6fbb9476abdc4ea5cee44da598e2 (diff)
downloadgdb-097f809a197dcb5f2c1b878c0604be5c185c4db8.zip
gdb-097f809a197dcb5f2c1b878c0604be5c185c4db8.tar.gz
gdb-097f809a197dcb5f2c1b878c0604be5c185c4db8.tar.bz2
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 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)