aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
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;