aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-22 08:21:27 +0000
committerAlan Modra <amodra@gmail.com>2002-05-22 08:21:27 +0000
commit54f24647c70eb3fbf2b73b6459a1d06c33be9a33 (patch)
tree0f9c81f5872c042e2dc688099884aac5e31ea238
parentaa713662e8c8349dbf475437e8db72ffd9a9cc4d (diff)
downloadgdb-54f24647c70eb3fbf2b73b6459a1d06c33be9a33.zip
gdb-54f24647c70eb3fbf2b73b6459a1d06c33be9a33.tar.gz
gdb-54f24647c70eb3fbf2b73b6459a1d06c33be9a33.tar.bz2
* emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
calling lang_add_entry.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/pe.em2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4d2bc18..336a326 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-22 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
+ calling lang_add_entry.
+
2002-05-21 H.J. Lu (hjl@gnu.org)
* emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 2aa1eef..ad4c6ba 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -448,7 +448,7 @@ set_pe_subsystem ()
entry = alc_entry;
}
- lang_add_entry (entry, 1);
+ lang_add_entry (entry, 0);
return;
}