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.
12 lines
249 B
Bash
12 lines
249 B
Bash
ARCH=i386
|
|
SCRIPT_NAME=pe
|
|
OUTPUT_FORMAT="pei-i386"
|
|
RELOCATEABLE_OUTPUT_FORMAT="pe-i386"
|
|
TEMPLATE_NAME=pe
|
|
ENTRY="___PosixProcessStartup"
|
|
SUBSYSTEM=7
|
|
EXECUTABLE_NAME=a.out
|
|
INITIAL_SYMBOL_CHAR=\"_\"
|
|
TARGET_PAGE_SIZE=0x1000
|
|
GENERATE_AUTO_IMPORT_SCRIPT=1
|