aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf64hppa.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/elf64hppa.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/elf64hppa.sc')
-rw-r--r--ld/scripttempl/elf64hppa.sc13
1 files changed, 12 insertions, 1 deletions
diff --git a/ld/scripttempl/elf64hppa.sc b/ld/scripttempl/elf64hppa.sc
index d529f8d..59bcb05 100644
--- a/ld/scripttempl/elf64hppa.sc
+++ b/ld/scripttempl/elf64hppa.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 0)
@@ -259,7 +264,7 @@ STACK=" .stack ${RELOCATING-0}${RELOCATING+${STACK_ADDR}} :
TEXT_START_ADDR="SEGMENT_START(\"text-segment\", ${TEXT_START_ADDR})"
SHLIB_TEXT_START_ADDR="SEGMENT_START(\"text-segment\", ${SHLIB_TEXT_START_ADDR:-0})"
-# 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"
else
@@ -267,6 +272,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})