diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-11-04 18:13:05 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-11-04 18:13:05 +0000 |
commit | decfa41eace0c91b6245c236c5286a6bc984d153 (patch) | |
tree | c0855844f43072e938fa4451d310796be29a1f58 /ld/emulparams | |
parent | 22b127cceb64a4a8dc7e62591746eb4c178eff9f (diff) | |
download | gdb-decfa41eace0c91b6245c236c5286a6bc984d153.zip gdb-decfa41eace0c91b6245c236c5286a6bc984d153.tar.gz gdb-decfa41eace0c91b6245c236c5286a6bc984d153.tar.bz2 |
2009-11-04 Kai Tietz <kai.tietz@onevision.com>
* emulparams/arm_epoc_pe.sh: Remove ENTRY.
* emulparams/arm_wince_pe.sh: Likewise.
* emulparams/i386pe.sh: Likewise.
* emulparams/i386pe_posix.sh: Likewise.
* emulparams/mcorepe.sh: Likewise.
* emulparams/mipspe.sh: Likewise.
* emulparams/ppcpe.sh: Likewise.
* emulparams/armpe.sh: Likewise.
* emulparams/i386pep.sh: Likewise.
* emulparams/shpe.sh: Likewise.
Additionally cleaned up double-defined
variables SUBSYSTEM and INITIAL_SYMBOL_CHAR.
* emultempl/pe.em: Remove use of ENTRY.
(pe_subsystem): New local variable.
(gld_XXX_before_parse): Don't set default
entry point here.
(set_entry_point): New function to set entry
point.
(set_pe_subsystem): Remove code for entry point.
(gld_XXX_after_parse): Use set_entry_point here.
* emultempl/pep.em: Likewise.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/arm_epoc_pe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/arm_wince_pe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/armpe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/i386pe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/i386pe_posix.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/i386pep.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/mcorepe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/mipspe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/ppcpe.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/shpe.sh | 3 |
10 files changed, 0 insertions, 12 deletions
diff --git a/ld/emulparams/arm_epoc_pe.sh b/ld/emulparams/arm_epoc_pe.sh index 7cc4b22..51a3f76 100644 --- a/ld/emulparams/arm_epoc_pe.sh +++ b/ld/emulparams/arm_epoc_pe.sh @@ -4,7 +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=\"_\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/arm_wince_pe.sh b/ld/emulparams/arm_wince_pe.sh index 2d0019f..133a51c 100644 --- a/ld/emulparams/arm_wince_pe.sh +++ b/ld/emulparams/arm_wince_pe.sh @@ -8,7 +8,6 @@ BIG_OUTPUT_FORMAT="pei-arm-wince-big" RELOCATEABLE_OUTPUT_FORMAT="pe-arm-wince-little" TEMPLATE_NAME=pe -ENTRY="WinMainCRTStartup" SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/armpe.sh b/ld/emulparams/armpe.sh index 5db5faf..0c711a5 100644 --- a/ld/emulparams/armpe.sh +++ b/ld/emulparams/armpe.sh @@ -8,7 +8,6 @@ BIG_OUTPUT_FORMAT="pei-arm-big" RELOCATEABLE_OUTPUT_FORMAT="pe-arm-little" 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 ecafd69..38191ec 100644 --- a/ld/emulparams/i386pe.sh +++ b/ld/emulparams/i386pe.sh @@ -3,7 +3,6 @@ SCRIPT_NAME=pe OUTPUT_FORMAT="pei-i386" RELOCATEABLE_OUTPUT_FORMAT="pe-i386" TEMPLATE_NAME=pe -ENTRY="_mainCRTStartup" SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/i386pe_posix.sh b/ld/emulparams/i386pe_posix.sh index 9348e64..cde0349 100644 --- a/ld/emulparams/i386pe_posix.sh +++ b/ld/emulparams/i386pe_posix.sh @@ -3,7 +3,6 @@ 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=\"_\" diff --git a/ld/emulparams/i386pep.sh b/ld/emulparams/i386pep.sh index 7145f35..76a9802 100644 --- a/ld/emulparams/i386pep.sh +++ b/ld/emulparams/i386pep.sh @@ -3,7 +3,6 @@ SCRIPT_NAME=pep OUTPUT_FORMAT="pei-x86-64" RELOCATEABLE_OUTPUT_FORMAT="pe-x86-64" TEMPLATE_NAME=pep -ENTRY="_mainCRTStartup" SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/mcorepe.sh b/ld/emulparams/mcorepe.sh index 8326c2e..95d84e7 100644 --- a/ld/emulparams/mcorepe.sh +++ b/ld/emulparams/mcorepe.sh @@ -4,7 +4,6 @@ OUTPUT_FORMAT="pei-mcore-little" LITTLE_OUTPUT_FORMAT="pei-mcore-little" BIG_OUTPUT_FORMAT="pei-mcore-big" TEMPLATE_NAME=pe -ENTRY="_mainCRTStartup" SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/mipspe.sh b/ld/emulparams/mipspe.sh index a5cfc2e..95c4adb 100644 --- a/ld/emulparams/mipspe.sh +++ b/ld/emulparams/mipspe.sh @@ -6,5 +6,4 @@ RELOCATEABLE_OUTPUT_FORMAT="ecoff-littlemips" TEMPLATE_NAME=pe SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" -ENTRY="_mainCRTStartup" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/ppcpe.sh b/ld/emulparams/ppcpe.sh index 2e1e102..ed7df88 100644 --- a/ld/emulparams/ppcpe.sh +++ b/ld/emulparams/ppcpe.sh @@ -2,7 +2,6 @@ ARCH=powerpc SCRIPT_NAME=ppcpe OUTPUT_FORMAT="pei-powerpcle" TEMPLATE_NAME=pe -ENTRY="_mainCRTStartup" SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" TARGET_PAGE_SIZE=0x1000 diff --git a/ld/emulparams/shpe.sh b/ld/emulparams/shpe.sh index d50861f..89fa461 100644 --- a/ld/emulparams/shpe.sh +++ b/ld/emulparams/shpe.sh @@ -4,7 +4,4 @@ OUTPUT_FORMAT="pei-shl" TEMPLATE_NAME=pe SUBSYSTEM=PE_DEF_SUBSYSTEM INITIAL_SYMBOL_CHAR=\"_\" -ENTRY="_mainCRTStartup" -SUBSYSTEM=PE_DEF_SUBSYSTEM -INITIAL_SYMBOL_CHAR=\"_\" TARGET_PAGE_SIZE=0x1000 |