Lines Matching refs:rel

436 			arelent *rel)  in nlm_powerpc_read_reloc()  argument
464 rel->sym_ptr_ptr = NULL; in nlm_powerpc_read_reloc()
481 rel->sym_ptr_ptr = sec->symbol_ptr_ptr; in nlm_powerpc_read_reloc()
484 rel->addend = 0; in nlm_powerpc_read_reloc()
488 rel->howto = nlm_powerpc_howto_table + (l_rtype & 0xff); in nlm_powerpc_read_reloc()
490 BFD_ASSERT (rel->howto->name != NULL in nlm_powerpc_read_reloc()
492 ? (rel->howto->complain_on_overflow in nlm_powerpc_read_reloc()
494 : (rel->howto->complain_on_overflow in nlm_powerpc_read_reloc()
496 && ((l_rtype >> 8) & 0x1f) == rel->howto->bitsize - 1); in nlm_powerpc_read_reloc()
511 rel->address = l_vaddr; in nlm_powerpc_read_reloc()
541 arelent *rel) in nlm_powerpc_read_reloc() argument
585 rel->sym_ptr_ptr = bfd_get_section_by_name (abfd, name)->symbol_ptr_ptr; in nlm_powerpc_read_reloc()
588 rel->howto = & nlm_powerpc_howto; in nlm_powerpc_read_reloc()
589 rel->address = val << 2; in nlm_powerpc_read_reloc()
590 rel->addend = 0; in nlm_powerpc_read_reloc()
661 nlm_powerpc_write_import (bfd * abfd, asection * sec, arelent * rel) in nlm_powerpc_write_import() argument
668 if (rel->addend != 0 in nlm_powerpc_write_import()
669 || rel->howto == NULL in nlm_powerpc_write_import()
670 || rel->howto->rightshift != 0 in nlm_powerpc_write_import()
671 || rel->howto->size != 2 in nlm_powerpc_write_import()
672 || rel->howto->bitsize != 32 in nlm_powerpc_write_import()
673 || rel->howto->bitpos != 0 in nlm_powerpc_write_import()
674 || rel->howto->pc_relative in nlm_powerpc_write_import()
675 || (rel->howto->src_mask != 0xffffffff && rel->addend != 0) in nlm_powerpc_write_import()
676 || rel->howto->dst_mask != 0xffffffff) in nlm_powerpc_write_import()
682 sym = *rel->sym_ptr_ptr; in nlm_powerpc_write_import()
688 val = bfd_get_section_vma (abfd, sec) + rel->address; in nlm_powerpc_write_import()
731 arelent *rel, in nlm_powerpc_write_reloc() argument
749 sym = *rel->sym_ptr_ptr; in nlm_powerpc_write_reloc()
777 if (howto->rightshift == rel->howto->rightshift in nlm_powerpc_write_reloc()
778 && howto->size == rel->howto->size in nlm_powerpc_write_reloc()
779 && howto->bitsize == rel->howto->bitsize in nlm_powerpc_write_reloc()
780 && howto->pc_relative == rel->howto->pc_relative in nlm_powerpc_write_reloc()
781 && howto->bitpos == rel->howto->bitpos in nlm_powerpc_write_reloc()
782 && (howto->partial_inplace == rel->howto->partial_inplace in nlm_powerpc_write_reloc()
783 || (! rel->howto->partial_inplace in nlm_powerpc_write_reloc()
784 && rel->addend == 0)) in nlm_powerpc_write_reloc()
785 && (howto->src_mask == rel->howto->src_mask in nlm_powerpc_write_reloc()
786 || (rel->howto->src_mask == 0 in nlm_powerpc_write_reloc()
787 && rel->addend == 0)) in nlm_powerpc_write_reloc()
788 && howto->dst_mask == rel->howto->dst_mask in nlm_powerpc_write_reloc()
789 && howto->pcrel_offset == rel->howto->pcrel_offset) in nlm_powerpc_write_reloc()
804 address = rel->address; in nlm_powerpc_write_reloc()
831 nlm_powerpc_write_import (bfd * abfd, asection * sec, arelent * rel) in nlm_powerpc_write_import() argument
833 return nlm_powerpc_write_reloc (abfd, sec, rel, -1); in nlm_powerpc_write_import()
868 if (! nlm_powerpc_write_import (abfd, relocs[i].sec, relocs[i].rel)) in nlm_powerpc_write_external()
872 relocs[i].rel, indx)) in nlm_powerpc_write_external()