Lines Matching refs:ld_state
154 if (likely (ld_state.entry == NULL))
155 ld_state.entry = $3;
163 if (likely (ld_state.pagesize == 0))
164 ld_state.pagesize = $3;
168 if (likely (ld_state.interp == NULL)
169 && ld_state.file_type != dso_file_type)
170 ld_state.interp = $3;
222 if (ld_state.strip == strip_debug
223 && ebl_debugscn_p (ld_state.ebl, $1))
238 obstack_alloc (&ld_state.smem,
245 if (ld_state.strip == strip_debug
246 && ebl_debugscn_p (ld_state.ebl, $1))
290 obstack_alloc (&ld_state.smem, sizeof (*$$));
475 obstack_alloc (&ld_state.smem, sizeof (*newp));
486 obstack_alloc (&ld_state.smem, sizeof (*newp));
498 obstack_alloc (&ld_state.smem, sizeof (*newp));
510 memset (obstack_alloc (&ld_state.smem, sizeof (*newp)),
524 obstack_alloc (&ld_state.smem, sizeof (*newp));
542 = (struct output_segment *) obstack_alloc (&ld_state.smem, sizeof (*newp));
550 if (ld_state.output_segments == NULL)
551 ld_state.output_segments = newp;
554 newp->next = ld_state.output_segments->next;
555 ld_state.output_segments = ld_state.output_segments->next = newp;
560 if (mode == 0 && ld_state.strip == strip_all)
604 if (ld_state.srcfiles == NULL)
605 ld_state.srcfiles = fnames;
608 struct filename_list *first = ld_state.srcfiles->next;
610 ld_state.srcfiles->next = fnames->next;
612 ld_state.srcfiles->next = fnames;
639 newp = (struct id_list *) obstack_alloc (&ld_state.smem, sizeof (*newp));
658 newp = (struct version *) obstack_alloc (&ld_state.smem, sizeof (*newp));
723 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp);
754 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp);
765 if (ld_state.default_bind_global)
768 ld_state.default_bind_local = true;
772 if (ld_state.default_bind_local)
775 ld_state.default_bind_global = true;