This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: tilepro-linux: Broken in TC_CONS_FIX_NEW
- From: Alan Modra <amodra at gmail dot com>
- To: Jan-Benedict Glaw <jbglaw at lug-owl dot de>
- Cc: Walter Lee <walt at tilera dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 16 Apr 2014 20:56:43 +0930
- Subject: Re: tilepro-linux: Broken in TC_CONS_FIX_NEW
- Authentication-results: sourceware.org; auth=none
- References: <20140416095133 dot GT648 at lug-owl dot de>
On Wed, Apr 16, 2014 at 11:51:33AM +0200, Jan-Benedict Glaw wrote:
> Hi!
>
> The recent change (gas TC_PARSE_CONS_EXPRESSION communication with
> TC_CONS_FIX_NEW) left tilepro-linux non-compiling (cf.
> http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=198396):
Oops, seems like I need to add tilegx and tilepro to my list of targets
to test.
* config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
* config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
diff --git a/gas/config/tc-tilegx.h b/gas/config/tc-tilegx.h
index bdeecdc..6de89da 100644
--- a/gas/config/tc-tilegx.h
+++ b/gas/config/tc-tilegx.h
@@ -53,7 +53,7 @@ struct tilegx_operand;
extern void tilegx_cons_fix_new (struct frag *, int,
int, struct expressionS *);
-#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP) \
+#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP, RELOC) \
tilegx_cons_fix_new (FRAG, WHERE, NBYTES, EXP)
extern int tilegx_parse_name (char *, expressionS *, char *);
diff --git a/gas/config/tc-tilepro.h b/gas/config/tc-tilepro.h
index edb51d0..92d31b1 100644
--- a/gas/config/tc-tilepro.h
+++ b/gas/config/tc-tilepro.h
@@ -54,7 +54,7 @@ struct tilepro_operand;
extern void tilepro_cons_fix_new (struct frag *, int,
int, struct expressionS *);
-#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP) \
+#define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP, RELOC) \
tilepro_cons_fix_new (FRAG, WHERE, NBYTES, EXP)
extern int tilepro_parse_name (char *, expressionS *, char *);
--
Alan Modra
Australia Development Lab, IBM