5063daf735
The manifest is necessary in order for the linked binaries to be executed in a Windows 8 environment. The manifest is added using a linker script so that this feature will be compiler-neutral. The resource merging code in the linker means that if an application provides its own manifest then the default manifest will be ignored. * configure.in (all_emul_extra_binaries): New variable. Populated by invoking configure.tgt. (EMUL_EXTRA_BINARIES): New substitution. * configure: Regenerate. * configure.tgt (target_extra_binaries): New variable. Set to default-manifest.o for Cygwin and MinGW targets. * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised by the configure script. (ALL_EMUL_EXTRA_BINARIES): New variable. (default-manifest.o): New rule to build the default manifest. (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES. (install-data-local): Add EMUL_EXTRA_BINARIES. * Makefile.in: Regenerate. * ld.texinfo: Document default manifest support. * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define. * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define. * emultempl/default-manifest.rc: New file. * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined. * scripttempl/pep.sc (R_RSRC): Likewise. * ld-pe/longsecn-1.d: Allow for extra sections. * ld-pe/longsecn-2.d: Likewise. * ld-pe/longsecn.d: Likewise. * ld-pe/secrel.d: Likewise.
28 lines
1.4 KiB
Makefile
28 lines
1.4 KiB
Makefile
|
|
tmpdir/secrel\.x: +file format pei-.*
|
|
|
|
Contents of section \.text:
|
|
.*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
|
|
.*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
|
|
.*1020 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
|
|
.*1030 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
|
|
.*1040 ........ ........ ........ ........ ................
|
|
Contents of section \.data:
|
|
.*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
|
|
.*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
|
|
.*2020 3e3e3e3e 04000000 110d0000 00111600 >>>>............
|
|
.*2030 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
|
|
.*2040 3e3e3e3e 04000000 110d0000 00111600 >>>>............
|
|
.*2050 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
|
|
.*2060 3e3e3e3e 04000000 110d0000 00111600 >>>>............
|
|
.*2070 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
|
|
.*2080 3e3e3e3e 24000000 112d0000 00113600 >>>>\$....-....6.
|
|
.*2090 0000113f 00000011 3c3c3c3c 3c3c3c3c ...\?....<<<<<<<<
|
|
Contents of section \.rdata:
|
|
.*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
|
|
.*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
|
|
.*3020 3e3e3e3e 00000000 00000000 00000000 >>>>............
|
|
Contents of section \.idata:
|
|
.*4000 00000000 00000000 00000000 00000000 ................
|
|
.*4010 00000000 ....
|
|
#...
|