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 e6b7afc..007d191 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -227,7 +227,7 @@ DEFUN(print_file_stuff,(f),
s != (asection *)NULL;
s = s->next) {
print_address(s->output_offset);
- if (s->flags & SEC_HAS_CONTENTS)
+ if (s->reloc_done)
{
fprintf (config.map_file, " %08x 2**%2ud %s\n",
(unsigned)bfd_get_section_size_after_reloc(s),