binutils-gdb/ld/testsuite
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
..
config NOCF_PROTECTION_CFLAGS: Replace nopie with available 2020-04-02 07:42:40 -07:00
ld-aarch64
ld-alpha
ld-arc
ld-arm readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-auto-import
ld-avr
ld-bootstrap
ld-bpf
ld-cdtest
ld-checks
ld-cris PR25593, --as-needed breaks DT_NEEDED order with linker plugin 2020-02-26 10:37:25 +10:30
ld-crx
ld-csky
ld-cygwin
ld-d10v
ld-discard
ld-elf readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-elfcomm
ld-elfvers Replace deprecated tcl case statements with switch statements 2020-01-27 22:52:15 +10:30
ld-elfvsb readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300 h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
ld-i386 ELF: Add support for unique section ID to assembler 2020-02-02 17:08:01 -08:00
ld-ia64
ld-ifunc ld: Disable ifunc tests on Solaris 2020-04-02 10:52:57 +02:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-misc
ld-mmix mmix-mmo set SEC_DATA for .data section 2020-02-28 08:19:42 +10:30
ld-mn10300
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k
ld-pdp11 Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
ld-pe
ld-pie
ld-plugin plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
ld-powerpc Non-contiguous memory regions support: Fix testcases after previous commit 2020-03-18 12:38:30 +00:00
ld-pru
ld-riscv-elf
ld-s12z
ld-s390
ld-scripts ld/testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*. 2020-04-01 04:10:18 +02:00
ld-selective
ld-sh
ld-shared ld: xfail several shared (non PIC) tests on Solaris 2020-04-10 11:18:10 +02:00
ld-size
ld-sparc
ld-spu
ld-srec ld: Add NOCF_PROTECTION_CFLAGS to turn off -fcf-protection 2020-04-02 07:12:45 -07:00
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
ld-unique unique.exp: Update contains_unique_symbol 2020-02-07 12:03:40 -08:00
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 ld: Add NOCF_PROTECTION_CFLAGS to turn off -fcf-protection 2020-04-02 07:12:45 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80 Various fixes for the Z80 support. 2020-02-19 17:46:10 +00:00
lib Use GCC LTO wrapper to get real symbols from LTO IR objects 2020-02-10 19:01:53 -08:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303