ld whitespace fixes
[deliverable/binutils-gdb.git] / ld / scripttempl / nw.sc
index 3fb9bce112de14dd5ac2135c95b3ae7eeed660ea..09cc597928864aedc1593d105f6adb112b254b49 100644 (file)
@@ -1,3 +1,8 @@
+# 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.
 #
 # Unusual variables checked by this code:
 #      NOP - four byte opcode for no-op (defaults to 0)
 # When adding sections, do note that the names of some sections are used
 # when specifying the start address of the next.
 #
+
 test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}
 test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT}
 test "$LD_FLAG" = "N" && DATA_ADDR=.
-INTERP=".interp   ${RELOCATING-0} : { *(.interp)       }"
-PLT=".plt    ${RELOCATING-0} : { *(.plt)       }"
+INTERP=".interp   ${RELOCATING-0} : { *(.interp) }"
+PLT=".plt    ${RELOCATING-0} : { *(.plt) }"
+
 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}")
 OUTPUT_ARCH(${ARCH})
@@ -48,11 +61,11 @@ SECTIONS
   .dynsym      ${RELOCATING-0} : { *(.dynsym)          }
   .dynstr      ${RELOCATING-0} : { *(.dynstr)          }
   .rel.text    ${RELOCATING-0} : { *(.rel.text)                }
-  .rela.text   ${RELOCATING-0} : { *(.rela.text)       }
+  .rela.text   ${RELOCATING-0} : { *(.rela.text)       }
   .rel.data    ${RELOCATING-0} : { *(.rel.data)                }
-  .rela.data   ${RELOCATING-0} : { *(.rela.data)       }
-  .rel.rodata  ${RELOCATING-0} : { *(.rel.rodata)      }
-  .rela.rodata ${RELOCATING-0} : { *(.rela.rodata)     }
+  .rela.data   ${RELOCATING-0} : { *(.rela.data)       }
+  .rel.rodata  ${RELOCATING-0} : { *(.rel.rodata)      }
+  .rela.rodata ${RELOCATING-0} : { *(.rela.rodata)     }
   .rel.got     ${RELOCATING-0} : { *(.rel.got)         }
   .rela.got    ${RELOCATING-0} : { *(.rela.got)                }
   .rel.ctors   ${RELOCATING-0} : { *(.rel.ctors)       }
This page took 0.0255 seconds and 4 git commands to generate.