Update year range in copyright notice of all files.
[external/binutils.git] / ld / scripttempl / armcoff.sc
index cefd6eb..eb26519 100644 (file)
@@ -1,5 +1,12 @@
 # Linker script for ARM COFF.
 # Based on i386coff.sc by Ian Taylor <ian@cygnus.com>.
+#
+# Copyright (C) 2014-2017 Free Software Foundation, Inc.
+# 
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+
 test -z "$ENTRY" && ENTRY=_start
 if test -z "${DATA_ADDR}"; then
   if test "$LD_FLAG" = "N" || test "$LD_FLAG" = "n"; then
@@ -17,23 +24,14 @@ 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
+/* Copyright (C) 2014-2017 Free Software Foundation, Inc.
+
+   Copying and distribution of this script, with or without modification,
+   are permitted in any medium without royalty provided the copyright
+   notice and this notice are preserved.  */
+
 OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", "${LITTLE_OUTPUT_FORMAT}")
 ${LIB_SEARCH_DIRS}
 
@@ -75,16 +73,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__ = . ;}