mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +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
235 B
Bash
11 lines
235 B
Bash
ARCH=i386
|
|
SCRIPT_NAME=pe
|
|
OUTPUT_FORMAT="pei-i386"
|
|
RELOCATEABLE_OUTPUT_FORMAT="pe-i386"
|
|
TEMPLATE_NAME=pe
|
|
ENTRY="_mainCRTStartup"
|
|
SUBSYSTEM=PE_DEF_SUBSYSTEM
|
|
INITIAL_SYMBOL_CHAR=\"_\"
|
|
TARGET_PAGE_SIZE=0x1000
|
|
GENERATE_AUTO_IMPORT_SCRIPT=1
|