Home | History | Annotate | Download | only in src

Lines Matching refs:symbols

1 /* Combine stripped files with separate symbols and debug information.
314 /* The binutils linker leaves gratuitous section symbols in .symtab
543 /* The original file probably had section symbols for all of its
545 possible, add in section symbols for the added sections. */
571 /* Copy the existing section symbols. */
587 /* Add in the new section symbols. */
605 /* Now copy the rest of the existing symbols. */
625 /* This has the side effect of updating STT_SECTION symbols' values,
748 /* Collect input symbols into our internal form. */
810 /* Compare symbols with a consistent ordering,
825 /* Compare symbols for output order after slots have been assigned. */
833 /* Sort discarded symbols last. */
837 /* Local symbols must come first. */
842 /* binutils always puts section symbols first. */
850 /* binutils always puts section symbols in section index order. */
1380 so that collect_symbols can update symbols' st_shndx fields. */
1593 /* First collect all the symbols from both tables. */
1596 struct symbol symbols[total_syms];
1604 symbols, symndx_map, NULL);
1610 &symbols[stripped_nsym - 1],
1613 /* Next, sort our array of all symbols. */
1614 qsort (symbols, total_syms, sizeof symbols[0], compare_symbols);
1616 /* Now we can weed out the duplicates. Assign remaining symbols
1619 for (struct symbol *s = symbols; s < &symbols[total_syms]; ++s)
1632 while (n + 1 < &symbols[total_syms] && !compare_symbols (s, n + 1))
1648 qsort (symbols, total_syms, sizeof symbols[0], compare_symbols_output);
1651 /* The discarded symbols are now at the end of the table. */
1652 assert (symbols[nsym].name == NULL);
1659 assert (symbols[i].name != NULL);
1660 assert (*symbols[i].map != 0);
1661 *symbols[i].map = 1 + i;
1662 symbols[i].strent = ebl_strtabadd (symstrtab, symbols[i].name, 0);
1665 /* Scan the discarded symbols too, just to update their slots
1669 assert (symbols[i].name == NULL);
1670 if (symbols[i].duplicate == NULL)
1671 assert (*symbols[i].map == STN_UNDEF);
1674 assert (*symbols[i].duplicate != STN_UNDEF);
1675 *symbols[i].map = *symbols[i].duplicate;
1698 struct symbol *s = &symbols[i];
1708 /* Keep track of the number of leading local symbols. */
2252 Combine stripped files with separate symbols and debug information.\v\