]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* scripttempl/armcoff.sc: Revert 2010-09-22 change.
authorDave Korn <dave.korn@artimi.com>
Fri, 24 Sep 2010 04:41:12 +0000 (04:41 +0000)
committerDave Korn <dave.korn@artimi.com>
Fri, 24 Sep 2010 04:41:12 +0000 (04:41 +0000)
ld/ChangeLog
ld/scripttempl/armcoff.sc

index e7c8e774b2b827f310d1132d8736e4732d65e53b..3ecb59cff318d8afe75e34538d2ac969008f01e5 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-23  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * scripttempl/armcoff.sc: Revert 2010-09-22 change.
+
 2010-09-23  Alan Modra  <amodra@gmail.com>
 
        * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
index cefd6eba3f8b3c64743795d7f669731f0b21e815..ebc019a89f06ae5603e44bc5d2a42eb347ff5b5d 100644 (file)
@@ -17,22 +17,7 @@ DTOR='.dtor : {
     *(SORT(.dtors.*))
     *(.dtor)
   }'
-if test "${RELOCATING}"; then
-  R_IDATA234='
-    SORT(*)(.idata$2)
-    SORT(*)(.idata$3)
-    /* These zeroes mark the end of the import list.  */
-    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
-    SORT(*)(.idata$4)'
-  R_IDATA5='SORT(*)(.idata$5)'
-  R_IDATA67='
-    SORT(*)(.idata$6)
-    SORT(*)(.idata$7)'
-else
-  R_IDATA234=
-  R_IDATA5=
-  R_IDATA67=
-fi
+
 cat <<EOF
 OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", "${LITTLE_OUTPUT_FORMAT}")
 ${LIB_SEARCH_DIRS}
@@ -75,16 +60,6 @@ SECTIONS
   }
   ${CONSTRUCTING+${RELOCATING-$CTOR}}
   ${CONSTRUCTING+${RELOCATING-$DTOR}}
-  .idata ${RELOCATING+BLOCK(__section_alignment__)} :
-  {
-    /* This cannot currently be handled with grouped sections.
-       See pep.em:sort_sections.  */
-       ${R_IDATA234}
-       ${RELOCATING+__IAT_start__ = .;}
-    ${R_IDATA5}
-       ${RELOCATING+__IAT_end__ = .;}
-    ${R_IDATA67}
-  }
   .bss ${RELOCATING+ ALIGN(0x8)} :
   {                                    
     ${RELOCATING+ __bss_start__ = . ;}