]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
authorAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2003 23:35:54 +0000 (23:35 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2003 23:35:54 +0000 (23:35 +0000)
gas/ChangeLog
gas/config/tc-ppc.h

index e7584d5175dd770e2a36bab7789566618cb74874..8c9f356f939d7f944c52f54f83636a8fbb993c16 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
+
 2003-10-31  Christian Groessler  <chris@groessler.org>
 
        * config/tc-i860.c (md_pcrel_from): Fix typo in comment.
index a1c74b272b0cd4f4f131eb1213c6e740af82b015..0844f84cefab4822dae87a7e2781c4ae3e9657b9 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-ppc.h -- Header file for tc-ppc.c.
-   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
 
@@ -237,8 +237,10 @@ extern void ppc_frob_file_before_adjust PARAMS ((void));
 
 #endif /* OBJ_ELF */
 
+#if defined (OBJ_ELF) || defined (OBJ_XCOFF)
 #define TC_FORCE_RELOCATION(FIX) ppc_force_relocation (FIX)
 extern int ppc_force_relocation PARAMS ((struct fix *));
+#endif
 
 /* call md_pcrel_from_section, not md_pcrel_from */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)