From: Danny Smith Date: Thu, 7 Aug 2003 01:52:36 +0000 (+0000) Subject: * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fa1d2cdfc4c9a81fb04dea853cc215a6076f141;p=binutils-gdb.git * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index d87dfbe8043..b88715dc8ee 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 bed23c3ce6b..b16e5fa693a 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; }