From 1fa1d2cdfc4c9a81fb04dea853cc215a6076f141 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 7 Aug 2003 01:52:36 +0000 Subject: [PATCH] * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Change second (cmdline) arg to lang_add_entry to FALSE. (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. --- ld/ChangeLog | 8 +++++++- ld/emultempl/pe.em | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index d87dfbe804..b88715dc8e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2003-08-07 Danny Smith + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): + Change second (cmdline) arg to lang_add_entry to FALSE. + (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. + 2003-08-05 Christian Groessler Jason Eckhardt @@ -702,7 +708,7 @@ 2003-03-18 Danny Smith - * defilep.y (opt_base): If no number given, set to default + * deffilep.y (opt_base): If no number given, set to default (-1), not 0. 2003-03-13 Danny Smith diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index bed23c3ce6..b16e5fa693 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -141,9 +141,9 @@ gld_${EMULATION_NAME}_before_parse (void) #if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2) #if defined TARGET_IS_mipspe || defined TARGET_IS_armpe - lang_add_entry ("WinMainCRTStartup", 1); + lang_add_entry ("WinMainCRTStartup", FALSE); #else - lang_add_entry ("_WinMainCRTStartup", 1); + lang_add_entry ("_WinMainCRTStartup", FALSE); #endif #endif #endif @@ -439,7 +439,7 @@ set_pe_subsystem (void) entry = alc_entry; } - lang_add_entry (entry, 0); + lang_add_entry (entry, TRUE); return; } -- 2.34.1