From 147f6d69f44ff94b01e60a61f56c420d2ed0b76f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 3 Dec 2003 23:39:38 +0000 Subject: [PATCH] * tc.h (md_pcrel_from): Don't declare if defined as a macro. --- gas/ChangeLog | 4 ++++ gas/tc.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9b53bbe0a3..c53d37d573 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-12-04 Alan Modra + + * tc.h (md_pcrel_from): Don't declare if defined as a macro. + 2003-12-03 Kazuhiro Inaoka * config/tc-m32r.h : Add support for new machine m32r2. diff --git a/gas/tc.h b/gas/tc.h index 47d0a59b86..f4a2826ae0 100644 --- 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);