From 985743c7fb71a8639186d4f016788d3dc9b9d0da Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 20 Aug 2014 10:34:58 +0100 Subject: [PATCH] Add copyright notice to linker script files. --- ld/ChangeLog | 92 +++++++++++++++++++++++++++++++ ld/scripttempl/DWARF.sc | 6 ++ ld/scripttempl/aix.sc | 12 ++++ ld/scripttempl/alpha.sc | 13 +++++ ld/scripttempl/alphavms.sc | 12 ++++ ld/scripttempl/aout.sc | 12 ++++ ld/scripttempl/armaout.sc | 12 ++++ ld/scripttempl/armbpabi.sc | 14 ++++- ld/scripttempl/armcoff.sc | 13 +++++ ld/scripttempl/avr.sc | 12 ++++ ld/scripttempl/avrtiny.sc | 12 ++++ ld/scripttempl/crisaout.sc | 12 ++++ ld/scripttempl/delta68.sc | 12 ++++ ld/scripttempl/dlx.sc | 12 ++++ ld/scripttempl/elf.sc | 13 ++++- ld/scripttempl/elf32cr16.sc | 13 ++++- ld/scripttempl/elf32cr16c.sc | 15 ++++- ld/scripttempl/elf32crx.sc | 15 ++++- ld/scripttempl/elf32msp430.sc | 12 +++- ld/scripttempl/elf32msp430_3.sc | 12 ++++ ld/scripttempl/elf32sh-symbian.sc | 13 ++++- ld/scripttempl/elf32xc16x.sc | 12 ++++ ld/scripttempl/elf32xc16xl.sc | 12 ++++ ld/scripttempl/elf32xc16xs.sc | 15 ++++- ld/scripttempl/elf64hppa.sc | 13 ++++- ld/scripttempl/elf_chaos.sc | 11 ++++ ld/scripttempl/elfd10v.sc | 12 ++++ ld/scripttempl/elfd30v.sc | 11 ++++ ld/scripttempl/elfi370.sc | 14 ++++- ld/scripttempl/elfm68hc11.sc | 13 ++++- ld/scripttempl/elfm68hc12.sc | 11 ++++ ld/scripttempl/elfmicroblaze.sc | 14 +++++ ld/scripttempl/elfxgate.sc | 11 ++++ ld/scripttempl/elfxtensa.sc | 13 ++++- ld/scripttempl/epiphany_4x4.sc | 12 +++- ld/scripttempl/epocpe.sc | 12 ++++ ld/scripttempl/h8300.sc | 12 ++++ ld/scripttempl/h8300h.sc | 12 ++++ ld/scripttempl/h8300hn.sc | 12 ++++ ld/scripttempl/h8300s.sc | 12 ++++ ld/scripttempl/h8300sn.sc | 12 ++++ ld/scripttempl/h8300sx.sc | 12 ++++ ld/scripttempl/h8300sxn.sc | 12 ++++ ld/scripttempl/h8500.sc | 12 ++++ ld/scripttempl/h8500b.sc | 12 ++++ ld/scripttempl/h8500c.sc | 12 ++++ ld/scripttempl/h8500m.sc | 12 ++++ ld/scripttempl/h8500s.sc | 12 ++++ ld/scripttempl/hppaelf.sc | 13 +++++ ld/scripttempl/i386beos.sc | 12 ++++ ld/scripttempl/i386coff.sc | 14 +++++ ld/scripttempl/i386go32.sc | 12 ++++ ld/scripttempl/i386msdos.sc | 12 ++++ ld/scripttempl/i860coff.sc | 12 ++++ ld/scripttempl/i960.sc | 12 ++++ ld/scripttempl/ia64vms.sc | 12 ++++ ld/scripttempl/ip2k.sc | 12 ++++ ld/scripttempl/iq2000.sc | 13 ++++- ld/scripttempl/m68kaux.sc | 13 +++++ ld/scripttempl/m68kcoff.sc | 12 ++++ ld/scripttempl/m88kbcs.sc | 13 +++++ ld/scripttempl/mcorepe.sc | 12 ++++ ld/scripttempl/mep.sc | 13 ++++- ld/scripttempl/mips.sc | 15 +++++ ld/scripttempl/mipsbsd.sc | 12 ++++ ld/scripttempl/mmo.sc | 14 +++++ ld/scripttempl/moxie.sc | 12 ++++ ld/scripttempl/nds32elf.sc | 14 ++++- ld/scripttempl/nw.sc | 13 +++++ ld/scripttempl/pe.sc | 12 ++++ ld/scripttempl/pep.sc | 12 ++++ ld/scripttempl/pj.sc | 12 ++++ ld/scripttempl/ppcpe.sc | 14 +++++ ld/scripttempl/psos.sc | 12 ++++ ld/scripttempl/riscix.sc | 12 ++++ ld/scripttempl/sh.sc | 12 ++++ ld/scripttempl/sparccoff.sc | 14 +++++ ld/scripttempl/st2000.sc | 17 ++++-- ld/scripttempl/tic30aout.sc | 12 ++++ ld/scripttempl/tic30coff.sc | 81 +++++++++++++++------------ ld/scripttempl/tic4xcoff.sc | 12 ++++ ld/scripttempl/tic54xcoff.sc | 15 ++++- ld/scripttempl/tic80coff.sc | 12 ++++ ld/scripttempl/v850.sc | 12 ++++ ld/scripttempl/v850_rh850.sc | 12 ++++ ld/scripttempl/vanilla.sc | 5 ++ ld/scripttempl/w65.sc | 12 ++++ ld/scripttempl/xstormy16.sc | 11 ++++ ld/scripttempl/z80.sc | 12 ++++ ld/scripttempl/z8000.sc | 12 ++++ 90 files changed, 1203 insertions(+), 58 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 9242ff71b1..5f7fed8040 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,95 @@ +2014-08-20 Nick Clifton + + * scripttempl/DWARF.sc: Add copyright notice. + * scripttempl/aix.sc: Likewise. + * scripttempl/alpha.sc: Likewise. + * scripttempl/alphavms.sc: Likewise. + * scripttempl/aout.sc: Likewise. + * scripttempl/armaout.sc: Likewise. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/armcoff.sc: Likewise. + * scripttempl/avr.sc: Likewise. + * scripttempl/avrtiny.sc: Likewise. + * scripttempl/crisaout.sc: Likewise. + * scripttempl/delta68.sc: Likewise. + * scripttempl/dlx.sc: Likewise. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf32xc16x.sc: Likewise. + * scripttempl/elf32xc16xl.sc: Likewise. + * scripttempl/elf32xc16xs.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxgate.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/epiphany_4x4.sc: Likewise. + * scripttempl/epocpe.sc: Likewise. + * scripttempl/h8300.sc: Likewise. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300hn.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + * scripttempl/h8300sn.sc: Likewise. + * scripttempl/h8300sx.sc: Likewise. + * scripttempl/h8300sxn.sc: Likewise. + * scripttempl/h8500.sc: Likewise. + * scripttempl/h8500b.sc: Likewise. + * scripttempl/h8500c.sc: Likewise. + * scripttempl/h8500m.sc: Likewise. + * scripttempl/h8500s.sc: Likewise. + * scripttempl/hppaelf.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386coff.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/i386msdos.sc: Likewise. + * scripttempl/i860coff.sc: Likewise. + * scripttempl/i960.sc: Likewise. + * scripttempl/ia64vms.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/m68kaux.sc: Likewise. + * scripttempl/m68kcoff.sc: Likewise. + * scripttempl/m88kbcs.sc: Likewise. + * scripttempl/mcorepe.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mips.sc: Likewise. + * scripttempl/mipsbsd.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/moxie.sc: Likewise. + * scripttempl/nds32elf.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/pe.sc: Likewise. + * scripttempl/pep.sc: Likewise. + * scripttempl/pj.sc: Likewise. + * scripttempl/ppcpe.sc: Likewise. + * scripttempl/psos.sc: Likewise. + * scripttempl/riscix.sc: Likewise. + * scripttempl/sh.sc: Likewise. + * scripttempl/sparccoff.sc: Likewise. + * scripttempl/st2000.sc: Likewise. + * scripttempl/tic30aout.sc: Likewise. + * scripttempl/tic30coff.sc: Likewise. + * scripttempl/tic4xcoff.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/tic80coff.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/v850_rh850.sc: Likewise. + * scripttempl/vanilla.sc: Likewise. + * scripttempl/w65.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + * scripttempl/z80.sc: Likewise. + * scripttempl/z8000.sc: Likewise. + 2014-08-19 Alan Modra * configure: Regenerate. diff --git a/ld/scripttempl/DWARF.sc b/ld/scripttempl/DWARF.sc index 89ff9192f0..75120a4018 100644 --- a/ld/scripttempl/DWARF.sc +++ b/ld/scripttempl/DWARF.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. +# cat <. # These variables may be overridden by the emulation file. The # defaults are appropriate for an Alpha running OSF/1. +# +# 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. + test -z "$ENTRY" && ENTRY=__start test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x120000000 + SIZEOF_HEADERS" if test "x$LD_FLAG" = "xn" -o "x$LD_FLAG" = "xN"; then @@ -10,6 +17,12 @@ else test -z "$DATA_ADDR" && DATA_ADDR=0x140000000 fi cat <. +# +# 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. PAGESIZE=0x10000 cat <. +# +# 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. + test -z "$ENTRY" && ENTRY=_start if test -z "${DATA_ADDR}"; then if test "$LD_FLAG" = "N" || test "$LD_FLAG" = "n"; then @@ -19,6 +26,12 @@ DTOR='.dtor : { }' cat < ldata} - .vects : { *(.vects) } ${RELOCATING+ > vectarea} - - } EOF diff --git a/ld/scripttempl/elf64hppa.sc b/ld/scripttempl/elf64hppa.sc index d529f8d36f..59bcb0572f 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 < ${DATA_MEMORY}}" cat < ram" cat < ram" cat < ram" cat < ram" cat < ram" cat < ram" cat < ram" cat <. +# +# 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. + test -z "$ENTRY" && ENTRY=_start # These are substituted in as variables in order to get '}' in a shell # conditional expansion. INIT='.init : { *(.init) }' FINI='.fini : { *(.fini) }' + cat <. +# +# 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. PAGESIZE=0x10000 BLOCKSIZE=0x200 cat <. +# +# 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. +# # These variables may be overridden by the emulation file. The # defaults are appropriate for a DECstation running Ultrix. + test -z "$ENTRY" && ENTRY=__start if [ -z "$EMBEDDED" ]; then @@ -14,7 +22,14 @@ if test "x$LD_FLAG" = "xn" -o "x$LD_FLAG" = "xN"; then else test -z "$DATA_ADDR" && DATA_ADDR=0x10000000 fi + cat < ram" cat < ram" cat < ram" cat <. +# +# 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. + test -z "$ENTRY" && ENTRY=_start + cat < rom + .vectors 0x00000000 : + { + *(vectors) + } -.const : -{ - *(.const) - __etext = . ; -} > rom + .text : + { + *(.text) + } > rom -.mdata : AT( ADDR(.const) + SIZEOF(.const) ) -{ - __data = . ; - *(.data); - __edata = . ; -} > ram + .const : + { + *(.const) + __etext = . ; + } > rom -.bss : -{ - __bss = . ; - *(.bss); - *(COMMON); - __ebss = . ; -} > ram + .mdata : AT( ADDR(.const) + SIZEOF(.const) ) + { + __data = . ; + *(.data); + __edata = . ; + } > ram -.ram0 : -{ - *(ram0) -} > ramblk0 + .bss : + { + __bss = . ; + *(.bss); + *(COMMON); + __ebss = . ; + } > ram -.ram1 : -{ - *(ram1) -} > ramblk1 + .ram0 : + { + *(ram0) + } > ramblk0 + .ram1 : + { + *(ram1) + } > ramblk1 } EOF diff --git a/ld/scripttempl/tic4xcoff.sc b/ld/scripttempl/tic4xcoff.sc index 83245caa10..1e40ccbea3 100644 --- a/ld/scripttempl/tic4xcoff.sc +++ b/ld/scripttempl/tic4xcoff.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. + # In microcomputer (MC) mode, the vectors are mapped into the on-chip ROM, # otherwise in microprocessor (MP) mode the vectors are mapped to address 0 # on the external bus. In MC mode, the on-chip ROM contains a bootloader program @@ -70,6 +76,12 @@ cat < ram" cat <