aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/mmo.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-08-20 10:34:58 +0100
committerNick Clifton <nickc@redhat.com>2014-08-20 10:34:58 +0100
commit985743c7fb71a8639186d4f016788d3dc9b9d0da (patch)
tree0150834076266b30ad48201b4eff9a9cbc40e5e4 /ld/scripttempl/mmo.sc
parent37186264f39b05906ccb4ea446dbe2cb22b22e77 (diff)
downloadgdb-985743c7fb71a8639186d4f016788d3dc9b9d0da.zip
gdb-985743c7fb71a8639186d4f016788d3dc9b9d0da.tar.gz
gdb-985743c7fb71a8639186d4f016788d3dc9b9d0da.tar.bz2
Add copyright notice to linker script files.
Diffstat (limited to 'ld/scripttempl/mmo.sc')
-rw-r--r--ld/scripttempl/mmo.sc14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/scripttempl/mmo.sc b/ld/scripttempl/mmo.sc
index 6671cce..8c6e318 100644
--- a/ld/scripttempl/mmo.sc
+++ b/ld/scripttempl/mmo.sc
@@ -1,8 +1,22 @@
+# Copyright (C) 2014 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.
+
# MMO is not a relocateable format, and we don't want to require an
# explicit (e.g.) "-m elf64mmix" when -r is used.
+
test -z $RELOCATEABLE_OUTPUT_FORMAT && RELOCATEABLE_OUTPUT_FORMAT=$OUTPUT_FORMAT
test -z ${RELOCATING+0} && OUTPUT_FORMAT=$RELOCATEABLE_OUTPUT_FORMAT
+
cat <<EOF
+/* Copyright (C) 2014 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. */
+
OUTPUT_FORMAT("$OUTPUT_FORMAT")
OUTPUT_ARCH(mmix)
${RELOCATING+ENTRY(Main)}