diff --git a/ld/ChangeLog b/ld/ChangeLog index fb616b9427..28c6218e08 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-10-08 Hans-Peter Nilsson + + * ldexp.c (fold_name) : Set section of result to + abs_output_section. + 2003-10-07 Bob Wilson * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, diff --git a/ld/ldexp.c b/ld/ldexp.c index ce57790632..cce0cdfc6d 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;