aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-01-26 19:56:17 +0000
committerIan Lance Taylor <ian@airs.com>1993-01-26 19:56:17 +0000
commit8a045e502fcd1062bd342e1fd397ea0c2f12e644 (patch)
treeef52b2cc0575ea25f26d77b19786adc9916550f0 /ld/ldsym.c
parent4b9c23a9f584e14b6be0acf64bf54eb9d99a7a17 (diff)
downloadgdb-8a045e502fcd1062bd342e1fd397ea0c2f12e644.zip
gdb-8a045e502fcd1062bd342e1fd397ea0c2f12e644.tar.gz
gdb-8a045e502fcd1062bd342e1fd397ea0c2f12e644.tar.bz2
Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section.
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r--ld/ldsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 24689ed..a452921 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -275,7 +275,7 @@ process_keepsyms (table, size)
{
asymbol *s = *sym;
if (s->section == &bfd_und_section
- || s->section == &bfd_com_section
+ || bfd_is_com_section (s->section)
|| s->flags & BSF_KEEP_G)
KEEP (sym);
}
@@ -483,7 +483,7 @@ asymbol **output_buffer;
}
}
else if (p->section == &bfd_und_section
- || p->section == &bfd_com_section)
+ || bfd_is_com_section (p->section))
{
/* These must be global. */
}