| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | reloc16.c | 44 bfd_coff_reloc16_get_value (reloc, link_info, input_section) in bfd_coff_reloc16_get_value() argument 47 asection *input_section; 65 h = bfd_wrapped_link_hash_lookup (input_section->owner, link_info, 81 input_section->owner, input_section, reloc->address, 101 bfd_perform_slip (abfd, slip, input_section, value) in bfd_perform_slip() argument 104 asection *input_section; 117 if (p->section == input_section) 140 bfd_coff_reloc16_relax_section (abfd, input_section, link_info, again) in bfd_coff_reloc16_relax_section() argument 142 asection *input_section; 147 bfd *input_bfd = input_section->owner; [all …]
|
| H A D | coff-w65.c | 117 w65_reloc16_estimate (abfd, input_section, reloc, shrink, link_info) in w65_reloc16_estimate() argument 119 asection *input_section; 146 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 156 bfd_perform_slip (abfd, 2, input_section, address); 165 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 167 dot = input_section->output_section->vma + 168 input_section->output_offset + address; 182 bfd_perform_slip (abfd, 2, input_section, address); 187 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 189 dot = input_section->output_section->vma + [all …]
|
| H A D | coff-z8k.c | 174 asection * input_section = link_order->u.indirect.section; in extra_case() local 180 bfd_coff_reloc16_get_value (reloc, link_info, input_section), in extra_case() 192 input_section), in extra_case() 198 input_section); in extra_case() 215 input_section))), in extra_case() 223 bfd_coff_reloc16_get_value (reloc, link_info, input_section), in extra_case() 232 input_section); in extra_case() 234 + input_section->output_offset in extra_case() 235 + input_section->output_section->vma); in extra_case() 247 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() [all …]
|
| H A D | coff-h8300.c | 230 asection *input_section ATTRIBUTE_UNUSED, in special() 238 reloc_entry->address += input_section->output_offset; in special() 399 h8300_symbol_address_p (bfd *abfd, asection *input_section, bfd_vma address) in h8300_symbol_address_p() argument 412 if (p->section == input_section in h8300_symbol_address_p() 413 && (input_section->output_section->vma in h8300_symbol_address_p() 414 + input_section->output_offset in h8300_symbol_address_p() 431 h8300_reloc16_estimate (bfd *abfd, asection *input_section, arelent *reloc, in h8300_reloc16_estimate() argument 446 if (input_section != last_input_section) in h8300_reloc16_estimate() 457 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); in h8300_reloc16_estimate() 460 dot = (input_section->output_section->vma in h8300_reloc16_estimate() [all …]
|
| H A D | coff-h8500.c | 177 asection *input_section = link_order->u.indirect.section; local 183 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 191 (bfd_coff_reloc16_get_value (reloc, link_info, input_section) 200 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 208 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 217 (bfd_coff_reloc16_get_value (reloc, link_info, input_section) 227 int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 237 int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 247 input_section); 249 + input_section->output_offset [all …]
|
| H A D | reloc.c | 579 asection *input_section, in bfd_perform_relocation() argument 595 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 614 input_section, output_bfd, in bfd_perform_relocation() 621 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in bfd_perform_relocation() 681 input_section->output_section->vma + input_section->output_offset; in bfd_perform_relocation() 695 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 706 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 970 asection *input_section, in bfd_install_relocation() argument 985 reloc_entry->address += input_section->output_offset; in bfd_install_relocation() 1002 input_section, abfd, error_message); in bfd_install_relocation() [all …]
|
| H A D | coff-mips.c | 62 bfd *input_bfd, asection *input_section, bfd_byte *contents, 416 input_section, in mips_generic_reloc() argument 423 asection *input_section; 431 reloc_entry->address += input_section->output_offset; 463 input_section, in mips_refhi_reloc() argument 470 asection *input_section; 484 reloc_entry->address += input_section->output_offset; 502 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 515 reloc_entry->address += input_section->output_offset; 529 input_section, in mips_reflo_reloc() argument [all …]
|
| H A D | coff-tic80.c | 373 ppbase_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in ppbase_reloc() argument 379 asection *input_section ATTRIBUTE_UNUSED; 390 glob15_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in glob15_reloc() argument 396 asection *input_section ATTRIBUTE_UNUSED; 407 glob16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in glob16_reloc() argument 413 asection *input_section ATTRIBUTE_UNUSED; 424 local16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in local16_reloc() argument 430 asection *input_section ATTRIBUTE_UNUSED; 499 input_section, contents, relocs, syms, in coff_tic80_relocate_section() argument 504 asection *input_section; [all …]
|
| H A D | coff-mcore.c | 225 mcore_emit_base_file_entry (info, output_bfd, input_section, reloc_offset) in mcore_emit_base_file_entry() argument 228 asection * input_section; 232 - input_section->vma 233 + input_section->output_offset 234 + input_section->output_section->vma; 243 mcore_coff_unsupported_reloc (abfd, reloc_entry, symbol, data, input_section, in mcore_coff_unsupported_reloc() argument 249 asection * input_section ATTRIBUTE_UNUSED; 343 coff_mcore_relocate_section (output_bfd, info, input_bfd, input_section, in coff_mcore_relocate_section() argument 348 asection * input_section; 383 relend = rel + input_section->reloc_count; [all …]
|
| H A D | elf32-i860.c | 35 asection *input_section, in i860_howto_pc26_reloc() argument 48 reloc_entry->address += input_section->output_offset; in i860_howto_pc26_reloc() 66 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in i860_howto_pc26_reloc() 70 relocation -= (input_section->output_section->vma in i860_howto_pc26_reloc() 71 + input_section->output_offset in i860_howto_pc26_reloc() 98 asection *input_section, in i860_howto_pc16_reloc() argument 111 reloc_entry->address += input_section->output_offset; in i860_howto_pc16_reloc() 129 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in i860_howto_pc16_reloc() 133 relocation -= (input_section->output_section->vma in i860_howto_pc16_reloc() 134 + input_section->output_offset in i860_howto_pc16_reloc() [all …]
|
| H A D | coff-z80.c | 162 asection * input_section = link_order->u.indirect.section; in extra_case() local 169 input_section); in extra_case() 175 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() 176 input_section, reloc->address))) in extra_case() 186 + bfd_coff_reloc16_get_value (reloc, link_info, input_section); in extra_case() 194 + bfd_coff_reloc16_get_value (reloc, link_info, input_section); in extra_case() 203 + bfd_coff_reloc16_get_value (reloc, link_info, input_section); in extra_case() 212 + bfd_coff_reloc16_get_value (reloc, link_info, input_section); in extra_case() 221 input_section); in extra_case() 223 + input_section->output_offset in extra_case() [all …]
|
| H A D | elf32-dlx.c | 56 asection *input_section, in _bfd_dlx_elf_hi16_reloc() argument 68 input_section, output_bfd, error_message); in _bfd_dlx_elf_hi16_reloc() 76 reloc_entry->address += input_section->output_offset; in _bfd_dlx_elf_hi16_reloc() 92 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in _bfd_dlx_elf_hi16_reloc() 116 asection *input_section, in elf32_dlx_relocate16() argument 130 input_section, output_bfd, error_message); in elf32_dlx_relocate16() 138 if (strcmp (input_section->name, symbol->section->output_section->name) != 0) in elf32_dlx_relocate16() 147 allignment = 1 << (input_section->output_section->alignment_power - 1); in elf32_dlx_relocate16() 154 vallo += (((unsigned long)(input_section->output_section->vma + in elf32_dlx_relocate16() 155 input_section->output_offset) + in elf32_dlx_relocate16() [all …]
|
| H A D | cpu-ns32k.c | 157 do_ns32k_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, in do_ns32k_reloc() argument 163 asection *input_section; 181 reloc_entry->address += input_section->output_offset; 194 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 252 input_section->output_section->vma + input_section->output_offset; 266 reloc_entry->address += input_section->output_offset; 277 reloc_entry->address += input_section->output_offset; 759 _bfd_ns32k_reloc_disp (abfd, reloc_entry, symbol, data, input_section, in _bfd_ns32k_reloc_disp() argument 765 asection *input_section; 769 return do_ns32k_reloc (abfd, reloc_entry, symbol, data, input_section, [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | coff-w65.c | 117 w65_reloc16_estimate (abfd, input_section, reloc, shrink, link_info) in w65_reloc16_estimate() argument 119 asection *input_section; 146 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 156 bfd_perform_slip (abfd, 2, input_section, address); 165 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 167 dot = input_section->output_section->vma + 168 input_section->output_offset + address; 182 bfd_perform_slip (abfd, 2, input_section, address); 187 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 189 dot = input_section->output_section->vma + [all …]
|
| H A D | reloc16.c | 44 bfd_coff_reloc16_get_value (reloc, link_info, input_section) in bfd_coff_reloc16_get_value() argument 47 asection *input_section; 65 h = bfd_wrapped_link_hash_lookup (input_section->owner, link_info, 81 input_section->owner, input_section, reloc->address, 101 bfd_perform_slip (abfd, slip, input_section, value) in bfd_perform_slip() argument 104 asection *input_section; 117 if (p->section == input_section) 140 bfd_coff_reloc16_relax_section (abfd, input_section, link_info, again) in bfd_coff_reloc16_relax_section() argument 142 asection *input_section; 147 bfd *input_bfd = input_section->owner; [all …]
|
| H A D | coff-z8k.c | 165 asection * input_section = link_order->u.indirect.section; in extra_case() local 171 bfd_coff_reloc16_get_value (reloc, link_info, input_section), in extra_case() 183 input_section), in extra_case() 189 input_section); in extra_case() 206 input_section))), in extra_case() 214 bfd_coff_reloc16_get_value (reloc, link_info, input_section), in extra_case() 223 input_section); in extra_case() 226 + input_section->output_section->vma); in extra_case() 237 reloc->howto->name, reloc->addend, input_section->owner, in extra_case() 238 input_section, reloc->address))) in extra_case() [all …]
|
| H A D | coff-h8300.c | 235 asection *input_section ATTRIBUTE_UNUSED, in special() 243 reloc_entry->address += input_section->output_offset; in special() 408 h8300_symbol_address_p (bfd *abfd, asection *input_section, bfd_vma address) in h8300_symbol_address_p() argument 421 if (p->section == input_section in h8300_symbol_address_p() 422 && (input_section->output_section->vma in h8300_symbol_address_p() 423 + input_section->output_offset in h8300_symbol_address_p() 440 h8300_reloc16_estimate (bfd *abfd, asection *input_section, arelent *reloc, in h8300_reloc16_estimate() argument 455 if (input_section != last_input_section) in h8300_reloc16_estimate() 466 value = bfd_coff_reloc16_get_value (reloc, link_info, input_section); in h8300_reloc16_estimate() 469 dot = (input_section->output_section->vma in h8300_reloc16_estimate() [all …]
|
| H A D | elf32-dlx.c | 249 input_section, output_bfd, error_message) in _bfd_dlx_elf_hi16_reloc() argument 254 asection *input_section; 269 input_section, output_bfd, error_message); 277 reloc_entry->address += input_section->output_offset; 298 printf ("DEBUG: The input_offset = 0x%08x\n", input_section->output_offset); 299 printf ("DEBUG: The input_vma = 0x%08x\n", input_section->vma); 310 if (reloc_entry->address > input_section->_cooked_size) 335 input_section, output_bfd, error_message) in elf32_dlx_relocate16() argument 340 asection *input_section; 354 input_section, output_bfd, error_message); [all …]
|
| H A D | reloc.c | 584 asection *input_section, in bfd_perform_relocation() argument 600 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 619 input_section, output_bfd, in bfd_perform_relocation() 626 if (reloc_entry->address > (input_section->_cooked_size in bfd_perform_relocation() 687 input_section->output_section->vma + input_section->output_offset; in bfd_perform_relocation() 701 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 712 reloc_entry->address += input_section->output_offset; in bfd_perform_relocation() 978 asection *input_section, in bfd_install_relocation() argument 993 reloc_entry->address += input_section->output_offset; in bfd_install_relocation() 1010 input_section, abfd, error_message); in bfd_install_relocation() [all …]
|
| H A D | elf32-or32.c | 281 or32_elf_32_reloc (abfd, reloc_entry, symbol, data, input_section, in or32_elf_32_reloc() argument 287 asection *input_section; 296 reloc_entry->address += input_section->output_offset; 311 or32_elf_16_reloc (abfd, reloc_entry, symbol, data, input_section, in or32_elf_16_reloc() argument 317 asection *input_section; 326 reloc_entry->address += input_section->output_offset; 341 or32_elf_8_reloc (abfd, reloc_entry, symbol, data, input_section, in or32_elf_8_reloc() argument 347 asection *input_section; 356 reloc_entry->address += input_section->output_offset; 391 or32_elf_consth_reloc (abfd, reloc_entry, symbol, data, input_section, in or32_elf_consth_reloc() argument [all …]
|
| H A D | coff-mips.c | 71 bfd *input_bfd, asection *input_section, bfd_byte *contents, 569 input_section, in mips_generic_reloc() argument 576 asection *input_section; 584 reloc_entry->address += input_section->output_offset; 616 input_section, in mips_refhi_reloc() argument 623 asection *input_section; 637 reloc_entry->address += input_section->output_offset; 655 if (reloc_entry->address > input_section->_cooked_size) 668 reloc_entry->address += input_section->output_offset; 682 input_section, in mips_reflo_reloc() argument [all …]
|
| H A D | coff-tic80.c | 365 ppbase_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in ppbase_reloc() argument 371 asection *input_section ATTRIBUTE_UNUSED; 382 glob15_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in glob15_reloc() argument 388 asection *input_section ATTRIBUTE_UNUSED; 399 glob16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in glob16_reloc() argument 405 asection *input_section ATTRIBUTE_UNUSED; 416 local16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, in local16_reloc() argument 422 asection *input_section ATTRIBUTE_UNUSED; 491 input_section, contents, relocs, syms, in coff_tic80_relocate_section() argument 496 asection *input_section; [all …]
|
| H A D | elf32-i860.c | 35 asection *input_section, in i860_howto_pc26_reloc() argument 48 reloc_entry->address += input_section->output_offset; in i860_howto_pc26_reloc() 66 if (reloc_entry->address > input_section->_cooked_size) in i860_howto_pc26_reloc() 70 relocation -= (input_section->output_section->vma in i860_howto_pc26_reloc() 71 + input_section->output_offset in i860_howto_pc26_reloc() 98 asection *input_section, in i860_howto_pc16_reloc() argument 111 reloc_entry->address += input_section->output_offset; in i860_howto_pc16_reloc() 129 if (reloc_entry->address > input_section->_cooked_size) in i860_howto_pc16_reloc() 133 relocation -= (input_section->output_section->vma in i860_howto_pc16_reloc() 134 + input_section->output_offset in i860_howto_pc16_reloc() [all …]
|
| H A D | coff-mcore.c | 257 mcore_emit_base_file_entry (info, output_bfd, input_section, reloc_offset) in mcore_emit_base_file_entry() argument 260 asection * input_section; 264 - input_section->vma 265 + input_section->output_offset 266 + input_section->output_section->vma; 275 mcore_coff_unsupported_reloc (abfd, reloc_entry, symbol, data, input_section, in mcore_coff_unsupported_reloc() argument 281 asection * input_section ATTRIBUTE_UNUSED; 375 coff_mcore_relocate_section (output_bfd, info, input_bfd, input_section, in coff_mcore_relocate_section() argument 380 asection * input_section; 415 relend = rel + input_section->reloc_count; [all …]
|
| H A D | coff-h8500.c | 177 asection *input_section = link_order->u.indirect.section; local 183 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 191 (bfd_coff_reloc16_get_value (reloc, link_info, input_section) 200 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 208 bfd_coff_reloc16_get_value (reloc, link_info, input_section), 217 (bfd_coff_reloc16_get_value (reloc, link_info, input_section) 227 int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 237 int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section); 247 input_section); 258 reloc->howto->name, reloc->addend, input_section->owner, [all …]
|