binutils-gdb/ld/scripttempl
Alan Modra 2d3181c7c4 Add SORT_NONE to .init and .fini in scripts
The special case for .init and .fini in update_wild_statements is
ineffective for .init or .fini wildcards inside other output sections.
The special case needs to be on the wildcard, not the output section.
This patch is belt and braces, both fixing update_wild_statements and
the scripts.

	* scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
	* scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
	* scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
	* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
	* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
	* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
	* scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
	* scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
	* scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
	* scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
	* scripttempl/ft32.sc, * scripttempl/i386beos.sc,
	* scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
	* scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
	* scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
	* scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
	* scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
	* scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
	SORT_NONE to .init and .fini wildcards.
	* scripttempl/elf32xc16x.sc,
	* scripttempl/elf32xc16xl.sc,
	* scripttempl/elf32xc16xs.sc: Add .fini wildcard.
	* scripttempl/elf_chaos.sc: Add .init output section.
	* scripttempl/elfd30v.sc: Remove duplicate .init.
	* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
	* scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
	duplicate .init, and add .fini wildcard.
	* scripttempl/ppcpe.sc (INIT, FINI): Delete.
	* ldlang.c (update_wild_statements): Special case .init and
	.fini in the wildcard, not the output section.
2019-03-21 22:19:20 +10:30
..
DWARF.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aix.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
alpha.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
alphavms.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
arclinux.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
armbpabi.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
avr.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
crisaout.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
dlx.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32cr16.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf32cr16c.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32crx.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf32msp430.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32msp430_3.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32xc16x.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf32xc16xl.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf32xc16xs.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf64hppa.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elf_chaos.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfarc.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfarcv2.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfd10v.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfd30v.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfm9s12z.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfm68hc11.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfm68hc12.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfmicroblaze.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfxgate.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
elfxtensa.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
epiphany_4x4.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
ft32.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
hppaelf.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386beos.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
i386go32.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386msdos.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ia64vms.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ip2k.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
iq2000.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
mcorepe.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
mep.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
mips.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
mipsbsd.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mmo.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
moxie.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
nds32elf.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
pep.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
pj.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ppcpe.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
pru.sc ld -r script fixes 2018-10-29 17:50:40 +10:30
sh.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
tic4xcoff.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
tic30aout.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
tic30coff.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
tic54xcoff.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
tic80coff.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
v850.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
v850_rh850.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
vanilla.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
visium.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
xstormy16.sc Add SORT_NONE to .init and .fini in scripts 2019-03-21 22:19:20 +10:30
z80.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
z8000.sc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.

Copyright (C) 2012-2019 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.