ubsan: bpf: left shift cannot be represented in type 'DI' (aka 'long')
[deliverable/binutils-gdb.git] / ld / scripttempl / tic80coff.sc
index 055c496bb8cc101eeb22b323bc8ccc95999b3e63..692227a8b433e43b730ddb38db739d1fb6deb11b 100644 (file)
@@ -1,7 +1,7 @@
 # Linker script for TI TMS320C80 (tic80) COFF.
 #
-# Copyright (C) 2014 Free Software Foundation, Inc.
-# 
+# Copyright (C) 2014-2019 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.
@@ -26,7 +26,7 @@ test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x80000 + SIZEOF_HEADERS"
 test -z "$ENTRY" && ENTRY=__start
 
 cat <<EOF
-/* Copyright (C) 2014 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2019 Free Software Foundation, Inc.
 
    Copying and distribution of this script, with or without modification,
    are permitted in any medium without royalty provided the copyright
@@ -40,8 +40,8 @@ ${RELOCATING+ENTRY (${ENTRY})}
 SECTIONS
 {
   .text ${RELOCATING+ $TEXT_START_ADDR} : {
-    *(.init)
-    *(.fini)
+    ${RELOCATING+KEEP (*(SORT_NONE(.init)))
+    KEEP (*(SORT_NONE(.fini)))}
     *(.text)
   }
   .const ALIGN(4) : {
@@ -67,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.024539 seconds and 4 git commands to generate.