* ldexp.c (fold_name) <case DEFINED>: Set section of result to
authorHans-Peter Nilsson <hp@axis.com>
Wed, 8 Oct 2003 12:40:26 +0000 (12:40 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 8 Oct 2003 12:40:26 +0000 (12:40 +0000)
abs_output_section.

ld/ChangeLog
ld/ldexp.c

index fb616b9..28c6218 100644 (file)
@@ -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,
index ce57790..cce0cdf 100644 (file)
@@ -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;