* tc.h (md_pcrel_from): Don't declare if defined as a macro.
authorAlan Modra <amodra@gmail.com>
Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)
gas/ChangeLog
gas/tc.h

index 9b53bbe..c53d37d 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * tc.h (md_pcrel_from): Don't declare if defined as a macro.
+
 2003-12-03  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
 
        * config/tc-m32r.h : Add support for new machine m32r2.
index 47d0a59..f4a2826 100644 (file)
--- a/gas/tc.h
+++ b/gas/tc.h
@@ -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 * fragP, segT segment);
 #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);