diff --git a/ld/ChangeLog b/ld/ChangeLog index fb616b9427b..28c6218e083 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> + + * ldexp.c (fold_name) <case DEFINED>: Set section of result to + abs_output_section. + 2003-10-07 Bob Wilson <bob.wilson@acm.org> * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, diff --git a/ld/ldexp.c b/ld/ldexp.c index ce577906320..cce0cdfc6de 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;