static void decode_dyn(struct dso *p)
{
- size_t dyn[DYN_CNT] = {0};
+ size_t dyn[DYN_CNT];
decode_vec(p->dynv, dyn, DYN_CNT);
p->syms = (void *)(p->base + dyn[DT_SYMTAB]);
p->strings = (void *)(p->base + dyn[DT_STRTAB]);
static void reloc_all(struct dso *p)
{
- size_t dyn[DYN_CNT] = {0};
+ size_t dyn[DYN_CNT];
for (; p; p=p->next) {
if (p->relocated) continue;
decode_vec(p->dynv, dyn, DYN_CNT);
static void do_fini()
{
struct dso *p;
- size_t dyn[DYN_CNT] = {0};
+ size_t dyn[DYN_CNT];
for (p=fini_head; p; p=p->fini_next) {
if (!p->constructed) continue;
decode_vec(p->dynv, dyn, DYN_CNT);
static void do_init_fini(struct dso *p)
{
- size_t dyn[DYN_CNT] = {0};
+ size_t dyn[DYN_CNT];
int need_locking = libc.threads_minus_1;
/* Allow recursive calls that arise when a library calls
* dlopen from one of its constructors, but block any
_Noreturn void __dls3(size_t *sp)
{
static struct dso app, vdso;
- size_t aux[AUX_CNT] = {0}, *auxv;
+ size_t aux[AUX_CNT], *auxv;
size_t i;
char *env_preload=0;
size_t vdso_base;