From a625bbb1e81e2ac51f01c56c683cccf6fa8f0646 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 26 Jan 1993 19:57:59 +0000 Subject: [PATCH] Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com) * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section. --- binutils/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binutils/copy.c b/binutils/copy.c index 7309ed6..74aa096 100644 --- a/binutils/copy.c +++ b/binutils/copy.c @@ -185,7 +185,7 @@ filter_symbols (abfd, syms, symcount) sym = from[src_count]; if ((flags & BSF_GLOBAL) /* Keep if external */ || (sym->section == &bfd_und_section) - || (sym->section == &bfd_com_section)) + || (bfd_is_com_section (sym->section))) keep = 1; else if ((flags & BSF_DEBUGGING) != 0) /* debugging symbol */ keep = strip_symbols != strip_debug; -- 2.7.4