-# Copyright (C) 2014-2017 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.
cat <<EOF
-/* Copyright (C) 2014-2017 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
${CONSTRUCTING+ __Stext = .;}
${RELOCATING+*(.startup)}
*(.text)
- ${CONSTRUCTING+__start = DEFINED(__start) ? __start :
+ ${CONSTRUCTING+__start = DEFINED(__start) ? __start :
DEFINED(_start) ? _start :
DEFINED(start) ? start :
DEFINED(.startup) ? .startup + 2 : 2;}
${CONSTRUCTING+ PROVIDE (___do_global_ctors = .);}
${CONSTRUCTING+ SHORT (0xe1fc); /* push srp */}
${CONSTRUCTING+ SHORT (0xbe7e);}
- ${CONSTRUCTING+ *(.init)}
+ ${CONSTRUCTING+ KEEP (*(SORT_NONE(.init)))}
${CONSTRUCTING+ SHORT (0x0d3e); /* jump [sp+] */}
${CONSTRUCTING+ PROVIDE (__init__end = .);}
${CONSTRUCTING+ PROVIDE (___init__end = .);}
${CONSTRUCTING+ PROVIDE (___do_global_dtors = .);}
${CONSTRUCTING+ SHORT (0xe1fc); /* push srp */}
${CONSTRUCTING+ SHORT (0xbe7e);}
- ${CONSTRUCTING+ *(.fini)}
+ ${CONSTRUCTING+ KEEP (*(SORT_NONE(.fini)))}
${CONSTRUCTING+ SHORT (0x0d3e); /* jump [sp+] */}
${CONSTRUCTING+ PROVIDE (__fini__end = .);}
${CONSTRUCTING+ ___fini__end = .;}