binutils-gdb/ld/scripttempl
H.J. Lu 47acac12c8 ld: Add "-z separate-code" option to ELF linker
The new "-z separate-code" option will generate separate code LOAD
segment which must be in wholly disjoint pages from any other data.

include/

	PR ld/22393
	* bfdlink.h (bfd_link_info): Add separate_code.

ld/

	PR ld/22393
	* NEWS: Mention "-z separate-code".
	* emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
	builtin linker scripts and return linker scripts from disk for
	"-z separate-code".
	(gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
	and "-z noseparate-code".
	* genscripts.sh: Generate linker scripts for "-z separate-code".
	(LD_FLAG): Set to *textonly for "-z separate-code".
	* ld.texinfo: Document "-z separate-code".
	* lexsup.c (elf_shlib_list_options): Add linker help messsages
	for "-z separate-code" and "-z noseparate-code".
	* scripttempl/elf.sc (SEPARATE_TEXT): New
	(TEXT_SEGMENT_ALIGN): Likewise.
	Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
	${MAXPAGESIZE}.
2018-01-11 19:01:52 -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
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_3.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
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
elf.sc ld: Add "-z separate-code" option to ELF linker 2018-01-11 19:01:52 -08:00
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
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
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_rh850.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
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.