aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-01-26 19:57:59 +0000
committerIan Lance Taylor <ian@airs.com>1993-01-26 19:57:59 +0000
commita625bbb1e81e2ac51f01c56c683cccf6fa8f0646 (patch)
tree743c6a1fb82db4a8712940ebb3b9736c9693ed57 /binutils
parent8a045e502fcd1062bd342e1fd397ea0c2f12e644 (diff)
downloadgdb-a625bbb1e81e2ac51f01c56c683cccf6fa8f0646.zip
gdb-a625bbb1e81e2ac51f01c56c683cccf6fa8f0646.tar.gz
gdb-a625bbb1e81e2ac51f01c56c683cccf6fa8f0646.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/copy.c2
1 files changed, 1 insertions, 1 deletions
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;