This is the mail archive of the binutils@sources.redhat.com 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]

ISO conversion fallout


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


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