From ff65f4f015ee876bf9a97a608811264b8f053bb9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 14:49:05 +0000 Subject: [PATCH] * emulparams/arm_epoc_pe.sh: Define SUBSYSTEM and INITIAL_SYMBOL_CHAR. * emulparams/armpe.sh: Likewise. * emulparams/morepe.sh: Likewise. * emulparams/ppcpe.sh: Likewise. * emulparams/i386pe.sh (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM. --- ld/emulparams/arm_epoc_pe.sh | 2 ++ ld/emulparams/armpe.sh | 2 ++ ld/emulparams/i386pe.sh | 2 +- ld/emulparams/mcorepe.sh | 2 ++ ld/emulparams/ppcpe.sh | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ld/emulparams/arm_epoc_pe.sh b/ld/emulparams/arm_epoc_pe.sh index 816fa2a609..8911d8d12d 100644 --- a/ld/emulparams/arm_epoc_pe.sh +++ b/ld/emulparams/arm_epoc_pe.sh @@ -4,3 +4,5 @@ OUTPUT_FORMAT="epoc-pei-arm-little" LITTLE_OUTPUT_FORMAT="epoc-pei-arm-little" BIG_OUTPUT_FORMAT="epoc-pei-arm-big" TEMPLATE_NAME=pe +SUBSYSTEM=PE_DEF_SUBSYSTEM +INITIAL_SYMBOL_CHAR=\"_\" diff --git a/ld/emulparams/armpe.sh b/ld/emulparams/armpe.sh index 22468050e5..383d7619e9 100644 --- a/ld/emulparams/armpe.sh +++ b/ld/emulparams/armpe.sh @@ -4,3 +4,5 @@ OUTPUT_FORMAT="pei-arm-little" LITTLE_OUTPUT_FORMAT="pei-arm-little" BIG_OUTPUT_FORMAT="pei-arm-big" TEMPLATE_NAME=pe +SUBSYSTEM=PE_DEF_SUBSYSTEM +INITIAL_SYMBOL_CHAR=\"_\" diff --git a/ld/emulparams/i386pe.sh b/ld/emulparams/i386pe.sh index e5df29f26e..582eed2c85 100644 --- a/ld/emulparams/i386pe.sh +++ b/ld/emulparams/i386pe.sh @@ -4,5 +4,5 @@ OUTPUT_FORMAT="pei-i386" RELOCATEABLE_OUTPUT_FORMAT="pe-i386" TEMPLATE_NAME=pe ENTRY="___mainCRTStartup" -SUBSYSTEM=3 +SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" diff --git a/ld/emulparams/mcorepe.sh b/ld/emulparams/mcorepe.sh index b5baee9ea7..a151e37ede 100644 --- a/ld/emulparams/mcorepe.sh +++ b/ld/emulparams/mcorepe.sh @@ -4,3 +4,5 @@ OUTPUT_FORMAT="pei-mcore-big" LITTLE_OUTPUT_FORMAT="pei-mcore-little" BIG_OUTPUT_FORMAT="pei-mcore-big" TEMPLATE_NAME=pe +SUBSYSTEM=PE_DEF_SUBSYSTEM +INITIAL_SYMBOL_CHAR=\"_\" diff --git a/ld/emulparams/ppcpe.sh b/ld/emulparams/ppcpe.sh index 655282d3fc..9a5521cacf 100644 --- a/ld/emulparams/ppcpe.sh +++ b/ld/emulparams/ppcpe.sh @@ -2,3 +2,5 @@ ARCH=powerpc SCRIPT_NAME=ppcpe OUTPUT_FORMAT="pei-powerpcle" TEMPLATE_NAME=pe +SUBSYSTEM=PE_DEF_SUBSYSTEM +INITIAL_SYMBOL_CHAR=\"_\"