From: Alan Modra Date: Wed, 3 Dec 2003 23:39:38 +0000 (+0000) Subject: * tc.h (md_pcrel_from): Don't declare if defined as a macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=147f6d69f44ff94b01e60a61f56c420d2ed0b76f;p=binutils-gdb.git * tc.h (md_pcrel_from): Don't declare if defined as a macro. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 9b53bbe0a30..c53d37d573d 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 47d0a59b868..f4a2826ae07 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);