ISO conversion fallout

Alan Modra amodra@bigpond.net.au
Wed Dec 3 23:39:00 GMT 2003


The old declaration's PARAMS macro stopped the preprocessor expanding
tc-pj.h's definition of md_pcrel_from..

gas/ChangeLog
	* tc.h (md_pcrel_from): Don't declare if defined as a macro.

Index: gas/tc.h
===================================================================
RCS file: /cvs/src/src/gas/tc.h,v
retrieving revision 1.5
diff -u -p -r1.5 tc.h
--- gas/tc.h	3 Dec 2003 03:39:58 -0000	1.5
+++ gas/tc.h	3 Dec 2003 23:36:19 -0000
@@ -1,6 +1,6 @@
 /* tc.h - target cpu dependent
 
-   Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 2000
+   Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 2000, 2001, 2003
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -51,7 +51,9 @@ int md_estimate_size_before_relax (fragS
 #endif
 int md_parse_option (int c, char *arg);
 void md_show_usage (FILE *);
+#ifndef md_pcrel_from
 long md_pcrel_from (fixS * fixP);
+#endif
 short tc_coff_fix2rtype (fixS * fixP);
 void md_assemble (char *str);
 void md_begin (void);

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list