aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-24 19:18:45 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-24 19:18:45 +0000
commit34f63668bfffb0bcdf86470a79b809d11335c1a2 (patch)
tree76548f37493585a6b37182b0b8ba106649339b49
parent8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d (diff)
downloadfsf-binutils-gdb-34f63668bfffb0bcdf86470a79b809d11335c1a2.zip
fsf-binutils-gdb-34f63668bfffb0bcdf86470a79b809d11335c1a2.tar.gz
fsf-binutils-gdb-34f63668bfffb0bcdf86470a79b809d11335c1a2.tar.bz2
* config/tc-ppc.h: Fix prototype declaration.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-ppc.h18
2 files changed, 13 insertions, 9 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c408735..68490b9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-24 Andreas Jaeger <aj@suse.de>
+
+ * config/tc-ppc.h: Fix prototype declaration.
+
2001-08-23 Jakub Jelinek <jakub@redhat.com>
* config/tc-ia64.c (dot_endp): Set function symbol sizes.
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index d2cd1b8..c973d0c 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -1,5 +1,5 @@
/* tc-ppc.h -- Header file for tc-ppc.c.
- Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
@@ -56,7 +56,7 @@ extern int target_big_endian;
/* The target BFD format. */
#define TARGET_FORMAT (ppc_target_format ())
-extern char* ppc_target_format ();
+extern char* ppc_target_format PARAMS ((void));
/* Permit temporary numeric labels. */
#define LOCAL_LABELS_FB 1
@@ -232,17 +232,17 @@ extern int ppc_section_flags PARAMS ((int, int, int));
extern const char *ppc_comment_chars;
/* Keep relocations relative to the GOT, or non-PC relative. */
-#define tc_fix_adjustable(FIX) \
- ((FIX)->fx_r_type != BFD_RELOC_16_GOTOFF \
- && (FIX)->fx_r_type != BFD_RELOC_LO16_GOTOFF \
- && (FIX)->fx_r_type != BFD_RELOC_HI16_GOTOFF \
- && (FIX)->fx_r_type != BFD_RELOC_HI16_S_GOTOFF \
- && (FIX)->fx_r_type != BFD_RELOC_GPREL16 \
+#define tc_fix_adjustable(FIX) \
+ ((FIX)->fx_r_type != BFD_RELOC_16_GOTOFF \
+ && (FIX)->fx_r_type != BFD_RELOC_LO16_GOTOFF \
+ && (FIX)->fx_r_type != BFD_RELOC_HI16_GOTOFF \
+ && (FIX)->fx_r_type != BFD_RELOC_HI16_S_GOTOFF \
+ && (FIX)->fx_r_type != BFD_RELOC_GPREL16 \
&& (FIX)->fx_r_type != BFD_RELOC_VTABLE_INHERIT \
&& (FIX)->fx_r_type != BFD_RELOC_VTABLE_ENTRY \
&& ! S_IS_EXTERNAL ((FIX)->fx_addsy) \
&& ! S_IS_WEAK ((FIX)->fx_addsy) \
- && ((FIX)->fx_pcrel \
+ && ((FIX)->fx_pcrel \
|| ((FIX)->fx_subsy != NULL \
&& (S_GET_SEGMENT ((FIX)->fx_subsy) \
== S_GET_SEGMENT ((FIX)->fx_addsy))) \