Explain what happens for PE targeted linkers in the case where the user actually...
[deliverable/binutils-gdb.git] / ld / scripttempl / tic80coff.sc
index 2b6f6534aaba3d0411f27891e54284ee0c501d21..39d22a4bf66e24eb34596d31494dc8a5f0349ac1 100644 (file)
@@ -1,5 +1,11 @@
 # Linker script for TI TMS320C80 (tic80) COFF.
 #
+# Copyright (C) 2014-2018 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.
+#
 # Besides the shell variables set by the emulparams script, and the LD_FLAG
 # variable, the genscripts.sh script will set the following variables for each
 # time this script is run to generate one of the linker scripts for ldscripts:
@@ -20,10 +26,16 @@ test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x80000 + SIZEOF_HEADERS"
 test -z "$ENTRY" && ENTRY=__start
 
 cat <<EOF
+/* Copyright (C) 2014-2018 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}")
 ${LIB_SEARCH_DIRS}
 
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
 
 SECTIONS
 {
@@ -55,14 +67,14 @@ SECTIONS
     *(.data)
     ${RELOCATING+ __edata  =  .};
   }
-  .bss : {                                     
+  .bss : {
     ${RELOCATING+ __bss_start = .};
     *(.bss)
     *(COMMON)
      ${RELOCATING+ _end = ALIGN(0x8)};
      ${RELOCATING+ __end = ALIGN(0x8)};
   }
-  .stab  0 ${RELOCATING+(NOLOAD)} : 
+  .stab  0 ${RELOCATING+(NOLOAD)} :
   {
     [ .stab ]
   }
This page took 0.026371 seconds and 4 git commands to generate.