Lines Matching refs:newp
439 struct id_list *newp = new_id_listelem ($2);
440 newp->next = $1->next;
441 $$ = $1->next = newp;
474 struct expression *newp = (struct expression *)
475 obstack_alloc (&ld_state.smem, sizeof (*newp));
477 newp->tag = tag;
478 return newp;
485 struct input_section_name *newp = (struct input_section_name *)
486 obstack_alloc (&ld_state.smem, sizeof (*newp));
488 newp->name = name;
489 newp->sort_flag = sort_flag;
490 return newp;
497 struct input_rule *newp = (struct input_rule *)
498 obstack_alloc (&ld_state.smem, sizeof (*newp));
500 newp->tag = tag;
501 newp->next = newp;
502 return newp;
509 struct output_rule *newp = (struct output_rule *)
510 memset (obstack_alloc (&ld_state.smem, sizeof (*newp)),
511 '\0', sizeof (*newp));
513 newp->tag = tag;
514 newp->next = newp;
515 return newp;
523 struct assignment *newp = (struct assignment *)
524 obstack_alloc (&ld_state.smem, sizeof (*newp));
526 newp->variable = variable;
527 newp->expression = expression;
528 newp->sym = NULL;
529 newp->provide_flag = provide_flag;
532 return newp;
539 struct output_segment *newp;
541 newp
542 = (struct output_segment *) obstack_alloc (&ld_state.smem, sizeof (*newp));
543 newp->mode = mode;
544 newp->next = newp;
546 newp->output_rules = output_rule->next;
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;
564 for (runp = newp->output_rules; runp != NULL; runp = runp->next)
574 struct filename_list *newp;
577 newp = (struct filename_list *) xcalloc (1, sizeof (*newp));
578 newp->name = string;
579 newp->next = newp;
580 return newp;
637 struct id_list *newp;
639 newp = (struct id_list *) obstack_alloc (&ld_state.smem, sizeof (*newp));
641 newp->u.id_type = id_all;
643 newp->u.id_type = id_wild;
645 newp->u.id_type = id_str;
646 newp->id = str;
647 newp->next = newp;
649 return newp;
656 struct version *newp;
658 newp = (struct version *) obstack_alloc (&ld_state.smem, sizeof (*newp));
659 newp->next = newp;
660 newp->local_names = local;
661 newp->global_names = global;
662 newp->versionname = NULL;
663 newp->parentname = NULL;
665 return newp;