fa1477dc34
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.
37 lines
621 B
Plaintext
37 lines
621 B
Plaintext
@c Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
|
@c For copying conditions, see the file ld.texi.
|
|
|
|
@c ------------------------------ CONFIGURATION VARS:
|
|
@c 1. Inclusiveness of this manual
|
|
@set GENERIC
|
|
|
|
@c 2. Specific target machines
|
|
@set ARM
|
|
@set C6X
|
|
@set CSKY
|
|
@set H8300
|
|
@set HPPA
|
|
@set I960
|
|
@set M68HC11
|
|
@set M68K
|
|
@set MIPS
|
|
@set MMIX
|
|
@set MSP430
|
|
@set NDS32
|
|
@set NIOSII
|
|
@set PDP11
|
|
@set POWERPC
|
|
@set POWERPC64
|
|
@set Renesas
|
|
@set S/390
|
|
@set SPU
|
|
@set TICOFF
|
|
@set WIN32
|
|
@set XTENSA
|
|
|
|
@c 3. Properties of this configuration
|
|
@clear SingleFormat
|
|
@set UsesEnvVars
|
|
@c ------------------------------ end CONFIGURATION VARS
|
|
|