aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-10-13 19:17:05 +0000
committerKen Raeburn <raeburn@cygnus>1993-10-13 19:17:05 +0000
commitcbd8493e6cf7c37e1e1bdf88bbf8952956dbe2a6 (patch)
treecebae83496b3888090bb83f63019f01e62e927c4
parentf3bb56f1c8759193df672a0b771ff5be28d9155d (diff)
downloadgdb-cbd8493e6cf7c37e1e1bdf88bbf8952956dbe2a6.zip
gdb-cbd8493e6cf7c37e1e1bdf88bbf8952956dbe2a6.tar.gz
gdb-cbd8493e6cf7c37e1e1bdf88bbf8952956dbe2a6.tar.bz2
coff-i386.c (i3coff_object_p): Now static.
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/coff-i386.c17
2 files changed, 16 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c8190e9..1c8e07d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,7 @@
Wed Oct 13 14:28:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
+ * coff-i386.c (i3coff_object_p): Now static.
+
* Makefile.in: Updated dependencies.
(.dep, .dep1, dep.sed): New targets, to make "make dep" work
better.
diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c
index f76332d..981b510 100644
--- a/bfd/coff-i386.c
+++ b/bfd/coff-i386.c
@@ -284,11 +284,22 @@ static reloc_howto_type howto_table[] =
cache_ptr->addend += asect->vma; \
}
+/* For aix386, define a variable to track the number of sections discarded
+ during a strip. */
+
+#if defined(_AIX) && defined(_I386)
+#define USE_DISCARDED_SECTIONS_COUNT
+int discarded_sections_count = 0;
+#endif
+
#include "coffcode.h"
-bfd_target *i3coff_object_p(a)
-bfd *a ;
-{ return coff_object_p(a); }
+static bfd_target *
+i3coff_object_p(a)
+ bfd *a;
+{
+ return coff_object_p(a);
+}
bfd_target
#ifdef TARGET_SYM