diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-23 15:07:43 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-23 15:07:43 +0000 |
commit | d58dd0883c480e27de5ebfba80fd8b35091a2296 (patch) | |
tree | a3e12995c27186b3b2eaca54f6f405b6f8cdf0db | |
parent | 93b4dc9ccfb0c6e1872397b53e97fba9e799a7ad (diff) |
ldso: removed dead code.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r-- | ldso/ldso/dl-elf.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 6c0e80544..d22eccc8d 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -151,16 +151,6 @@ search_for_named_library(const char *name, int secure, const char *path_list, /* another bit of local storage */ mylibname = alloca(2050); - /* gcc inlines alloca using a single instruction adjusting - * the stack pointer and no stack overflow check and thus - * no NULL error return. No point leaving in dead code... */ -#if 0 - if (!path || !mylibname) { - _dl_dprintf(2, "Out of memory!\n"); - _dl_exit(0); - } -#endif - _dl_memcpy(path, path_list, done+1); /* Unlike ldd.c, don't bother to eliminate double //s */ |