Lines Matching refs:ld_state
146 if (likely (ld_state.entry == NULL))
147 ld_state.entry = $3;
155 if (likely (ld_state.pagesize == 0))
156 ld_state.pagesize = $3;
160 if (likely (ld_state.interp == NULL)
161 && ld_state.file_type != dso_file_type)
162 ld_state.interp = $3;
214 if (ld_state.strip == strip_debug
215 && ebl_debugscn_p (ld_state.ebl, $1))
230 obstack_alloc (&ld_state.smem,
237 if (ld_state.strip == strip_debug
238 && ebl_debugscn_p (ld_state.ebl, $1))
282 obstack_alloc (&ld_state.smem, sizeof (*$$));
467 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_expr()
478 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_input_section_name()
490 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_input_rule()
502 memset (obstack_alloc (&ld_state.smem, sizeof (*newp)), in new_output_rule()
516 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_assignment()
534 = (struct output_segment *) obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_segment()
542 if (ld_state.output_segments == NULL) in new_segment()
543 ld_state.output_segments = newp; in new_segment()
546 newp->next = ld_state.output_segments->next; in new_segment()
547 ld_state.output_segments = ld_state.output_segments->next = newp; in new_segment()
552 if (mode == 0 && ld_state.strip == strip_all) in new_segment()
596 if (ld_state.srcfiles == NULL) in add_inputfiles()
597 ld_state.srcfiles = fnames; in add_inputfiles()
600 struct filename_list *first = ld_state.srcfiles->next; in add_inputfiles()
602 ld_state.srcfiles->next = fnames->next; in add_inputfiles()
604 ld_state.srcfiles->next = fnames; in add_inputfiles()
631 newp = (struct id_list *) obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_id_listelem()
650 newp = (struct version *) obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_version()
715 defp = ld_version_str_tab_find (&ld_state.version_str_tab, hval, curp); in add_id_list()
746 ld_version_str_tab_insert (&ld_state.version_str_tab, hval, curp); in add_id_list()
757 if (ld_state.default_bind_global) in add_id_list()
760 ld_state.default_bind_local = true; in add_id_list()
764 if (ld_state.default_bind_local) in add_id_list()
767 ld_state.default_bind_global = true; in add_id_list()