aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-12-22 23:46:19 +0000
committerPer Bothner <per@bothner.com>1992-12-22 23:46:19 +0000
commit086c5e37f4a1de76b0e528ca9caa642cdc4b63df (patch)
tree6c17717aba1d8d06d72bab9f7a60620051fc87a8 /ld/ldsym.c
parent2f5e51f726c367215c4cc8c923616d129f5b6840 (diff)
downloadgdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.zip
gdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.tar.gz
gdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.tar.bz2
* 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.
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r--ld/ldsym.c2
1 files changed, 1 insertions, 1 deletions
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;