# Linker script for MIPS systems.
# Ian Lance Taylor <ian@cygnus.com>.
#
-# Copyright (C) 2014-2017 Free Software Foundation, Inc.
-#
+# Copyright (C) 2014-2021 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.
fi
cat <<EOF
-/* Copyright (C) 2014-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2021 Free Software Foundation, Inc.
Copying and distribution of this script, with or without modification,
are permitted in any medium without royalty provided the copyright
{
${RELOCATING+. = ${TEXT_START_ADDR};}
.text : {
- ${RELOCATING+ _ftext = . };
- *(.init)
- ${RELOCATING+ eprol = .};
+ ${RELOCATING+_ftext = .;
+ KEEP (*(SORT_NONE(.init)))
+ eprol = .;}
*(.text)
- *(.fini)
- ${RELOCATING+ etext = .};
- ${RELOCATING+ _etext = .};
+ ${RELOCATING+KEEP (*(SORT_NONE(.fini)))
+ etext = .;
+ _etext = .;}
}
${RELOCATING+. = ${DATA_ADDR};}
.rdata : {