binutils-gdb/ld/scripttempl
H.J. Lu 8b6f4cd34f ld: Keep PREINIT_ARRAY/INIT_ARRAY/FINI_ARRAY sections for -r --gc-sections
We must keep all PREINIT_ARRAY, INIT_ARRAY as well as FINI_ARRAY sections
for ld -r --gc-sections.

bfd/

	PR ld/22677
	* elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
	INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-sections.

ld/

	PR ld/22677
	* scripttempl/elf.sc (PREINIT_ARRAY): New.
	Don't add .preinit_array for ld -r.
	* testsuite/ld-elf/pr22677.d: New file.
	* testsuite/ld-elf/pr22677.s: Likewise.
2018-01-11 09:42:12 -08:00
..
aix.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
alpha.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
alphavms.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arclinux.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armaout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armbpabi.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
avr.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
crisaout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
delta68.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dlx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
DWARF.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf.sc ld: Keep PREINIT_ARRAY/INIT_ARRAY/FINI_ARRAY sections for -r --gc-sections 2018-01-11 09:42:12 -08:00
elf32cr16.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32cr16c.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32crx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32msp430.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32msp430_3.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32sh-symbian.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16x.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16xl.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16xs.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64hppa.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf_chaos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfarc.sc ld whitespace fixes 2017-10-12 23:30:43 +10:30
elfarcv2.sc ld whitespace fixes 2017-10-12 23:30:43 +10:30
elfd10v.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfd30v.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfi370.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfm68hc11.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfm68hc12.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfmicroblaze.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxgate.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxtensa.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
epiphany_4x4.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
epocpe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ft32.sc FT32 linker script cleanup 2016-07-06 18:58:10 -07:00
h8300.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300h.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300hn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300s.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sxn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500b.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500c.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500m.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500s.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
hppaelf.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386beos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386go32.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386msdos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i860coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i960.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ia64vms.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ip2k.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
iq2000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68kaux.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68kcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m88kbcs.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mcorepe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mep.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mips.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mipsbsd.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mmo.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
moxie.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nds32elf.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nw.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pep.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pj.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ppcpe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pru.sc PRU LD Port 2016-12-31 12:04:11 +10:30
psos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
README Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
riscix.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sh.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sparccoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
st2000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic4xcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic30aout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic30coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic54xcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic80coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
v850.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
v850_rh850.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vanilla.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
visium.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
w65.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xstormy16.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
z80.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
z8000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30

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-2018 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.