From 086c5e37f4a1de76b0e528ca9caa642cdc4b63df Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 22 Dec 1992 23:46:19 +0000 Subject: * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new macro bfd_asymbol_bfd as appropriate. * Makefile.in: Un-duplicate ldlex.c dependency. * condigure.in: Replace my_host case table by sourcing ../bfd/configure.host. Allow std-host as the default. * ldmisc.c: Change logic for C++ name demangling: There is no initial '_' to remove from stab-derived function names. --- ld/ldsym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/ldsym.c') diff --git a/ld/ldsym.c b/ld/ldsym.c index d7c1340..24689ed 100644 --- a/ld/ldsym.c +++ b/ld/ldsym.c @@ -467,7 +467,7 @@ asymbol **output_buffer; { /* We are only interested in outputting globals at this stage in special circumstances */ - if (p->the_bfd == entry->the_bfd + if (bfd_asymbol_bfd(p) == entry->the_bfd && flag_is_not_at_end(p->flags)) { /* And this is one of them */ *(output_buffer++) = p; -- cgit v1.1