Define ENTRY in PE emulation files. Also:
authorIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 16:45:16 +0000 (16:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 16:45:16 +0000 (16:45 +0000)
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.

ld/emulparams/arm_epoc_pe.sh
ld/emulparams/armpe.sh
ld/emulparams/i386pe.sh
ld/emulparams/mcorepe.sh
ld/emulparams/ppcpe.sh

index 8911d8d12ddda46144df85437827e683b41d9622..ca1a309f7270c798e1d6881f58dd8e10a45df222 100644 (file)
@@ -4,5 +4,6 @@ OUTPUT_FORMAT="epoc-pei-arm-little"
 LITTLE_OUTPUT_FORMAT="epoc-pei-arm-little"
 BIG_OUTPUT_FORMAT="epoc-pei-arm-big"
 TEMPLATE_NAME=pe
+ENTRY="_mainCRTStartup"
 SUBSYSTEM=PE_DEF_SUBSYSTEM
 INITIAL_SYMBOL_CHAR=\"_\"
index 383d7619e9829f621f048a221b795c4ad3856824..257c9ded5f57e00c2f0316a8c8d1225d9b685fa8 100644 (file)
@@ -4,5 +4,6 @@ OUTPUT_FORMAT="pei-arm-little"
 LITTLE_OUTPUT_FORMAT="pei-arm-little"
 BIG_OUTPUT_FORMAT="pei-arm-big"
 TEMPLATE_NAME=pe
+ENTRY="_mainCRTStartup"
 SUBSYSTEM=PE_DEF_SUBSYSTEM
 INITIAL_SYMBOL_CHAR=\"_\"
index 582eed2c85207875a59ff4edc978eaa0449167bd..a8add23d6d1d65064fb1ca1b3bdb80cde5378df3 100644 (file)
@@ -3,6 +3,6 @@ SCRIPT_NAME=pe
 OUTPUT_FORMAT="pei-i386"
 RELOCATEABLE_OUTPUT_FORMAT="pe-i386"
 TEMPLATE_NAME=pe
-ENTRY="___mainCRTStartup"
+ENTRY="_mainCRTStartup"
 SUBSYSTEM=PE_DEF_SUBSYSTEM
 INITIAL_SYMBOL_CHAR=\"_\"
index a151e37ededff6e0d31d6a1d6fe0c4e7fc5cb96d..00ab4dd00df6aacb2d3a402c2ccdd88b7c3bfaa3 100644 (file)
@@ -4,5 +4,6 @@ OUTPUT_FORMAT="pei-mcore-big"
 LITTLE_OUTPUT_FORMAT="pei-mcore-little"
 BIG_OUTPUT_FORMAT="pei-mcore-big"
 TEMPLATE_NAME=pe
+ENTRY="_mainCRTStartup"
 SUBSYSTEM=PE_DEF_SUBSYSTEM
 INITIAL_SYMBOL_CHAR=\"_\"
index 9a5521cacfea39e6df4ee23be49eb103a3b96462..a2d09ef2238b0e7f5a8847e5291c1a11716f5f0c 100644 (file)
@@ -2,5 +2,6 @@ ARCH=powerpc
 SCRIPT_NAME=ppcpe
 OUTPUT_FORMAT="pei-powerpcle"
 TEMPLATE_NAME=pe
+ENTRY="_mainCRTStartup"
 SUBSYSTEM=PE_DEF_SUBSYSTEM
 INITIAL_SYMBOL_CHAR=\"_\"