* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set

default entry symbol to ENTRY here.
	* scripttempl/pe.sc: Not here.
This commit is contained in:
Danny Smith 2005-10-05 08:07:51 +00:00
parent f70224b53d
commit e60cc41502
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-10-05 Danny Smith <dannysmith@users.sourceforge.net>
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
default entry symbol to ENTRY here.
* scripttempl/pe.sc: Not here.
2005-09-30 James E Wilson <wilson@specifix.com>
* ldlang.c (lang_startup): Add missing ": " to einfo call.

View File

@ -1,5 +1,6 @@
# This shell script emits a C file. -*- C -*-
# It does some substitutions.
test -z "${ENTRY}" && ENTRY="_mainCRTStartup"
if [ -z "$MACHINE" ]; then
OUTPUT_ARCH=${ARCH}
else
@ -143,6 +144,8 @@ gld_${EMULATION_NAME}_before_parse (void)
#else
lang_default_entry ("_WinMainCRTStartup");
#endif
#else
lang_default_entry ("${ENTRY}");
#endif
#endif
}

View File

@ -50,8 +50,6 @@ ${OUTPUT_ARCH+OUTPUT_ARCH(${OUTPUT_ARCH})}
${LIB_SEARCH_DIRS}
ENTRY(${ENTRY})
SECTIONS
{
${RELOCATING+/* Make the virtual address and file offset synced if the alignment is}