From cbd8493e6cf7c37e1e1bdf88bbf8952956dbe2a6 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 13 Oct 1993 19:17:05 +0000 Subject: coff-i386.c (i3coff_object_p): Now static. --- bfd/ChangeLog | 2 ++ bfd/coff-i386.c | 17 ++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'bfd') 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 -- cgit v1.1