projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a045e5
)
Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
author
Ian Lance Taylor
<ian@airs.com>
Tue, 26 Jan 1993 19:57:59 +0000
(19:57 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/binutils/copy.c
b/binutils/copy.c
index 7309ed6f95ed29241a62816f0531808a37e2bf96..74aa0965f7906b481377fa6453fa0225fadd8417 100644
(file)
--- 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;