binutils-gdb/ld/scripttempl
Stephen Casner fa1477dc34 Fixes for the magic number used in PDP11 AOUT binaries.
PR ld/25677
include	* aout/aout64.h (N_DATADDR): Add IMAGIC case.

bfd	* pdp11.c: Add implementation of --imagic option.
	(adjust_o_magic): Fix objcopy --extract-symbol test.
	* libaout.h (enum aout_magic): Add i_magic.

ld	* emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
	(EXTRA_EM_FILE): New, add emulation file pdp11.
	* scripttempl/pdp11.sc: New, derived from aout.sc without
	irrelevant input sections.
	* emultempl/pdp11.em (_add_options, _handle_option)
	(_list_options): New. Add options -z, --imagic for pdp11-aout.
	(_before_parse): Make --omagic be default instead of --nmagic.
	(_get_script): Modify special-case linker script for --imagic.
	* lexsup.c (parse_args): Explictly set config.text_read_only for -n.
	* ld.texi (Options): Add documentation of PDP11-specific options.
	(Options): Fix unrelated typo to --no-compact-branches.
	* gen-doc.texi: @set PDP11.
	* testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
	* testsuite/ld-pdp11/sections.s: New, source for options tests.
	* testsuite/ld-pdp11/imagic.d: New, test --imagic format.
	* testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
	* testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
	* testsuite/ld-pdp11/omagic.d: New, test --omagic format.
2020-04-14 14:41:27 +01:00
..
aix.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
alpha.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
alphavms.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
aout.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
arclinux.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
armbpabi.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
avr.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
crisaout.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dlx.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
DWARF.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf32cr16.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf32crx.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf32msp430.sc MSP430: Add input section rules for .upper sections to default linker script 2020-01-16 13:22:31 +00:00
elf32xc16x.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf32xc16xl.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf32xc16xs.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf64bpf.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf64hppa.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf_chaos.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfarc.sc [ARC][committed] Use DWARF.sc in elf linker script templates. 2020-01-13 11:16:47 +02:00
elfarcv2.sc [ARC][committed] Use DWARF.sc in elf linker script templates. 2020-01-13 11:16:47 +02:00
elfd10v.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfd30v.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfm9s12z.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfm68hc11.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfm68hc12.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfmicroblaze.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfxgate.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfxtensa.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
epiphany_4x4.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +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 2020-01-01 18:42:54 +10:30
i386beos.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
i386go32.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
i386msdos.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ia64vms.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ip2k.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
iq2000.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mcorepe.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mep.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mips.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mipsbsd.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mmo.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
moxie.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
nds32elf.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
pdp11.sc Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
pe.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
pep.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
pj.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ppcpe.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
pru.sc Use the correct names for the init and fini array start symbols in the default Pru linker script. 2019-05-09 10:26:11 +01:00
README Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
sh.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
tic4xcoff.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
tic30aout.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
tic30coff.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
tic54xcoff.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
v850_rh850.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
v850.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
vanilla.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
visium.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
xstormy16.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
z80.sc Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. Add an ELF based target for these as well. 2020-01-02 14:14:59 +00:00
z8000.sc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +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-2020 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.