mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
e2a83dd0ec
* genscript.sh: Add support for generating a .xa script for use with the --auto-import option. * ld.texinfo: Document the new behaviour of the --auto-import option. * ldint.texinfo: Document new script generation. * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define. * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define. * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define. * emultemp/pe.em (..._get_script): Support the use of the auto import script. * scripttempl/pe.sc: Put the .rdata input sections into the .data output section when creating an auto import script. * scripttempl/pep.sc: Likewise.
11 lines
250 B
Bash
11 lines
250 B
Bash
ARCH="i386:x86-64"
|
|
SCRIPT_NAME=pep
|
|
OUTPUT_FORMAT="pei-x86-64"
|
|
RELOCATEABLE_OUTPUT_FORMAT="pe-x86-64"
|
|
TEMPLATE_NAME=pep
|
|
ENTRY="_mainCRTStartup"
|
|
SUBSYSTEM=PE_DEF_SUBSYSTEM
|
|
INITIAL_SYMBOL_CHAR=\"_\"
|
|
TARGET_PAGE_SIZE=0x1000
|
|
GENERATE_AUTO_IMPORT_SCRIPT=1
|