| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | elf32-i370.c | 1214 Elf_Internal_Rela outrel; in i370_elf_relocate_section() local 1250 outrel.r_offset = in i370_elf_relocate_section() 1253 if (outrel.r_offset == (bfd_vma) -1 in i370_elf_relocate_section() 1254 || outrel.r_offset == (bfd_vma) -2) in i370_elf_relocate_section() 1255 skip = (int) outrel.r_offset; in i370_elf_relocate_section() 1256 outrel.r_offset += (input_section->output_section->vma in i370_elf_relocate_section() 1260 memset (&outrel, 0, sizeof outrel); in i370_elf_relocate_section() 1268 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); in i370_elf_relocate_section() 1269 outrel.r_addend = rel->r_addend; in i370_elf_relocate_section() 1275 outrel.r_info = ELF32_R_INFO (0, R_I370_RELATIVE); in i370_elf_relocate_section() [all …]
|
| H A D | elf32-s390.c | 2457 Elf_Internal_Rela outrel; local 2464 outrel.r_offset = (htab->sgot->output_section->vma 2467 outrel.r_info = ELF32_R_INFO (0, R_390_RELATIVE); 2468 outrel.r_addend = relocation; 2471 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 2595 Elf_Internal_Rela outrel; local 2607 outrel.r_offset = 2610 if (outrel.r_offset == (bfd_vma) -1) 2612 else if (outrel.r_offset == (bfd_vma) -2) 2614 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf64-s390.c | 2431 Elf_Internal_Rela outrel; local 2438 outrel.r_offset = (htab->sgot->output_section->vma 2441 outrel.r_info = ELF64_R_INFO (0, R_390_RELATIVE); 2442 outrel.r_addend = relocation; 2445 bfd_elf64_swap_reloca_out (output_bfd, &outrel, loc); 2575 Elf_Internal_Rela outrel; local 2586 outrel.r_offset = 2589 if (outrel.r_offset == (bfd_vma) -1) 2591 else if (outrel.r_offset == (bfd_vma) -2) 2594 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-vax.c | 1631 Elf_Internal_Rela outrel; in elf_vax_relocate_section() local 1661 outrel.r_offset = in elf_vax_relocate_section() 1664 if (outrel.r_offset == (bfd_vma) -1) in elf_vax_relocate_section() 1666 if (outrel.r_offset == (bfd_vma) -2) in elf_vax_relocate_section() 1668 outrel.r_offset += (input_section->output_section->vma in elf_vax_relocate_section() 1672 memset (&outrel, 0, sizeof outrel); in elf_vax_relocate_section() 1680 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); in elf_vax_relocate_section() 1681 outrel.r_addend = relocation + rel->r_addend; in elf_vax_relocate_section() 1688 outrel.r_info = ELF32_R_INFO (0, R_VAX_RELATIVE); in elf_vax_relocate_section() 1691 outrel.r_addend = relocation + rel->r_addend; in elf_vax_relocate_section() [all …]
|
| H A D | elf64-x86-64.c | 2233 Elf_Internal_Rela outrel; in elf64_x86_64_relocate_section() local 2242 outrel.r_offset = (base_got->output_section->vma in elf64_x86_64_relocate_section() 2245 outrel.r_info = ELF64_R_INFO (0, R_X86_64_RELATIVE); in elf64_x86_64_relocate_section() 2246 outrel.r_addend = relocation; in elf64_x86_64_relocate_section() 2249 bfd_elf64_swap_reloca_out (output_bfd, &outrel, loc); in elf64_x86_64_relocate_section() 2411 Elf_Internal_Rela outrel; in elf64_x86_64_relocate_section() local 2422 outrel.r_offset = in elf64_x86_64_relocate_section() 2425 if (outrel.r_offset == (bfd_vma) -1) in elf64_x86_64_relocate_section() 2427 else if (outrel.r_offset == (bfd_vma) -2) in elf64_x86_64_relocate_section() 2430 outrel.r_offset += (input_section->output_section->vma in elf64_x86_64_relocate_section() [all …]
|
| H A D | elf32-i386.c | 2529 Elf_Internal_Rela outrel; in elf_i386_relocate_section() local 2536 outrel.r_offset = (htab->sgot->output_section->vma in elf_i386_relocate_section() 2539 outrel.r_info = ELF32_R_INFO (0, R_386_RELATIVE); in elf_i386_relocate_section() 2542 bfd_elf32_swap_reloc_out (output_bfd, &outrel, loc); in elf_i386_relocate_section() 2640 Elf_Internal_Rela outrel; in elf_i386_relocate_section() local 2652 outrel.r_offset = in elf_i386_relocate_section() 2655 if (outrel.r_offset == (bfd_vma) -1) in elf_i386_relocate_section() 2657 else if (outrel.r_offset == (bfd_vma) -2) in elf_i386_relocate_section() 2659 outrel.r_offset += (input_section->output_section->vma in elf_i386_relocate_section() 2663 memset (&outrel, 0, sizeof outrel); in elf_i386_relocate_section() [all …]
|
| H A D | elfxx-sparc.c | 2631 Elf_Internal_Rela outrel; in _bfd_sparc_elf_relocate_section() local 2638 outrel.r_offset = (htab->sgot->output_section->vma in _bfd_sparc_elf_relocate_section() 2641 outrel.r_info = SPARC_ELF_R_INFO (htab, NULL, in _bfd_sparc_elf_relocate_section() 2643 outrel.r_addend = relocation; in _bfd_sparc_elf_relocate_section() 2645 sparc_elf_append_rela (output_bfd, s, &outrel); in _bfd_sparc_elf_relocate_section() 2782 Elf_Internal_Rela outrel; in _bfd_sparc_elf_relocate_section() local 2793 outrel.r_offset = in _bfd_sparc_elf_relocate_section() 2796 if (outrel.r_offset == (bfd_vma) -1) in _bfd_sparc_elf_relocate_section() 2798 else if (outrel.r_offset == (bfd_vma) -2) in _bfd_sparc_elf_relocate_section() 2800 outrel.r_offset += (input_section->output_section->vma in _bfd_sparc_elf_relocate_section() [all …]
|
| H A D | elf32-m88k.c | 1500 Elf_Internal_Rela outrel; local 1506 outrel.r_offset = (sgot->output_section->vma 1509 outrel.r_info = ELF32_R_INFO (0, R_88K_BBASED_32); 1510 outrel.r_addend = relocation; 1513 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1626 Elf_Internal_Rela outrel; local 1637 outrel.r_offset = 1640 if (outrel.r_offset == (bfd_vma) -1) 1642 else if (outrel.r_offset == (bfd_vma) -2) 1644 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-m68k.c | 1645 Elf_Internal_Rela outrel; local 1651 outrel.r_offset = (sgot->output_section->vma 1654 outrel.r_info = ELF32_R_INFO (0, R_68K_RELATIVE); 1655 outrel.r_addend = relocation; 1658 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1756 Elf_Internal_Rela outrel; local 1767 outrel.r_offset = 1770 if (outrel.r_offset == (bfd_vma) -1) 1772 else if (outrel.r_offset == (bfd_vma) -2) 1774 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-sh.c | 4908 Elf_Internal_Rela outrel; in sh_elf_relocate_section() local 4939 outrel.r_offset = in sh_elf_relocate_section() 4942 if (outrel.r_offset == (bfd_vma) -1) in sh_elf_relocate_section() 4944 else if (outrel.r_offset == (bfd_vma) -2) in sh_elf_relocate_section() 4946 outrel.r_offset += (input_section->output_section->vma in sh_elf_relocate_section() 4950 memset (&outrel, 0, sizeof outrel); in sh_elf_relocate_section() 4954 outrel.r_info = ELF32_R_INFO (h->dynindx, R_SH_REL32); in sh_elf_relocate_section() 4955 outrel.r_addend in sh_elf_relocate_section() 4965 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); in sh_elf_relocate_section() 4966 outrel.r_addend = addend; in sh_elf_relocate_section() [all …]
|
| H A D | elf32-cris.c | 1208 Elf_Internal_Rela outrel; local 1214 outrel.r_offset = (sgot->output_section->vma 1217 outrel.r_info = ELF32_R_INFO (0, R_CRIS_RELATIVE); 1218 outrel.r_addend = relocation; 1221 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1372 Elf_Internal_Rela outrel; local 1417 outrel.r_offset = 1420 if (outrel.r_offset == (bfd_vma) -1) 1422 else if (outrel.r_offset == (bfd_vma) -2) 1424 outrel.r_offset += (input_section->output_section->vma [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | elf64-s390.c | 2397 Elf_Internal_Rela outrel; local 2404 outrel.r_offset = (htab->sgot->output_section->vma 2407 outrel.r_info = ELF64_R_INFO (0, R_390_RELATIVE); 2408 outrel.r_addend = relocation; 2411 bfd_elf64_swap_reloca_out (output_bfd, &outrel, loc); 2543 Elf_Internal_Rela outrel; local 2554 outrel.r_offset = 2557 if (outrel.r_offset == (bfd_vma) -1) 2559 else if (outrel.r_offset == (bfd_vma) -2) 2562 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-s390.c | 2425 Elf_Internal_Rela outrel; local 2432 outrel.r_offset = (htab->sgot->output_section->vma 2435 outrel.r_info = ELF32_R_INFO (0, R_390_RELATIVE); 2436 outrel.r_addend = relocation; 2439 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 2565 Elf_Internal_Rela outrel; local 2577 outrel.r_offset = 2580 if (outrel.r_offset == (bfd_vma) -1) 2582 else if (outrel.r_offset == (bfd_vma) -2) 2584 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf64-x86-64.c | 1885 Elf_Internal_Rela outrel; in elf64_x86_64_relocate_section() local 1894 outrel.r_offset = (htab->sgot->output_section->vma in elf64_x86_64_relocate_section() 1897 outrel.r_info = ELF64_R_INFO (0, R_X86_64_RELATIVE); in elf64_x86_64_relocate_section() 1898 outrel.r_addend = relocation; in elf64_x86_64_relocate_section() 1901 bfd_elf64_swap_reloca_out (output_bfd, &outrel, loc); in elf64_x86_64_relocate_section() 1978 Elf_Internal_Rela outrel; in elf64_x86_64_relocate_section() local 1989 outrel.r_offset = in elf64_x86_64_relocate_section() 1992 if (outrel.r_offset == (bfd_vma) -1) in elf64_x86_64_relocate_section() 1994 else if (outrel.r_offset == (bfd_vma) -2) in elf64_x86_64_relocate_section() 1997 outrel.r_offset += (input_section->output_section->vma in elf64_x86_64_relocate_section() [all …]
|
| H A D | elf32-sparc.c | 2280 Elf_Internal_Rela outrel; local 2288 outrel.r_offset = (htab->sgot->output_section->vma 2291 outrel.r_info = ELF32_R_INFO (0, R_SPARC_RELATIVE); 2292 outrel.r_addend = relocation; 2296 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 2394 Elf_Internal_Rela outrel; local 2406 outrel.r_offset = 2409 if (outrel.r_offset == (bfd_vma) -1) 2411 else if (outrel.r_offset == (bfd_vma) -2) 2413 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-i370.c | 1299 Elf_Internal_Rela outrel; local 1335 outrel.r_offset = 1338 if (outrel.r_offset == (bfd_vma) -1 1339 || outrel.r_offset == (bfd_vma) -2) 1340 skip = (int) outrel.r_offset; 1341 outrel.r_offset += (input_section->output_section->vma 1345 memset (&outrel, 0, sizeof outrel); 1354 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); 1355 outrel.r_addend = rel->r_addend; 1361 outrel.r_info = ELF32_R_INFO (0, R_I370_RELATIVE); [all …]
|
| H A D | elf32-i386.c | 2241 Elf_Internal_Rela outrel; in elf_i386_relocate_section() local 2248 outrel.r_offset = (htab->sgot->output_section->vma in elf_i386_relocate_section() 2251 outrel.r_info = ELF32_R_INFO (0, R_386_RELATIVE); in elf_i386_relocate_section() 2254 bfd_elf32_swap_reloc_out (output_bfd, &outrel, loc); in elf_i386_relocate_section() 2336 Elf_Internal_Rela outrel; in elf_i386_relocate_section() local 2348 outrel.r_offset = in elf_i386_relocate_section() 2351 if (outrel.r_offset == (bfd_vma) -1) in elf_i386_relocate_section() 2353 else if (outrel.r_offset == (bfd_vma) -2) in elf_i386_relocate_section() 2355 outrel.r_offset += (input_section->output_section->vma in elf_i386_relocate_section() 2359 memset (&outrel, 0, sizeof outrel); in elf_i386_relocate_section() [all …]
|
| H A D | elf32-vax.c | 1677 Elf_Internal_Rela outrel; local 1707 outrel.r_offset = 1710 if (outrel.r_offset == (bfd_vma) -1) 1712 if (outrel.r_offset == (bfd_vma) -2) 1714 outrel.r_offset += (input_section->output_section->vma 1718 memset (&outrel, 0, sizeof outrel); 1727 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); 1728 outrel.r_addend = relocation + rel->r_addend; 1735 outrel.r_info = ELF32_R_INFO (0, R_VAX_RELATIVE); 1738 outrel.r_addend = relocation + rel->r_addend; [all …]
|
| H A D | elf32-m88k.c | 1499 Elf_Internal_Rela outrel; local 1505 outrel.r_offset = (sgot->output_section->vma 1508 outrel.r_info = ELF32_R_INFO (0, R_88K_BBASED_32); 1509 outrel.r_addend = relocation; 1512 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1629 Elf_Internal_Rela outrel; local 1640 outrel.r_offset = 1643 if (outrel.r_offset == (bfd_vma) -1) 1645 else if (outrel.r_offset == (bfd_vma) -2) 1647 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-m68k.c | 1492 Elf_Internal_Rela outrel; local 1498 outrel.r_offset = (sgot->output_section->vma 1501 outrel.r_info = ELF32_R_INFO (0, R_68K_RELATIVE); 1502 outrel.r_addend = relocation; 1505 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1604 Elf_Internal_Rela outrel; local 1615 outrel.r_offset = 1618 if (outrel.r_offset == (bfd_vma) -1) 1620 else if (outrel.r_offset == (bfd_vma) -2) 1622 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-sh.c | 5086 Elf_Internal_Rela outrel; in sh_elf_relocate_section() local 5117 outrel.r_offset = in sh_elf_relocate_section() 5120 if (outrel.r_offset == (bfd_vma) -1) in sh_elf_relocate_section() 5122 else if (outrel.r_offset == (bfd_vma) -2) in sh_elf_relocate_section() 5124 outrel.r_offset += (input_section->output_section->vma in sh_elf_relocate_section() 5128 memset (&outrel, 0, sizeof outrel); in sh_elf_relocate_section() 5132 outrel.r_info = ELF32_R_INFO (h->dynindx, R_SH_REL32); in sh_elf_relocate_section() 5133 outrel.r_addend in sh_elf_relocate_section() 5143 outrel.r_info = ELF32_R_INFO (h->dynindx, r_type); in sh_elf_relocate_section() 5144 outrel.r_addend = addend; in sh_elf_relocate_section() [all …]
|
| H A D | elf32-cris.c | 1077 Elf_Internal_Rela outrel; local 1083 outrel.r_offset = (sgot->output_section->vma 1086 outrel.r_info = ELF32_R_INFO (0, R_CRIS_RELATIVE); 1087 outrel.r_addend = relocation; 1090 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); 1239 Elf_Internal_Rela outrel; local 1284 outrel.r_offset = 1287 if (outrel.r_offset == (bfd_vma) -1) 1289 else if (outrel.r_offset == (bfd_vma) -2) 1291 outrel.r_offset += (input_section->output_section->vma [all …]
|
| H A D | elf32-hppa.c | 3514 Elf_Internal_Rela outrel; in elf32_hppa_relocate_section() local 3518 outrel.r_offset = (off in elf32_hppa_relocate_section() 3521 outrel.r_info = ELF32_R_INFO (0, R_PARISC_DIR32); in elf32_hppa_relocate_section() 3522 outrel.r_addend = relocation; in elf32_hppa_relocate_section() 3525 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); in elf32_hppa_relocate_section() 3605 Elf_Internal_Rela outrel; in elf32_hppa_relocate_section() local 3609 outrel.r_offset = (off in elf32_hppa_relocate_section() 3612 outrel.r_info = ELF32_R_INFO (0, R_PARISC_IPLT); in elf32_hppa_relocate_section() 3613 outrel.r_addend = relocation; in elf32_hppa_relocate_section() 3616 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); in elf32_hppa_relocate_section() [all …]
|
| H A D | elf32-ppc.c | 2525 Elf_Internal_Rela outrel[MAX_INT_RELS_PER_EXT_REL]; in elf_finish_pointer_linker_section() local 2535 outrel[i].r_offset = (lsect->section->output_section->vma in elf_finish_pointer_linker_section() 2538 outrel[i].r_info = 0; in elf_finish_pointer_linker_section() 2539 outrel[i].r_addend = 0; in elf_finish_pointer_linker_section() 2541 outrel[0].r_info = ELF32_R_INFO (0, relative_reloc); in elf_finish_pointer_linker_section() 2545 bfd_elf32_swap_reloca_out (output_bfd, outrel, erel); in elf_finish_pointer_linker_section() 4607 Elf_Internal_Rela outrel; in ppc_elf_relocate_section() local 5066 outrel.r_offset = (htab->got->output_section->vma in ppc_elf_relocate_section() 5069 outrel.r_addend = 0; in ppc_elf_relocate_section() 5072 outrel.r_info = ELF32_R_INFO (indx, R_PPC_DTPMOD32); in ppc_elf_relocate_section() [all …]
|
| H A D | elf64-sparc.c | 2146 Elf_Internal_Rela outrel; local 2173 outrel.r_offset = 2176 if (outrel.r_offset == (bfd_vma) -1) 2178 else if (outrel.r_offset == (bfd_vma) -2) 2181 outrel.r_offset += (input_section->output_section->vma 2189 if (outrel.r_offset & 1) r_type = R_SPARC_UA16; 2192 if (!(outrel.r_offset & 1)) r_type = R_SPARC_16; 2195 if (outrel.r_offset & 3) r_type = R_SPARC_UA32; 2198 if (!(outrel.r_offset & 3)) r_type = R_SPARC_32; 2201 if (outrel.r_offset & 7) r_type = R_SPARC_UA64; [all …]
|