Home
last modified time | relevance | path

Searched refs:valsize (Results 1 – 8 of 8) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dint_encoding.h100 template <int valsize>
102 typename elfcpp::Valtype_base<valsize>::Valtype value) in insert_into_vector()
104 unsigned char buffer[valsize / 8]; in insert_into_vector()
106 elfcpp::Swap_unaligned<valsize, true>::writeval(buffer, value); in insert_into_vector()
108 elfcpp::Swap_unaligned<valsize, false>::writeval(buffer, value); in insert_into_vector()
109 destination->insert(destination->end(), buffer, buffer + valsize / 8); in insert_into_vector()
114 template <int valsize>
115 typename elfcpp::Valtype_base<valsize>::Valtype
118 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
120 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
[all …]
Dreloc.h325 template<int valsize>
328 typename elfcpp::Swap<valsize, big_endian>::Valtype value) in rel() argument
330 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rel()
332 Valtype x = elfcpp::Swap<valsize, big_endian>::readval(wv); in rel()
333 elfcpp::Swap<valsize, big_endian>::writeval(wv, x + value); in rel()
337 template<int valsize>
340 typename elfcpp::Swap<valsize, big_endian>::Valtype value) in rel_unaligned() argument
342 typedef typename elfcpp::Swap_unaligned<valsize, big_endian>::Valtype in rel_unaligned()
344 Valtype x = elfcpp::Swap_unaligned<valsize, big_endian>::readval(view); in rel_unaligned()
345 elfcpp::Swap_unaligned<valsize, big_endian>::writeval(view, x + value); in rel_unaligned()
[all …]
Dtilegx.cc803 template<int valsize>
812 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
814 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
826 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | (reloc<<doffset)); in rela()
830 template<int valsize>
839 typedef typename elfcpp::Swap_unaligned<valsize, big_endian>::Valtype in rela_ua()
842 Valtype val = elfcpp::Swap_unaligned<valsize, big_endian>::readval(wv); in rela_ua()
854 elfcpp::Swap_unaligned<valsize, big_endian>::writeval(wv, in rela_ua()
858 template<int valsize>
868 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
[all …]
Dsparc.cc522 template<int valsize>
526 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
530 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
532 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
538 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc); in rela()
543 template<int valsize>
547 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
550 typename elfcpp::Swap<valsize, big_endian>::Valtype addend) in rela() argument
552 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
554 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
[all …]
Ddwarf_reader.h739 template <int valsize>
740 inline typename elfcpp::Valtype_base<valsize>::Valtype
744 template <int valsize>
745 inline typename elfcpp::Valtype_base<valsize>::Valtype
Ddwarf_reader.cc1423 template <int valsize>
1424 inline typename elfcpp::Valtype_base<valsize>::Valtype
1427 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1429 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
1431 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(source); in read_from_pointer()
1436 template <int valsize>
1437 inline typename elfcpp::Valtype_base<valsize>::Valtype
1440 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1442 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(*source); in read_from_pointer()
1444 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(*source); in read_from_pointer()
[all …]
Daarch64.cc5013 template<int valsize>
5020 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view()
5022 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view()
5026 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view()
5034 template<int valsize>
5044 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view_two_parts()
5046 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view_two_parts()
5048 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view_two_parts()
5101 template<int valsize>
5116 This::template update_view<valsize>(view, immed, in reloc_common()
[all …]
Dpowerpc.cc1499 template<int valsize>
1504 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
1505 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
1506 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
1510 template<int valsize>
1514 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
1515 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
1516 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
1520 template<int valsize>
1524 return (has_overflow_unsigned<valsize>(value) in has_overflow_bitfield()
[all …]