aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 16:45:16 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 16:45:16 +0000
commitc3d002bb17cfd9f6898b5d08b21f1ea8511d0d14 (patch)
tree90a6c00ce4aa98fb4cd0902c13648f40032636f7 /ld
parentd98dd8ba260573f0cfdfccfe0990bca17be2c4f3 (diff)
downloadgdb-c3d002bb17cfd9f6898b5d08b21f1ea8511d0d14.zip
gdb-c3d002bb17cfd9f6898b5d08b21f1ea8511d0d14.tar.gz
gdb-c3d002bb17cfd9f6898b5d08b21f1ea8511d0d14.tar.bz2
Define ENTRY in PE emulation files. Also:
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
Diffstat (limited to 'ld')
-rw-r--r--ld/emulparams/arm_epoc_pe.sh1
-rw-r--r--ld/emulparams/armpe.sh1
-rw-r--r--ld/emulparams/i386pe.sh2
-rw-r--r--ld/emulparams/mcorepe.sh1
-rw-r--r--ld/emulparams/ppcpe.sh1
5 files changed, 5 insertions, 1 deletions
diff --git a/ld/emulparams/arm_epoc_pe.sh b/ld/emulparams/arm_epoc_pe.sh
index 8911d8d..ca1a309 100644
--- a/ld/emulparams/arm_epoc_pe.sh
+++ b/ld/emulparams/arm_epoc_pe.sh
@@ -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=\"_\"
diff --git a/ld/emulparams/armpe.sh b/ld/emulparams/armpe.sh
index 383d761..257c9de 100644
--- a/ld/emulparams/armpe.sh
+++ b/ld/emulparams/armpe.sh
@@ -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=\"_\"
diff --git a/ld/emulparams/i386pe.sh b/ld/emulparams/i386pe.sh
index 582eed2..a8add23 100644
--- a/ld/emulparams/i386pe.sh
+++ b/ld/emulparams/i386pe.sh
@@ -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=\"_\"
diff --git a/ld/emulparams/mcorepe.sh b/ld/emulparams/mcorepe.sh
index a151e37..00ab4dd 100644
--- a/ld/emulparams/mcorepe.sh
+++ b/ld/emulparams/mcorepe.sh
@@ -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=\"_\"
diff --git a/ld/emulparams/ppcpe.sh b/ld/emulparams/ppcpe.sh
index 9a5521c..a2d09ef 100644
--- a/ld/emulparams/ppcpe.sh
+++ b/ld/emulparams/ppcpe.sh
@@ -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=\"_\"