• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching defs:stubs

283   /* Set if we should emit symbols for stubs.  */
286 /* Set if we want stubs on calls out of overlay regions to
735 /* Usually, symbols in non-overlay sections don't need stubs. */
758 /* Called via elf_link_hash_traverse to allocate stubs for any _SPUEAR_
771 struct stubarr *stubs = inf;
778 stubs->err = 1;
783 bfd_hash_lookup (stubs->stub_hash_table, stub_name, TRUE, FALSE);
799 stubs->count += 1;
811 struct stubarr *stubs = inf;
813 stubs->sh[--stubs->count] = (struct spu_stub_hash_entry *) bh;
817 /* qsort predicate to sort stubs by overlay number. */
847 /* Allocate space for overlay call and return stubs. */
860 struct stubarr stubs;
865 stubs.stub_hash_table = &htab->stub_hash_table;
866 stubs.count = 0;
867 stubs.err = 0;
902 discarded, then don't create any stubs. */
948 /* Ensure no stubs for user supplied overlay manager syms. */
1041 stubs.count += 1;
1059 elf_link_hash_traverse (&htab->elf, allocate_spuear_stubs, &stubs);
1060 if (stubs.err)
1064 if (stubs.count == 0)
1090 /* Retrieve all the stubs and sort. */
1091 stubs.sh = bfd_malloc (stubs.count * sizeof (*stubs.sh));
1092 if (stubs.sh == NULL)
1094 i = stubs.count;
1095 bfd_hash_traverse (&htab->stub_hash_table, populate_stubs, &stubs);
1096 BFD_ASSERT (stubs.count == 0);
1098 stubs.count = i;
1099 qsort (stubs.sh, stubs.count, sizeof (*stubs.sh), sort_stubs);
1101 /* Now that the stubs are sorted, place them in the stub section.
1116 for (i = 0; i < stubs.count; i++)
1118 if (spu_elf_section_data (stubs.sh[group]->target_section
1120 != spu_elf_section_data (stubs.sh[i]->target_section
1125 stubs.sh[group]->delta
1126 = stubs.sh[i - 1]->off - stubs.sh[group]->off;
1129 || ((stubs.sh[i - 1]->target_section->output_section->vma
1130 + stubs.sh[i - 1]->target_section->output_offset
1131 + stubs.sh[i - 1]->target_off)
1132 != (stubs.sh[i]->target_section->output_section->vma
1133 + stubs.sh[i]->target_section->output_offset
1134 + stubs.sh[i]->target_off)))
1136 stubs.sh[i]->off = htab->stub->size;
1140 stubs.sh[i]->off = stubs.sh[i - 1]->off;
1145 stubs.sh[group]->delta = stubs.sh[i - 1]->off - stubs.sh[group]->off;
1325 /* Fill in all stubs and the overlay tables. */
1358 /* Write out all the stubs. */
2866 /* Adjust _SPUEAR_ syms to point at their overlay stubs. */