binutils-gdb/include/aout
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
..
ChangeLog-9115 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
aout64.h Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
ar.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
encap.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
host.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
hp.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
hppa.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ranlib.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
stab.def Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
stab_gnu.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
sun4.h Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30