Lines Matching refs:rel
395 arelent *rel) in nlm_alpha_read_reloc() argument
433 rel->sym_ptr_ptr = NULL; in nlm_alpha_read_reloc()
434 rel->addend = 0; in nlm_alpha_read_reloc()
446 rel->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in nlm_alpha_read_reloc()
447 rel->addend = 0; in nlm_alpha_read_reloc()
451 rel->sym_ptr_ptr = code_sec->symbol_ptr_ptr; in nlm_alpha_read_reloc()
453 rel->addend = 0; in nlm_alpha_read_reloc()
457 rel->sym_ptr_ptr = data_sec->symbol_ptr_ptr; in nlm_alpha_read_reloc()
458 rel->addend = - bfd_get_section_vma (abfd, data_sec); in nlm_alpha_read_reloc()
463 rel->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in nlm_alpha_read_reloc()
464 rel->addend = 0; in nlm_alpha_read_reloc()
475 rel->address = r_vaddr; in nlm_alpha_read_reloc()
480 rel->address = r_vaddr - code_sec->size; in nlm_alpha_read_reloc()
495 rel->addend = 0; in nlm_alpha_read_reloc()
502 rel->addend += gp_value; in nlm_alpha_read_reloc()
507 rel->addend += lita_address; in nlm_alpha_read_reloc()
515 rel->addend = r_symndx; in nlm_alpha_read_reloc()
516 rel->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in nlm_alpha_read_reloc()
523 rel->addend = (r_offset << 8) + r_size; in nlm_alpha_read_reloc()
532 rel->addend = r_vaddr; in nlm_alpha_read_reloc()
538 rel->addend = gp_value; in nlm_alpha_read_reloc()
547 rel->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in nlm_alpha_read_reloc()
548 rel->address = r_vaddr; in nlm_alpha_read_reloc()
549 rel->addend = gp_value; in nlm_alpha_read_reloc()
560 rel->addend = 0; in nlm_alpha_read_reloc()
565 rel->addend = r_symndx + 1; in nlm_alpha_read_reloc()
569 rel->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in nlm_alpha_read_reloc()
577 rel->howto = &nlm32_alpha_nw_howto; in nlm_alpha_read_reloc()
579 rel->howto = &nlm32_alpha_howto_table[r_type]; in nlm_alpha_read_reloc()
649 nlm_alpha_write_import (bfd * abfd, asection * sec, arelent * rel) in nlm_alpha_write_import() argument
657 sym = *rel->sym_ptr_ptr; in nlm_alpha_write_import()
660 r_type = rel->howto->type; in nlm_alpha_write_import()
663 r_vaddr = bfd_get_section_vma (abfd, sec) + rel->address; in nlm_alpha_write_import()
686 r_symndx = rel->addend; in nlm_alpha_write_import()
690 r_size = rel->addend & 0xff; in nlm_alpha_write_import()
691 r_offset = (rel->addend >> 8) & 0xff; in nlm_alpha_write_import()
697 r_vaddr = rel->addend; in nlm_alpha_write_import()
701 r_vaddr = rel->address; in nlm_alpha_write_import()
711 r_vaddr = rel->address; in nlm_alpha_write_import()
712 if (rel->addend == 0) in nlm_alpha_write_import()
719 r_symndx = rel->addend - 1; in nlm_alpha_write_import()
825 if (! nlm_alpha_write_import (abfd, relocs[i].sec, relocs[i].rel)) in nlm_alpha_write_external()