* ldlang.c (init_os): Ensure sections mentioned in load_base
authorAlan Modra <amodra@gmail.com>
Fri, 6 Dec 2002 22:33:18 +0000 (22:33 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 6 Dec 2002 22:33:18 +0000 (22:33 +0000)
are initialized.

ld/ChangeLog
ld/ldlang.c

index 09b9c7de1e887e139518de3199eab73ff45dfcb1..a3c1faf16a0078028e71af59cf6aae296efb6682 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (init_os): Ensure sections mentioned in load_base
+       are initialized.
+
 2002-12-05  Alan Modra  <amodra@bigpond.net.au>
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
index c2a11627a3ae7538b5d0f0ce66c7ac99a89ebacd..66b4b13e20c3c7a5a26a7916b982f98cb7de0d8d 100644 (file)
@@ -912,6 +912,9 @@ init_os (s)
      mention are initialized.  */
   if (s->addr_tree != NULL)
     exp_init_os (s->addr_tree);
+
+  if (s->load_base != NULL)
+    exp_init_os (s->load_base);
 }
 
 /* Make sure that all output sections mentioned in an expression are