Searched refs:srel (Results 1 - 25 of 76) sorted by relevance

1234

/haiku-buildtools/legacy/binutils/bfd/
H A Delf32-avr.c580 bfd_signed_vma srel; local
586 srel = (bfd_signed_vma) relocation;
587 srel += rel->r_addend;
588 srel -= rel->r_offset;
589 srel -= 2; /* Branch instructions add 2 to the PC... */
590 srel -= (input_section->output_section->vma +
593 if (srel & 1)
595 if (srel > ((1 << 7) - 1) || (srel < - (1 << 7)))
598 x = (x & 0xfc07) | (((srel >>
[all...]
H A Delf32-msp430.c312 bfd_signed_vma srel; local
318 srel = (bfd_signed_vma) relocation;
319 srel += rel->r_addend;
320 srel -= rel->r_offset;
321 srel -= 2; /* Branch instructions add 2 to the PC... */
322 srel -= (input_section->output_section->vma +
325 if (srel & 1)
329 srel >>= 1;
332 if (srel < -512 || srel > 51
[all...]
H A Delf32-fr30.c409 bfd_signed_vma srel;
433 srel = (bfd_signed_vma) relocation;
434 srel += rel->r_addend;
435 srel -= rel->r_offset;
436 srel -= 2; /* Branch instructions add 2 to the PC... */
437 srel -= (input_section->output_section->vma +
440 if (srel & 1)
442 if (srel > ((1 << 8) - 1) || (srel < - (1 << 8)))
445 bfd_put_8 (input_bfd, srel >>
405 bfd_signed_vma srel; local
[all...]
H A Dsunos.c1270 asection *srel = NULL;
1342 srel = bfd_get_section_by_name (dynobj, ".dynrel");
1343 BFD_ASSERT (splt != NULL && srel != NULL);
1365 srel->size += RELOC_STD_SIZE;
1373 srel->size += RELOC_STD_SIZE;
1401 srel->size += RELOC_STD_SIZE;
1427 asection *srel = NULL;
1493 srel = bfd_get_section_by_name (dynobj, ".dynrel");
1494 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL);
1540 srel
1269 asection *srel = NULL; local
1426 asection *srel = NULL; local
2193 struct reloc_std_external *srel; local
2382 struct reloc_std_external *srel; local
2434 struct reloc_std_external *srel; local
2506 struct reloc_std_external *srel; local
2638 struct reloc_std_external *srel; local
[all...]
H A Delf32-m32c.c1407 Elf_Internal_Rela *irel, *irelend, *srel;
1506 srel = irel;
1555 srel = irel + (relax_relocs ? 1 : 0);
1556 symval = OFFSET_FOR_RELOC (srel);
1562 new_type = ELF32_R_TYPE(srel->r_info);
1565 + srel->r_offset;
1566 pcrel = symval - pc + srel->r_addend;
1642 if (srel->r_offset == irel->r_offset + posn
1654 srel ++;
1679 /* srel, pos
1401 Elf_Internal_Rela *irel, *irelend, *srel; local
[all...]
H A Delf64-mmix.c1567 bfd_signed_vma srel
1582 srel -= (input_section->output_section->vma
1587 addr, srel);
1631 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8)
1637 srel /= 8;
1642 if (srel < 0 || srel > 255)
1669 addr, srel);
1565 bfd_signed_vma srel local
[all...]
H A Delf64-alpha.c167 asection *srel;
1949 if (rent->rtype == r_type && rent->srel == sreloc)
1959 rent->srel = sreloc;
2105 if (ri->rtype == rs->rtype && ri->srel == rs->srel)
2609 relent->srel->size +=
2658 asection *srel = bfd_get_section_by_name (dynobj, ".rela.got");
2659 BFD_ASSERT (srel != NULL);
2660 srel->size += sizeof (Elf64_External_Rela) * entries;
2673 asection *srel;
165 asection *srel; member in struct:alpha_elf_link_hash_entry::alpha_elf_reloc_entry
2650 asection *srel = bfd_get_section_by_name (dynobj, ".rela.got"); local
2665 asection *srel; local
3857 elf64_alpha_emit_dynrel(bfd *abfd, struct bfd_link_info *info, asection *sec, asection *srel, bfd_vma offset, long dynindx, long rtype, bfd_vma addend) argument
3955 asection *sgot, *srel, *srelgot; local
4592 asection *splt, *sgot, *srel; local
4670 asection *srel; local
[all...]
H A Delfxx-ia64.c100 asection *srel; member in struct:elfNN_ia64_dyn_sym_info::elfNN_ia64_dyn_reloc_entry
299 asection *srel, bfd_vma offset, unsigned int type,
2613 asection *srel;
2633 srel = bfd_get_section_by_name (dynobj, srel_name);
2634 if (srel == NULL && create)
2636 srel = bfd_make_section_with_flags (dynobj, srel_name,
2642 if (srel == NULL
2643 || !bfd_set_section_alignment (dynobj, srel,
2648 return srel;
2653 asection *srel, in
2607 asection *srel; local
2646 count_dyn_reloc(bfd *abfd, struct elfNN_ia64_dyn_sym_info *dyn_i, asection *srel, int type, bfd_boolean reltext) argument
2685 asection *got, *fptr, *srel, *pltoff; local
4542 asection *srel; local
[all...]
H A Delf64-sh64.c3469 asection *srel;
3471 srel = bfd_get_section_by_name (dynobj, ".rela.bss");
3472 BFD_ASSERT (srel != NULL);
3473 srel->size += sizeof (Elf64_External_Rela);
3717 asection *srel;
3731 srel = bfd_get_section_by_name (dynobj, ".rela.plt");
3732 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL);
3811 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela);
3825 asection *srel;
3833 srel
3468 asection *srel; local
3716 asection *srel; local
3824 asection *srel; local
[all...]
H A Delf32-i370.c526 asection *srel;
529 srel = bfd_get_section_by_name (dynobj, ".rela.sbss");
531 srel = bfd_get_section_by_name (dynobj, ".rela.bss");
532 BFD_ASSERT (srel != NULL);
533 srel->size += sizeof (Elf32_External_Rela);
522 asection *srel; local
H A Delf32-sh.c3949 asection *srel;
3951 srel = htab->srelbss;
3952 BFD_ASSERT (srel != NULL);
3953 srel->size += sizeof (Elf32_External_Rela);
4293 asection *srel;
4317 srel = elf_section_data (p->sec)->sreloc;
4318 srel->size += p->count * sizeof (Elf32_External_Rela);
4338 srel = htab->srelgot;
4348 srel->size += sizeof (Elf32_External_Rela);
6785 asection *srel;
3946 asection *srel; local
4290 asection *srel; local
6781 asection *srel; local
6922 asection *srel; local
6970 asection *srel; local
[all...]
/haiku-buildtools/binutils/bfd/
H A Delf32-msp430.c726 bfd_signed_vma srel; local
801 srel = (bfd_signed_vma) relocation;
803 srel += bfd_get_16 (input_bfd, contents);
805 srel += rel->r_addend;
806 bfd_put_16 (input_bfd, srel & 0xffff, contents);
811 srel = (bfd_signed_vma) relocation;
813 srel += bfd_get_16 (input_bfd, contents) & 0x3ff;
815 srel += rel->r_addend;
816 srel -= rel->r_offset;
817 srel
[all...]
H A Delf32-avr.c978 avr_get_stub_addr (bfd_vma srel,
987 if (htab->amt_destination_addr[sindex] == srel)
1024 bfd_signed_vma srel;
1038 srel = (bfd_signed_vma) relocation;
1039 srel += rel->r_addend;
1040 srel -= rel->r_offset;
1041 srel -= 2; /* Branch instructions add 2 to the PC... */
1042 srel -= (input_section->output_section->vma +
1045 if (srel & 1)
1047 if (srel > ((
977 avr_get_stub_addr(bfd_vma srel, struct elf32_avr_link_hash_table *htab) argument
1023 bfd_signed_vma srel; local
[all...]
H A Delf32-fr30.c404 bfd_signed_vma srel;
428 srel = (bfd_signed_vma) relocation;
429 srel += rel->r_addend;
430 srel -= rel->r_offset;
431 srel -= 2; /* Branch instructions add 2 to the PC... */
432 srel -= (input_section->output_section->vma +
435 if (srel & 1)
437 if (srel > ((1 << 8) - 1) || (srel < - (1 << 8)))
440 bfd_put_8 (input_bfd, srel >>
400 bfd_signed_vma srel; local
[all...]
H A Dsunos.c1251 asection *srel = NULL;
1323 srel = bfd_get_linker_section (dynobj, ".dynrel");
1324 BFD_ASSERT (splt != NULL && srel != NULL);
1346 srel->size += RELOC_STD_SIZE;
1354 srel->size += RELOC_STD_SIZE;
1382 srel->size += RELOC_STD_SIZE;
1408 asection *srel = NULL;
1474 srel = bfd_get_linker_section (dynobj, ".dynrel");
1475 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL);
1521 srel
1250 asection *srel = NULL; local
1407 asection *srel = NULL; local
2171 struct reloc_std_external *srel; local
2360 struct reloc_std_external *srel; local
2412 struct reloc_std_external *srel; local
2484 struct reloc_std_external *srel; local
2616 struct reloc_std_external *srel; local
[all...]
H A Delf32-rx.c1955 move_reloc (Elf_Internal_Rela * irel, Elf_Internal_Rela * srel, int delta)
1957 bfd_vma old_offset = srel->r_offset;
1960 while (irel <= srel)
1981 Elf_Internal_Rela * srel;
2177 /* srel points to the "current" reloction for this insn -
2182 srel = irel;
2185 + srel->r_offset;
2188 symval = OFFSET_FOR_RELOC (srel, &srel, &scale); \
2189 pcrel = symval - pc + srel
1952 move_reloc(Elf_Internal_Rela * irel, Elf_Internal_Rela * srel, int delta) argument
1978 Elf_Internal_Rela * srel; local
[all...]
H A Delf32-m32c.c1446 Elf_Internal_Rela *irel, *irelend, *srel;
1549 srel = irel;
1598 srel = irel + (relax_relocs ? 1 : 0);
1599 symval = OFFSET_FOR_RELOC (srel);
1605 new_type = ELF32_R_TYPE(srel->r_info);
1608 + srel->r_offset;
1609 pcrel = symval - pc + srel->r_addend;
1685 if (srel->r_offset == irel->r_offset + posn
1697 srel ++;
1722 /* srel, pos
1440 Elf_Internal_Rela *irel, *irelend, *srel; local
[all...]
H A Delfnn-ia64.c72 asection *srel; member in struct:elfNN_ia64_dyn_sym_info::elfNN_ia64_dyn_reloc_entry
2081 asection *srel;
2094 srel = bfd_get_linker_section (dynobj, srel_name);
2095 if (srel == NULL && create)
2097 srel = bfd_make_section_anyway_with_flags (dynobj, srel_name,
2103 if (srel == NULL
2104 || !bfd_set_section_alignment (dynobj, srel,
2109 return srel;
2114 asection *srel, int type, bfd_boolean reltext)
2119 if (rent->srel
2075 asection *srel; local
2107 count_dyn_reloc(bfd *abfd, struct elfNN_ia64_dyn_sym_info *dyn_i, asection *srel, int type, bfd_boolean reltext) argument
2144 asection *got, *fptr, *srel, *pltoff; local
3228 elfNN_ia64_install_dyn_reloc(bfd *abfd, struct bfd_link_info *info, asection *sec, asection *srel, bfd_vma offset, unsigned int type, long dynindx, bfd_vma addend) argument
3794 asection *srel; local
[all...]
H A Delf64-mmix.c1582 bfd_signed_vma srel
1597 srel -= (input_section->output_section->vma
1602 addr, srel, error_message);
1648 if ((srel & 7) != 0 || srel < 32*8 || srel > 255*8)
1654 srel /= 8;
1659 if (srel < 0 || srel > 255)
1688 addr, srel, error_messag
1580 bfd_signed_vma srel local
[all...]
H A Delf64-alpha.c146 asection *srel;
1995 if (rent->rtype == r_type && rent->srel == sreloc)
2005 rent->srel = sreloc;
2257 if (ri->rtype == rs->rtype && ri->srel == rs->srel)
2773 relent->srel->size +=
2819 asection *srel = elf_hash_table(info)->srelgot;
2820 BFD_ASSERT (srel != NULL);
2821 srel->size += sizeof (Elf64_External_Rela) * entries;
2834 asection *srel;
144 asection *srel; member in struct:alpha_elf_reloc_entry
2811 asection *srel = elf_hash_table(info)->srelgot; local
2826 asection *srel; local
4100 elf64_alpha_emit_dynrel(bfd *abfd, struct bfd_link_info *info, asection *sec, asection *srel, bfd_vma offset, long dynindx, long rtype, bfd_vma addend) argument
4222 asection *sgot, *srel, *srelgot; local
4872 asection *splt, *sgot, *srel; local
4950 asection *srel; local
[all...]
H A Delf32-metag.c1236 bfd_signed_vma srel, addend = rel->r_addend; local
1266 srel = (bfd_signed_vma) relocation;
1267 srel += addend;
1271 if (srel > ((1 << (BRANCH_BITS + 1)) - 1) ||
1272 (srel < - (1 << (BRANCH_BITS + 1))))
1284 srel = (hsh->stub_offset
1287 srel -= location;
1290 srel = srel >> 2;
1292 if (!within_signed_range (srel, BRANCH_BIT
2473 asection *s, *srel; local
2855 asection *srel; local
[all...]
H A Delf32-or1k.c1997 asection *s, *srel; local
2107 srel = htab->root.sreldynrelro;
2112 srel = htab->root.srelbss;
2116 srel->size += sizeof (Elf32_External_Rela);
2392 asection *srel; local
2416 srel = elf_section_data (p->sec)->sreloc;
2417 srel->size += p->count * sizeof (Elf32_External_Rela);
2432 srel = htab->root.srelgot;
2448 srel->size += 2 * sizeof (Elf32_External_Rela);
2450 srel
[all...]
H A Delf64-sh64.c3316 asection *srel;
3318 srel = bfd_get_linker_section (dynobj, ".rela.bss");
3319 BFD_ASSERT (srel != NULL);
3320 srel->size += sizeof (Elf64_External_Rela);
3540 asection *srel;
3554 srel = elf_hash_table (info)->srelplt;
3555 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL);
3634 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela);
3648 asection *srel;
3656 srel
3315 asection *srel; local
3539 asection *srel; local
3647 asection *srel; local
[all...]
H A Delf32-i370.c542 asection *srel;
545 srel = bfd_get_linker_section (dynobj, ".rela.sbss");
547 srel = bfd_get_linker_section (dynobj, ".rela.bss");
548 BFD_ASSERT (srel != NULL);
549 srel->size += sizeof (Elf32_External_Rela);
538 asection *srel; local
H A Delf64-ia64-vms.c84 asection *srel; member in struct:elf64_ia64_dyn_sym_info::elf64_ia64_dyn_reloc_entry
1836 asection *srel; local
1856 srel = bfd_get_linker_section (dynobj, srel_name);
1857 if (srel == NULL && create)
1859 srel = bfd_make_section_anyway_with_flags (dynobj, srel_name,
1865 if (srel == NULL
1866 || !bfd_set_section_alignment (dynobj, srel, 3))
1870 return srel;
1875 asection *srel, int type)
1880 if (rent->srel
1874 count_dyn_reloc(bfd *abfd, struct elf64_ia64_dyn_sym_info *dyn_i, asection *srel, int type) argument
1910 asection *got, *fptr, *srel, *pltoff; local
[all...]

Completed in 267 milliseconds

1234