OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5602071
)
Quick and dirty hack to prevent ld.so from beeing loaded twice.
author
Joakim Tjernlund
<joakim.tjernlund@transmode.se>
Thu, 30 Jun 2005 11:27:24 +0000
(11:27 -0000)
committer
Joakim Tjernlund
<joakim.tjernlund@transmode.se>
Thu, 30 Jun 2005 11:27:24 +0000
(11:27 -0000)
Bug exposed by the new __libc_stack_end feature in libc.so.
ldso/ldso/ldso.c
patch
|
blob
|
history
diff --git
a/ldso/ldso/ldso.c
b/ldso/ldso/ldso.c
index
66d3786
..
9a5e022
100644
(file)
--- a/
ldso/ldso/ldso.c
+++ b/
ldso/ldso/ldso.c
@@
-561,6
+561,8
@@
void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
lpntstr = (char*) (tcurr->dynamic_info[DT_STRTAB] + dpnt->d_un.d_val);
name = _dl_get_last_path_component(lpntstr);
+ if (_dl_strcmp(name, "ld-uClibc.so.0") == 0)
+ continue;
#if defined (__SUPPORT_LD_DEBUG__)
if(_dl_debug)