projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3e565
)
* ldlang.c (lang_add_entry): Only set the entry symbol if it has
author
Ian Lance Taylor
<ian@airs.com>
Fri, 27 May 1994 05:09:31 +0000
(
05:09
+0000)
committer
Ian Lance Taylor
<ian@airs.com>
Fri, 27 May 1994 05:09:31 +0000
(
05:09
+0000)
not been set already.
ld/ChangeLog
patch
|
blob
|
history
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index 7eb00bbd0dea5a3900087f76a30459794ae2c796..54cea0edddc5990b7cf428f0457d967a85ce5274 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,8
@@
+Fri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * ldlang.c (lang_add_entry): Only set the entry symbol if it has
+ not been set already.
+
Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index a639fd1203748b8963c8011750f19e15fe13bd65..3ad4ac682cecdf8d7d53240fe6be4b79f93bbbad 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-2625,7
+2625,8
@@
void
lang_add_entry (name)
CONST char *name;
{
- entry_symbol = name;
+ if (entry_symbol == NULL)
+ entry_symbol = name;
}
void