-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
cat <<EOF
-/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2016 Free Software Foundation, Inc.
Copying and distribution of this script, with or without modification,
are permitted in any medium without royalty provided the copyright
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
/* gcc uses crtbegin.o to find the start of the constructors, so
we make sure it is first. Because this is a wildcard, it
${RELOCATING+ _edata = . ; }
} ${RELOCATING+ > data ${RELOCATING+AT> text}}
+ __romdatastart = LOADADDR(.data);
+ __romdatacopysize = SIZEOF(.data);
+
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
{
${RELOCATING+. = ALIGN(2);}
- ${RELOCATING+ PROVIDE (__bss_start = .) ; }
+ ${RELOCATING+ PROVIDE (__bss_start = .); }
+ ${RELOCATING+ PROVIDE (__bssstart = .); }
*(.lower.bss.* .lower.bss)
${RELOCATING+. = ALIGN(2);}
*(.bss)
*(COMMON)
${RELOCATING+ PROVIDE (__bss_end = .) ; }
} ${RELOCATING+ > data}
+ ${RELOCATING+ PROVIDE (__bsssize = SIZEOF(.bss)); }
.noinit ${RELOCATING+ SIZEOF(.bss) + ADDR(.bss)} :
{
.comment 0 : { *(.comment) }
EOF
-source $srcdir/scripttempl/DWARF.sc
+. $srcdir/scripttempl/DWARF.sc
cat <<EOF
- .MP430.attributes 0 :
+ .MSP430.attributes 0 :
{
KEEP (*(.MSP430.attributes))
KEEP (*(.gnu.attributes))