aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.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/elf.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/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc13
1 files changed, 12 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 6d0d13d..4368fd9 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -1,3 +1,8 @@
+# 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.
#
# Unusual variables checked by this code:
# NOP - four byte opcode for no-op (defaults to none)
@@ -308,7 +313,7 @@ else
SIZEOF_HEADERS_CODE=
fi
-# if this is for an embedded system, don't add SIZEOF_HEADERS.
+# If this is for an embedded system, don't add SIZEOF_HEADERS.
if [ -z "$EMBEDDED" ]; then
test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}${SIZEOF_HEADERS_CODE}"
else
@@ -316,6 +321,12 @@ else
fi
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}", "${BIG_OUTPUT_FORMAT}",
"${LITTLE_OUTPUT_FORMAT}")
OUTPUT_ARCH(${OUTPUT_ARCH})