Home
last modified time | relevance | path

Searched refs:reloc_size (Results 1 – 25 of 97) sorted by relevance

1234

/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-mn10200.c1236 int reloc_size; in md_assemble() local
1251 reloc_size = bfd_get_reloc_size (reloc_howto); in md_assemble()
1253 if (reloc_size < 1 || reloc_size > 4) in md_assemble()
1256 offset = 4 - reloc_size; in md_assemble()
1258 reloc_size, in md_assemble()
1267 fixP->fx_offset += reloc_size; in md_assemble()
1277 reloc_size = operand->bits; in md_assemble()
1279 offset = size - reloc_size / 8; in md_assemble()
1287 if (reloc_size == 8) in md_assemble()
1289 else if (reloc_size == 24) in md_assemble()
[all …]
H A Dtc-mn10300.c2061 int reloc_size; in md_assemble() local
2085 reloc_size = bfd_get_reloc_size (reloc_howto); in md_assemble()
2087 if (reloc_size < 1 || reloc_size > 4) in md_assemble()
2092 reloc_size, &fixups[i].exp, in md_assemble()
2107 reloc_size = 32; in md_assemble()
2109 reloc_size = 24; in md_assemble()
2111 reloc_size = operand->bits; in md_assemble()
2118 offset = size - (reloc_size + operand->shift) / 8; in md_assemble()
2125 if (reloc_size == 32) in md_assemble()
2127 else if (reloc_size == 16) in md_assemble()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-mn10200.c1235 int reloc_size; in md_assemble() local
1250 reloc_size = bfd_get_reloc_size (reloc_howto); in md_assemble()
1252 if (reloc_size < 1 || reloc_size > 4) in md_assemble()
1255 offset = 4 - reloc_size; in md_assemble()
1257 reloc_size, in md_assemble()
1266 fixP->fx_offset += reloc_size; in md_assemble()
1276 reloc_size = operand->bits; in md_assemble()
1278 offset = size - reloc_size / 8; in md_assemble()
1286 if (reloc_size == 8) in md_assemble()
1288 else if (reloc_size == 24) in md_assemble()
[all …]
H A Dtc-mn10300.c2060 int reloc_size; in md_assemble() local
2084 reloc_size = bfd_get_reloc_size (reloc_howto); in md_assemble()
2086 if (reloc_size < 1 || reloc_size > 4) in md_assemble()
2091 reloc_size, &fixups[i].exp, in md_assemble()
2106 reloc_size = 32; in md_assemble()
2108 reloc_size = 24; in md_assemble()
2110 reloc_size = operand->bits; in md_assemble()
2117 offset = size - (reloc_size + operand->shift) / 8; in md_assemble()
2124 if (reloc_size == 32) in md_assemble()
2126 else if (reloc_size == 16) in md_assemble()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dtarget-reloc.h59 const int reloc_size = Classify_reloc::reloc_size; in scan_relocs() local
63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs()
322 const int reloc_size = Classify_reloc::reloc_size; in relocate_section() local
331 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section()
489 const int reloc_size = elfcpp::Elf_sizes<size>::rela_size; in apply_relocation() local
490 unsigned char relbuf[reloc_size]; in apply_relocation()
530 static const int reloc_size = variable
531 Reloc_types<sh_type_, size, big_endian>::reloc_size;
584 static const int reloc_size = Classify_reloc::reloc_size; variable
651 static const int reloc_size = Classify_reloc::reloc_size; variable
[all …]
H A Dreloc.cc328 unsigned int reloc_size; in do_read_relocs() local
330 reloc_size = elfcpp::Elf_sizes<size>::rel_size; in do_read_relocs()
332 reloc_size = elfcpp::Elf_sizes<size>::rela_size; in do_read_relocs()
333 if (reloc_size != shdr.get_sh_entsize()) in do_read_relocs()
337 reloc_size); in do_read_relocs()
341 size_t reloc_count = sh_size / reloc_size; in do_read_relocs()
342 if (static_cast<off_t>(reloc_count * reloc_size) != sh_size) in do_read_relocs()
561 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in incremental_relocs_scan_reltype() local
565 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in incremental_relocs_scan_reltype()
954 unsigned int reloc_size; in relocate_section_range() local
[all …]
H A Dreloc-types.h45 static const int reloc_size = elfcpp::Elf_sizes<size>::rel_size;
66 static const int reloc_size = elfcpp::Elf_sizes<size>::rela_size;
H A Dgc.h185 const int reloc_size = Classify_reloc::reloc_size; in gc_process_relocs() local
221 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in gc_process_relocs()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dtarget-reloc.h59 const int reloc_size = Classify_reloc::reloc_size; in scan_relocs() local
63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs()
322 const int reloc_size = Classify_reloc::reloc_size; in relocate_section() local
331 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section()
489 const int reloc_size = elfcpp::Elf_sizes<size>::rela_size; in apply_relocation() local
490 unsigned char relbuf[reloc_size]; in apply_relocation()
530 static const int reloc_size = variable
531 Reloc_types<sh_type_, size, big_endian>::reloc_size;
584 static const int reloc_size = Classify_reloc::reloc_size; variable
651 static const int reloc_size = Classify_reloc::reloc_size; variable
[all …]
H A Dreloc.cc328 unsigned int reloc_size; in do_read_relocs() local
330 reloc_size = elfcpp::Elf_sizes<size>::rel_size; in do_read_relocs()
332 reloc_size = elfcpp::Elf_sizes<size>::rela_size; in do_read_relocs()
333 if (reloc_size != shdr.get_sh_entsize()) in do_read_relocs()
337 reloc_size); in do_read_relocs()
341 size_t reloc_count = sh_size / reloc_size; in do_read_relocs()
342 if (static_cast<off_t>(reloc_count * reloc_size) != sh_size) in do_read_relocs()
561 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in incremental_relocs_scan_reltype() local
565 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in incremental_relocs_scan_reltype()
954 unsigned int reloc_size; in relocate_section_range() local
[all …]
H A Dreloc-types.h45 static const int reloc_size = elfcpp::Elf_sizes<size>::rel_size;
66 static const int reloc_size = elfcpp::Elf_sizes<size>::rela_size;
H A Dgc.h185 const int reloc_size = Classify_reloc::reloc_size; in gc_process_relocs() local
221 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in gc_process_relocs()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dreloc16.c149 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_coff_reloc16_relax_section() local
161 if (reloc_size < 0) in bfd_coff_reloc16_relax_section()
164 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); in bfd_coff_reloc16_relax_section()
165 if (!reloc_vector && reloc_size > 0) in bfd_coff_reloc16_relax_section()
254 long reloc_size; in bfd_coff_reloc16_get_relocated_section_contents() local
258 reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_coff_reloc16_get_relocated_section_contents()
259 if (reloc_size < 0) in bfd_coff_reloc16_get_relocated_section_contents()
277 if (reloc_size == 0) in bfd_coff_reloc16_get_relocated_section_contents()
280 reloc_vector = (arelent **) bfd_malloc (reloc_size); in bfd_coff_reloc16_get_relocated_section_contents()
H A Di386lynx.c378 bfd_size_type reloc_size; in NAME() local
391 reloc_size = exec_hdr (abfd)->a_drsize; in NAME()
397 reloc_size = exec_hdr (abfd)->a_trsize; in NAME()
409 count = reloc_size / each_size; in NAME()
416 relocs = _bfd_alloc_and_read (abfd, reloc_size, reloc_size); in NAME()
417 if (!relocs && reloc_size != 0) in NAME()
H A Dreloc.c528 bfd_size_type reloc_size = bfd_get_reloc_size (howto); in bfd_reloc_offset_in_range() local
533 return octet <= octet_end && reloc_size <= octet_end - octet; in bfd_reloc_offset_in_range()
8569 long reloc_size; in bfd_generic_get_relocated_section_contents() local
8573 reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_generic_get_relocated_section_contents()
8574 if (reloc_size < 0) in bfd_generic_get_relocated_section_contents()
8585 if (reloc_size == 0) in bfd_generic_get_relocated_section_contents()
8588 reloc_vector = (arelent **) bfd_malloc (reloc_size); in bfd_generic_get_relocated_section_contents()
H A Delf64-bpf.c414 bfd_size_type reloc_size; in bpf_elf_generic_reloc() local
416 reloc_size = 16; in bpf_elf_generic_reloc()
418 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
422 || end - reloc_entry->address < reloc_size) in bpf_elf_generic_reloc()
H A Dsyms.c1008 long reloc_size, reloc_count; in _bfd_stab_section_find_nearest_line() local
1064 reloc_size = bfd_get_reloc_upper_bound (abfd, info->stabsec); in _bfd_stab_section_find_nearest_line()
1065 if (reloc_size < 0) in _bfd_stab_section_find_nearest_line()
1067 reloc_vector = (arelent **) bfd_malloc (reloc_size); in _bfd_stab_section_find_nearest_line()
1068 if (reloc_vector == NULL && reloc_size != 0) in _bfd_stab_section_find_nearest_line()
H A Dcoff-z8k.c207 bfd_size_type reloc_size = bfd_get_reloc_size (reloc->howto); in extra_case() local
210 || reloc_size > end - *src_ptr) in extra_case()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dreloc16.c149 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_coff_reloc16_relax_section() local
161 if (reloc_size < 0) in bfd_coff_reloc16_relax_section()
164 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); in bfd_coff_reloc16_relax_section()
165 if (!reloc_vector && reloc_size > 0) in bfd_coff_reloc16_relax_section()
254 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_coff_reloc16_get_relocated_section_contents() local
259 if (reloc_size < 0) in bfd_coff_reloc16_get_relocated_section_contents()
274 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); in bfd_coff_reloc16_get_relocated_section_contents()
275 if (!reloc_vector && reloc_size != 0) in bfd_coff_reloc16_get_relocated_section_contents()
H A Di386lynx.c378 bfd_size_type reloc_size; in NAME() local
391 reloc_size = exec_hdr (abfd)->a_drsize; in NAME()
397 reloc_size = exec_hdr (abfd)->a_trsize; in NAME()
409 count = reloc_size / each_size; in NAME()
416 relocs = _bfd_alloc_and_read (abfd, reloc_size, reloc_size); in NAME()
417 if (!relocs && reloc_size != 0) in NAME()
H A Dreloc.c523 bfd_size_type reloc_size = bfd_get_reloc_size (howto); in bfd_reloc_offset_in_range() local
528 return octet <= octet_end && reloc_size <= octet_end - octet; in bfd_reloc_offset_in_range()
8455 long reloc_size; in bfd_generic_get_relocated_section_contents() local
8459 reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); in bfd_generic_get_relocated_section_contents()
8460 if (reloc_size < 0) in bfd_generic_get_relocated_section_contents()
8470 if (reloc_size == 0) in bfd_generic_get_relocated_section_contents()
8473 reloc_vector = (arelent **) bfd_malloc (reloc_size); in bfd_generic_get_relocated_section_contents()
H A Delf64-bpf.c612 bfd_size_type reloc_size; in bpf_elf_generic_reloc() local
614 reloc_size = 16; in bpf_elf_generic_reloc()
616 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
620 || end - reloc_entry->address < reloc_size) in bpf_elf_generic_reloc()
H A Dsyms.c994 long reloc_size, reloc_count; in _bfd_stab_section_find_nearest_line() local
1053 reloc_size = bfd_get_reloc_upper_bound (abfd, info->stabsec); in _bfd_stab_section_find_nearest_line()
1054 if (reloc_size < 0) in _bfd_stab_section_find_nearest_line()
1056 reloc_vector = (arelent **) bfd_malloc (reloc_size); in _bfd_stab_section_find_nearest_line()
1057 if (reloc_vector == NULL && reloc_size != 0) in _bfd_stab_section_find_nearest_line()
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dldctor.c255 int reloc_size, size; in ldctor_build_sets() local
308 reloc_size = bfd_get_reloc_size (howto); in ldctor_build_sets()
309 switch (reloc_size) in ldctor_build_sets()
329 exp_intop (reloc_size)), in ldctor_build_sets()
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Dldctor.c254 int reloc_size, size; in ldctor_build_sets() local
307 reloc_size = bfd_get_reloc_size (howto); in ldctor_build_sets()
308 switch (reloc_size) in ldctor_build_sets()
328 exp_intop (reloc_size)), in ldctor_build_sets()

1234