This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tilepro-linux: Broken in TC_CONS_FIX_NEW


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]