Lines Matching refs:src
1603 som_swap_clock_in (struct som_external_clock *src, in som_swap_clock_in() argument
1606 dst->secs = bfd_getb32 (src->secs); in som_swap_clock_in()
1607 dst->nanosecs = bfd_getb32 (src->nanosecs); in som_swap_clock_in()
1611 som_swap_clock_out (struct som_clock *src, in som_swap_clock_out() argument
1614 bfd_putb32 (src->secs, dst->secs); in som_swap_clock_out()
1615 bfd_putb32 (src->nanosecs, dst->nanosecs); in som_swap_clock_out()
1619 som_swap_header_in (struct som_external_header *src, in som_swap_header_in() argument
1622 dst->system_id = bfd_getb16 (src->system_id); in som_swap_header_in()
1623 dst->a_magic = bfd_getb16 (src->a_magic); in som_swap_header_in()
1624 dst->version_id = bfd_getb32 (src->version_id); in som_swap_header_in()
1625 som_swap_clock_in (&src->file_time, &dst->file_time); in som_swap_header_in()
1626 dst->entry_space = bfd_getb32 (src->entry_space); in som_swap_header_in()
1627 dst->entry_subspace = bfd_getb32 (src->entry_subspace); in som_swap_header_in()
1628 dst->entry_offset = bfd_getb32 (src->entry_offset); in som_swap_header_in()
1629 dst->aux_header_location = bfd_getb32 (src->aux_header_location); in som_swap_header_in()
1630 dst->aux_header_size = bfd_getb32 (src->aux_header_size); in som_swap_header_in()
1631 dst->som_length = bfd_getb32 (src->som_length); in som_swap_header_in()
1632 dst->presumed_dp = bfd_getb32 (src->presumed_dp); in som_swap_header_in()
1633 dst->space_location = bfd_getb32 (src->space_location); in som_swap_header_in()
1634 dst->space_total = bfd_getb32 (src->space_total); in som_swap_header_in()
1635 dst->subspace_location = bfd_getb32 (src->subspace_location); in som_swap_header_in()
1636 dst->subspace_total = bfd_getb32 (src->subspace_total); in som_swap_header_in()
1637 dst->loader_fixup_location = bfd_getb32 (src->loader_fixup_location); in som_swap_header_in()
1638 dst->loader_fixup_total = bfd_getb32 (src->loader_fixup_total); in som_swap_header_in()
1639 dst->space_strings_location = bfd_getb32 (src->space_strings_location); in som_swap_header_in()
1640 dst->space_strings_size = bfd_getb32 (src->space_strings_size); in som_swap_header_in()
1641 dst->init_array_location = bfd_getb32 (src->init_array_location); in som_swap_header_in()
1642 dst->init_array_total = bfd_getb32 (src->init_array_total); in som_swap_header_in()
1643 dst->compiler_location = bfd_getb32 (src->compiler_location); in som_swap_header_in()
1644 dst->compiler_total = bfd_getb32 (src->compiler_total); in som_swap_header_in()
1645 dst->symbol_location = bfd_getb32 (src->symbol_location); in som_swap_header_in()
1646 dst->symbol_total = bfd_getb32 (src->symbol_total); in som_swap_header_in()
1647 dst->fixup_request_location = bfd_getb32 (src->fixup_request_location); in som_swap_header_in()
1648 dst->fixup_request_total = bfd_getb32 (src->fixup_request_total); in som_swap_header_in()
1649 dst->symbol_strings_location = bfd_getb32 (src->symbol_strings_location); in som_swap_header_in()
1650 dst->symbol_strings_size = bfd_getb32 (src->symbol_strings_size); in som_swap_header_in()
1651 dst->unloadable_sp_location = bfd_getb32 (src->unloadable_sp_location); in som_swap_header_in()
1652 dst->unloadable_sp_size = bfd_getb32 (src->unloadable_sp_size); in som_swap_header_in()
1653 dst->checksum = bfd_getb32 (src->checksum); in som_swap_header_in()
1657 som_swap_header_out (struct som_header *src, in som_swap_header_out() argument
1660 bfd_putb16 (src->system_id, dst->system_id); in som_swap_header_out()
1661 bfd_putb16 (src->a_magic, dst->a_magic); in som_swap_header_out()
1662 bfd_putb32 (src->version_id, dst->version_id); in som_swap_header_out()
1663 som_swap_clock_out (&src->file_time, &dst->file_time); in som_swap_header_out()
1664 bfd_putb32 (src->entry_space, dst->entry_space); in som_swap_header_out()
1665 bfd_putb32 (src->entry_subspace, dst->entry_subspace); in som_swap_header_out()
1666 bfd_putb32 (src->entry_offset, dst->entry_offset); in som_swap_header_out()
1667 bfd_putb32 (src->aux_header_location, dst->aux_header_location); in som_swap_header_out()
1668 bfd_putb32 (src->aux_header_size, dst->aux_header_size); in som_swap_header_out()
1669 bfd_putb32 (src->som_length, dst->som_length); in som_swap_header_out()
1670 bfd_putb32 (src->presumed_dp, dst->presumed_dp); in som_swap_header_out()
1671 bfd_putb32 (src->space_location, dst->space_location); in som_swap_header_out()
1672 bfd_putb32 (src->space_total, dst->space_total); in som_swap_header_out()
1673 bfd_putb32 (src->subspace_location, dst->subspace_location); in som_swap_header_out()
1674 bfd_putb32 (src->subspace_total, dst->subspace_total); in som_swap_header_out()
1675 bfd_putb32 (src->loader_fixup_location, dst->loader_fixup_location); in som_swap_header_out()
1676 bfd_putb32 (src->loader_fixup_total, dst->loader_fixup_total); in som_swap_header_out()
1677 bfd_putb32 (src->space_strings_location, dst->space_strings_location); in som_swap_header_out()
1678 bfd_putb32 (src->space_strings_size, dst->space_strings_size); in som_swap_header_out()
1679 bfd_putb32 (src->init_array_location, dst->init_array_location); in som_swap_header_out()
1680 bfd_putb32 (src->init_array_total, dst->init_array_total); in som_swap_header_out()
1681 bfd_putb32 (src->compiler_location, dst->compiler_location); in som_swap_header_out()
1682 bfd_putb32 (src->compiler_total, dst->compiler_total); in som_swap_header_out()
1683 bfd_putb32 (src->symbol_location, dst->symbol_location); in som_swap_header_out()
1684 bfd_putb32 (src->symbol_total, dst->symbol_total); in som_swap_header_out()
1685 bfd_putb32 (src->fixup_request_location, dst->fixup_request_location); in som_swap_header_out()
1686 bfd_putb32 (src->fixup_request_total, dst->fixup_request_total); in som_swap_header_out()
1687 bfd_putb32 (src->symbol_strings_location, dst->symbol_strings_location); in som_swap_header_out()
1688 bfd_putb32 (src->symbol_strings_size, dst->symbol_strings_size); in som_swap_header_out()
1689 bfd_putb32 (src->unloadable_sp_location, dst->unloadable_sp_location); in som_swap_header_out()
1690 bfd_putb32 (src->unloadable_sp_size, dst->unloadable_sp_size); in som_swap_header_out()
1691 bfd_putb32 (src->checksum, dst->checksum); in som_swap_header_out()
1695 som_swap_space_dictionary_in (struct som_external_space_dictionary_record *src, in som_swap_space_dictionary_in() argument
1700 dst->name = bfd_getb32 (src->name); in som_swap_space_dictionary_in()
1701 flags = bfd_getb32 (src->flags); in som_swap_space_dictionary_in()
1710 dst->space_number = bfd_getb32 (src->space_number); in som_swap_space_dictionary_in()
1711 dst->subspace_index = bfd_getb32 (src->subspace_index); in som_swap_space_dictionary_in()
1712 dst->subspace_quantity = bfd_getb32 (src->subspace_quantity); in som_swap_space_dictionary_in()
1713 dst->loader_fix_index = bfd_getb32 (src->loader_fix_index); in som_swap_space_dictionary_in()
1714 dst->loader_fix_quantity = bfd_getb32 (src->loader_fix_quantity); in som_swap_space_dictionary_in()
1715 dst->init_pointer_index = bfd_getb32 (src->init_pointer_index); in som_swap_space_dictionary_in()
1716 dst->init_pointer_quantity = bfd_getb32 (src->init_pointer_quantity); in som_swap_space_dictionary_in()
1720 som_swap_space_dictionary_out (struct som_space_dictionary_record *src, in som_swap_space_dictionary_out() argument
1725 bfd_putb32 (src->name, dst->name); in som_swap_space_dictionary_out()
1728 if (src->is_loadable) in som_swap_space_dictionary_out()
1730 if (src->is_defined) in som_swap_space_dictionary_out()
1732 if (src->is_private) in som_swap_space_dictionary_out()
1734 if (src->has_intermediate_code) in som_swap_space_dictionary_out()
1736 if (src->is_tspecific) in som_swap_space_dictionary_out()
1738 flags |= (src->sort_key & SOM_SPACE_SORT_KEY_MASK) << SOM_SPACE_SORT_KEY_SH; in som_swap_space_dictionary_out()
1740 bfd_putb32 (src->space_number, dst->space_number); in som_swap_space_dictionary_out()
1741 bfd_putb32 (src->subspace_index, dst->subspace_index); in som_swap_space_dictionary_out()
1742 bfd_putb32 (src->subspace_quantity, dst->subspace_quantity); in som_swap_space_dictionary_out()
1743 bfd_putb32 (src->loader_fix_index, dst->loader_fix_index); in som_swap_space_dictionary_out()
1744 bfd_putb32 (src->loader_fix_quantity, dst->loader_fix_quantity); in som_swap_space_dictionary_out()
1745 bfd_putb32 (src->init_pointer_index, dst->init_pointer_index); in som_swap_space_dictionary_out()
1746 bfd_putb32 (src->init_pointer_quantity, dst->init_pointer_quantity); in som_swap_space_dictionary_out()
1751 (struct som_external_subspace_dictionary_record *src, in som_swap_subspace_dictionary_in() argument
1755 dst->space_index = bfd_getb32 (src->space_index); in som_swap_subspace_dictionary_in()
1756 flags = bfd_getb32 (src->flags); in som_swap_subspace_dictionary_in()
1775 dst->file_loc_init_value = bfd_getb32 (src->file_loc_init_value); in som_swap_subspace_dictionary_in()
1776 dst->initialization_length = bfd_getb32 (src->initialization_length); in som_swap_subspace_dictionary_in()
1777 dst->subspace_start = bfd_getb32 (src->subspace_start); in som_swap_subspace_dictionary_in()
1778 dst->subspace_length = bfd_getb32 (src->subspace_length); in som_swap_subspace_dictionary_in()
1779 dst->alignment = bfd_getb32 (src->alignment); in som_swap_subspace_dictionary_in()
1780 dst->name = bfd_getb32 (src->name); in som_swap_subspace_dictionary_in()
1781 dst->fixup_request_index = bfd_getb32 (src->fixup_request_index); in som_swap_subspace_dictionary_in()
1782 dst->fixup_request_quantity = bfd_getb32 (src->fixup_request_quantity); in som_swap_subspace_dictionary_in()
1787 (struct som_subspace_dictionary_record *src, in som_swap_subspace_dictionary_record_out() argument
1792 bfd_putb32 (src->space_index, dst->space_index); in som_swap_subspace_dictionary_record_out()
1793 flags = (src->access_control_bits & SOM_SUBSPACE_ACCESS_CONTROL_BITS_MASK) in som_swap_subspace_dictionary_record_out()
1795 if (src->memory_resident) in som_swap_subspace_dictionary_record_out()
1797 if (src->dup_common) in som_swap_subspace_dictionary_record_out()
1799 if (src->is_common) in som_swap_subspace_dictionary_record_out()
1801 if (src->is_loadable) in som_swap_subspace_dictionary_record_out()
1803 flags |= (src->quadrant & SOM_SUBSPACE_QUADRANT_MASK) in som_swap_subspace_dictionary_record_out()
1805 if (src->initially_frozen) in som_swap_subspace_dictionary_record_out()
1807 if (src->is_first) in som_swap_subspace_dictionary_record_out()
1809 if (src->code_only) in som_swap_subspace_dictionary_record_out()
1811 flags |= (src->sort_key & SOM_SUBSPACE_SORT_KEY_MASK) in som_swap_subspace_dictionary_record_out()
1813 if (src->replicate_init) in som_swap_subspace_dictionary_record_out()
1815 if (src->continuation) in som_swap_subspace_dictionary_record_out()
1817 if (src->is_tspecific) in som_swap_subspace_dictionary_record_out()
1819 if (src->is_comdat) in som_swap_subspace_dictionary_record_out()
1822 bfd_putb32 (src->file_loc_init_value, dst->file_loc_init_value); in som_swap_subspace_dictionary_record_out()
1823 bfd_putb32 (src->initialization_length, dst->initialization_length); in som_swap_subspace_dictionary_record_out()
1824 bfd_putb32 (src->subspace_start, dst->subspace_start); in som_swap_subspace_dictionary_record_out()
1825 bfd_putb32 (src->subspace_length, dst->subspace_length); in som_swap_subspace_dictionary_record_out()
1826 bfd_putb32 (src->alignment, dst->alignment); in som_swap_subspace_dictionary_record_out()
1827 bfd_putb32 (src->name, dst->name); in som_swap_subspace_dictionary_record_out()
1828 bfd_putb32 (src->fixup_request_index, dst->fixup_request_index); in som_swap_subspace_dictionary_record_out()
1829 bfd_putb32 (src->fixup_request_quantity, dst->fixup_request_quantity); in som_swap_subspace_dictionary_record_out()
1833 som_swap_aux_id_in (struct som_external_aux_id *src, in som_swap_aux_id_in() argument
1836 unsigned int flags = bfd_getb32 (src->flags); in som_swap_aux_id_in()
1843 dst->length = bfd_getb32 (src->length); in som_swap_aux_id_in()
1847 som_swap_aux_id_out (struct som_aux_id *src, in som_swap_aux_id_out() argument
1852 if (src->mandatory) in som_swap_aux_id_out()
1854 if (src->copy) in som_swap_aux_id_out()
1856 if (src->append) in som_swap_aux_id_out()
1858 if (src->ignore) in som_swap_aux_id_out()
1860 flags |= (src->type & SOM_AUX_ID_TYPE_MASK) << SOM_AUX_ID_TYPE_SH; in som_swap_aux_id_out()
1862 bfd_putb32 (src->length, dst->length); in som_swap_aux_id_out()
1866 som_swap_string_auxhdr_out (struct som_string_auxhdr *src, in som_swap_string_auxhdr_out() argument
1869 som_swap_aux_id_out (&src->header_id, &dst->header_id); in som_swap_string_auxhdr_out()
1870 bfd_putb32 (src->string_length, dst->string_length); in som_swap_string_auxhdr_out()
1874 som_swap_compilation_unit_out (struct som_compilation_unit *src, in som_swap_compilation_unit_out() argument
1877 bfd_putb32 (src->name.strx, dst->name); in som_swap_compilation_unit_out()
1878 bfd_putb32 (src->language_name.strx, dst->language_name); in som_swap_compilation_unit_out()
1879 bfd_putb32 (src->product_id.strx, dst->product_id); in som_swap_compilation_unit_out()
1880 bfd_putb32 (src->version_id.strx, dst->version_id); in som_swap_compilation_unit_out()
1881 bfd_putb32 (src->flags, dst->flags); in som_swap_compilation_unit_out()
1882 som_swap_clock_out (&src->compile_time, &dst->compile_time); in som_swap_compilation_unit_out()
1883 som_swap_clock_out (&src->source_time, &dst->source_time); in som_swap_compilation_unit_out()
1887 som_swap_exec_auxhdr_in (struct som_external_exec_auxhdr *src, in som_swap_exec_auxhdr_in() argument
1890 som_swap_aux_id_in (&src->som_auxhdr, &dst->som_auxhdr); in som_swap_exec_auxhdr_in()
1891 dst->exec_tsize = bfd_getb32 (src->exec_tsize); in som_swap_exec_auxhdr_in()
1892 dst->exec_tmem = bfd_getb32 (src->exec_tmem); in som_swap_exec_auxhdr_in()
1893 dst->exec_tfile = bfd_getb32 (src->exec_tfile); in som_swap_exec_auxhdr_in()
1894 dst->exec_dsize = bfd_getb32 (src->exec_dsize); in som_swap_exec_auxhdr_in()
1895 dst->exec_dmem = bfd_getb32 (src->exec_dmem); in som_swap_exec_auxhdr_in()
1896 dst->exec_dfile = bfd_getb32 (src->exec_dfile); in som_swap_exec_auxhdr_in()
1897 dst->exec_bsize = bfd_getb32 (src->exec_bsize); in som_swap_exec_auxhdr_in()
1898 dst->exec_entry = bfd_getb32 (src->exec_entry); in som_swap_exec_auxhdr_in()
1899 dst->exec_flags = bfd_getb32 (src->exec_flags); in som_swap_exec_auxhdr_in()
1900 dst->exec_bfill = bfd_getb32 (src->exec_bfill); in som_swap_exec_auxhdr_in()
1904 som_swap_exec_auxhdr_out (struct som_exec_auxhdr *src, in som_swap_exec_auxhdr_out() argument
1907 som_swap_aux_id_out (&src->som_auxhdr, &dst->som_auxhdr); in som_swap_exec_auxhdr_out()
1908 bfd_putb32 (src->exec_tsize, dst->exec_tsize); in som_swap_exec_auxhdr_out()
1909 bfd_putb32 (src->exec_tmem, dst->exec_tmem); in som_swap_exec_auxhdr_out()
1910 bfd_putb32 (src->exec_tfile, dst->exec_tfile); in som_swap_exec_auxhdr_out()
1911 bfd_putb32 (src->exec_dsize, dst->exec_dsize); in som_swap_exec_auxhdr_out()
1912 bfd_putb32 (src->exec_dmem, dst->exec_dmem); in som_swap_exec_auxhdr_out()
1913 bfd_putb32 (src->exec_dfile, dst->exec_dfile); in som_swap_exec_auxhdr_out()
1914 bfd_putb32 (src->exec_bsize, dst->exec_bsize); in som_swap_exec_auxhdr_out()
1915 bfd_putb32 (src->exec_entry, dst->exec_entry); in som_swap_exec_auxhdr_out()
1916 bfd_putb32 (src->exec_flags, dst->exec_flags); in som_swap_exec_auxhdr_out()
1917 bfd_putb32 (src->exec_bfill, dst->exec_bfill); in som_swap_exec_auxhdr_out()
1921 som_swap_lst_header_in (struct som_external_lst_header *src, in som_swap_lst_header_in() argument
1924 dst->system_id = bfd_getb16 (src->system_id); in som_swap_lst_header_in()
1925 dst->a_magic = bfd_getb16 (src->a_magic); in som_swap_lst_header_in()
1926 dst->version_id = bfd_getb32 (src->version_id); in som_swap_lst_header_in()
1927 som_swap_clock_in (&src->file_time, &dst->file_time); in som_swap_lst_header_in()
1928 dst->hash_loc = bfd_getb32 (src->hash_loc); in som_swap_lst_header_in()
1929 dst->hash_size = bfd_getb32 (src->hash_size); in som_swap_lst_header_in()
1930 dst->module_count = bfd_getb32 (src->module_count); in som_swap_lst_header_in()
1931 dst->module_limit = bfd_getb32 (src->module_limit); in som_swap_lst_header_in()
1932 dst->dir_loc = bfd_getb32 (src->dir_loc); in som_swap_lst_header_in()
1933 dst->export_loc = bfd_getb32 (src->export_loc); in som_swap_lst_header_in()
1934 dst->export_count = bfd_getb32 (src->export_count); in som_swap_lst_header_in()
1935 dst->import_loc = bfd_getb32 (src->import_loc); in som_swap_lst_header_in()
1936 dst->aux_loc = bfd_getb32 (src->aux_loc); in som_swap_lst_header_in()
1937 dst->aux_size = bfd_getb32 (src->aux_size); in som_swap_lst_header_in()
1938 dst->string_loc = bfd_getb32 (src->string_loc); in som_swap_lst_header_in()
1939 dst->string_size = bfd_getb32 (src->string_size); in som_swap_lst_header_in()
1940 dst->free_list = bfd_getb32 (src->free_list); in som_swap_lst_header_in()
1941 dst->file_end = bfd_getb32 (src->file_end); in som_swap_lst_header_in()
1942 dst->checksum = bfd_getb32 (src->checksum); in som_swap_lst_header_in()