]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
missed from 2006-10-19 commit.
authorAlan Modra <amodra@gmail.com>
Mon, 23 Oct 2006 03:07:49 +0000 (03:07 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Oct 2006 03:07:49 +0000 (03:07 +0000)
ld/emultempl/armelf.em

index 17fc522c74be33e9121f047f8c0ba0a0a1756e44..f78b4957e9da818175d57e2b78a4b4048b582ef5 100644 (file)
@@ -123,9 +123,6 @@ arm_elf_before_allocation (void)
     }
   /* We should be able to set the size of the interworking stub section.  */
 
-  /* Call the standard elf routine.  */
-  gld${EMULATION_NAME}_before_allocation ();
-
   /* Here we rummage through the found bfds to collect glue information.  */
   /* FIXME: should this be based on a command line option? krk@cygnus.com  */
   {
@@ -140,6 +137,9 @@ arm_elf_before_allocation (void)
       }
   }
 
+  /* Call the standard elf routine.  */
+  gld${EMULATION_NAME}_before_allocation ();
+
   /* We have seen it all. Allocate it, and carry on.  */
   bfd_elf32_arm_allocate_interworking_sections (& link_info);
 }