aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r--ld/ldsym.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 007d191..3ab8799 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -360,7 +360,10 @@ LANG_FOR_EACH_INPUT_STATEMENT(entry)
for (i = 0; i < entry->symbol_count; i++)
{
asymbol *p = entry->asymbols[i];
+ /* FIXME, temporary hack, since not all of ld knows about the new abs section convention */
+ if (p->section == 0)
+ p->section = &bfd_abs_section;
if (flag_is_global(p->flags) )
{
/* We are only interested in outputting