diff options
author | Nick Clifton <nickc@redhat.com> | 2014-08-20 10:34:58 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-08-20 10:34:58 +0100 |
commit | 985743c7fb71a8639186d4f016788d3dc9b9d0da (patch) | |
tree | 0150834076266b30ad48201b4eff9a9cbc40e5e4 /ld/scripttempl/nw.sc | |
parent | 37186264f39b05906ccb4ea446dbe2cb22b22e77 (diff) | |
download | binutils-985743c7fb71a8639186d4f016788d3dc9b9d0da.zip binutils-985743c7fb71a8639186d4f016788d3dc9b9d0da.tar.gz binutils-985743c7fb71a8639186d4f016788d3dc9b9d0da.tar.bz2 |
Add copyright notice to linker script files.
Diffstat (limited to 'ld/scripttempl/nw.sc')
-rw-r--r-- | ld/scripttempl/nw.sc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/scripttempl/nw.sc b/ld/scripttempl/nw.sc index 3fb9bce..234a3cd 100644 --- a/ld/scripttempl/nw.sc +++ b/ld/scripttempl/nw.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) @@ -20,12 +25,20 @@ # When adding sections, do note that the names of some sections are used # when specifying the start address of the next. # + test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT} test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT} test "$LD_FLAG" = "N" && DATA_ADDR=. INTERP=".interp ${RELOCATING-0} : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" + 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(${ARCH}) |