# Linker Script for National Semiconductor's CR16C-ELF32.
+#
+# Copyright (C) 2014-2015 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.
test -z "$ENTRY" && ENTRY=_start
cat <<EOF
/* Example Linker Script for linking NS CR16C or CR16CPlus
elf32 files, which were compiled with either the near data
- model or the default data model. */
+ model or the default data model.
+
+ Copyright (C) 2014-2015 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. */
-/* Force the entry point to be entered in the output file as
- an undefined symbol. This is needed in case the entry point
- (which is not called explicitly) is in an archive (which is
- the usual case). */
-${RELOCATING+EXTERN(${ENTRY})}
${RELOCATING+ENTRY(${ENTRY})}
MEMORY