Lines Matching refs:newp
431 struct id_list *newp = new_id_listelem ($2);
432 newp->next = $1->next;
433 $$ = $1->next = newp;
466 struct expression *newp = (struct expression *)
467 obstack_alloc (&ld_state.smem, sizeof (*newp));
469 newp->tag = tag;
470 return newp;
477 struct input_section_name *newp = (struct input_section_name *)
478 obstack_alloc (&ld_state.smem, sizeof (*newp));
480 newp->name = name;
481 newp->sort_flag = sort_flag;
482 return newp;
489 struct input_rule *newp = (struct input_rule *)
490 obstack_alloc (&ld_state.smem, sizeof (*newp));
492 newp->tag = tag;
493 newp->next = newp;
494 return newp;
501 struct output_rule *newp = (struct output_rule *)
502 memset (obstack_alloc (&ld_state.smem, sizeof (*newp)),
503 '\0', sizeof (*newp));
505 newp->tag = tag;
506 newp->next = newp;
507 return newp;
515 struct assignment *newp = (struct assignment *)
516 obstack_alloc (&ld_state.smem, sizeof (*newp));
518 newp->variable = variable;
519 newp->expression = expression;
520 newp->sym = NULL;
521 newp->provide_flag = provide_flag;
524 return newp;
531 struct output_segment *newp;
533 newp
534 = (struct output_segment *) obstack_alloc (&ld_state.smem, sizeof (*newp));
535 newp->mode = mode;
536 newp->next = newp;
538 newp->output_rules = output_rule->next;
543 ld_state.output_segments = newp;
546 newp->next = ld_state.output_segments->next;
547 ld_state.output_segments = ld_state.output_segments->next = newp;
556 for (runp = newp->output_rules; runp != NULL; runp = runp->next)
566 struct filename_list *newp;
569 newp = (struct filename_list *) xcalloc (1, sizeof (*newp));
570 newp->name = string;
571 newp->next = newp;
572 return newp;
629 struct id_list *newp;
631 newp = (struct id_list *) obstack_alloc (&ld_state.smem, sizeof (*newp));
633 newp->u.id_type = id_all;
635 newp->u.id_type = id_wild;
637 newp->u.id_type = id_str;
638 newp->id = str;
639 newp->next = newp;
641 return newp;
648 struct version *newp;
650 newp = (struct version *) obstack_alloc (&ld_state.smem, sizeof (*newp));
651 newp->next = newp;
652 newp->local_names = local;
653 newp->global_names = global;
654 newp->versionname = NULL;
655 newp->parentname = NULL;
657 return newp;