Lines Matching refs:init
132 static definfo init[] =
162 for (i = 0; init[i].ptr; i++)
164 if (strcmp (name, init[i].symbol) == 0)
166 init[i].value = val;
167 init[i].inited = 1;
330 if (!init[IMAGEBASEOFF].inited)
333 init[IMAGEBASEOFF].value = 0;
334 else if (init[DLLOFF].value)
335 init[IMAGEBASEOFF].value = BEOS_DLL_IMAGE_BASE;
337 init[IMAGEBASEOFF].value = BEOS_EXE_IMAGE_BASE;
347 for (j = 0; init[j].ptr; j++)
349 long val = init[j].value;
350 lang_add_assignment (exp_assign (init[j].symbol, exp_intop (val),
352 if (init[j].size == sizeof(short))
353 *(short *)init[j].ptr = val;
354 else if (init[j].size == sizeof(int))
355 *(int *)init[j].ptr = val;
356 else if (init[j].size == sizeof(long))
357 *(long *)init[j].ptr = val;
359 else if (init[j].size == sizeof(bfd_vma))
360 *(bfd_vma *)init[j].ptr = val;
387 pe_data(link_info.output_bfd)->dll = init[DLLOFF].value;