Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Tue, 26 Jan 1993 19:57:59 +0000 (19:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 26 Jan 1993 19:57:59 +0000 (19:57 +0000)
* 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

index 7309ed6f95ed29241a62816f0531808a37e2bf96..74aa0965f7906b481377fa6453fa0225fadd8417 100644 (file)
@@ -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;