aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2003-10-08 12:40:26 +0000
committerHans-Peter Nilsson <hp@axis.com>2003-10-08 12:40:26 +0000
commit6a33aff473fa59850c8b688b9594d019145afd25 (patch)
tree9d90ccf5a288421a5d3af132602885a7564e120c /ld/ldexp.c
parentb8fe28d49f7b55af2f9a4adc6d5993a7ad7d8406 (diff)
downloadgdb-6a33aff473fa59850c8b688b9594d019145afd25.zip
gdb-6a33aff473fa59850c8b688b9594d019145afd25.tar.gz
gdb-6a33aff473fa59850c8b688b9594d019145afd25.tar.bz2
* ldexp.c (fold_name) <case DEFINED>: Set section of result to
abs_output_section.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index ce57790..cce0cdf 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -497,7 +497,7 @@ fold_name (etree_type *tree,
&& (h->type == bfd_link_hash_defined
|| h->type == bfd_link_hash_defweak
|| h->type == bfd_link_hash_common));
- result.section = 0;
+ result.section = abs_output_section;
result.valid_p = TRUE;
}
break;