From: Ian Lance Taylor Date: Tue, 26 Jan 1993 19:57:59 +0000 (+0000) Subject: Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a625bbb1e81e2ac51f01c56c683cccf6fa8f0646;p=binutils-gdb.git 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. --- diff --git a/binutils/copy.c b/binutils/copy.c index 7309ed6f95e..74aa0965f79 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;