aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/nds32elf.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/nds32elf.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/nds32elf.sc')
-rw-r--r--ld/scripttempl/nds32elf.sc14
1 files changed, 13 insertions, 1 deletions
diff --git a/ld/scripttempl/nds32elf.sc b/ld/scripttempl/nds32elf.sc
index 076e120..fe7f5dd 100644
--- a/ld/scripttempl/nds32elf.sc
+++ b/ld/scripttempl/nds32elf.sc
@@ -1,3 +1,9 @@
+# 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.
+
# This file is variant of elf.sc. For nds32, because the data will be
# classified into different sections according to their size, this script
# describe these sections map. The order is ".sdata_d, .sdata_w, .sdata_h,
@@ -255,7 +261,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}"
NDS32_INIT=""
@@ -265,6 +271,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})