Home | History | Annotate | Download | only in binutils

Lines Matching refs:rel

1418       arelent *rel;
1423 rel = *relocs++;
1424 sym = *rel->sym_ptr_ptr;
1428 address = rel->address;
1429 rel->address += insec->output_offset;
1442 && rel->howto != NULL
1443 && rel->howto->pc_relative
1444 && ! rel->howto->pcrel_offset)
1454 addend = rel->addend + sym->value;
1460 if (rel->howto != NULL
1461 && rel->howto->pc_relative
1466 if (rel->howto->pcrel_offset)
1484 && rel->howto != NULL
1485 && rel->howto->rightshift == 0
1486 && rel->howto->size == 2
1487 && rel->howto->bitsize == 32
1488 && rel->howto->bitpos == 0
1489 && rel->howto->src_mask == 0xffffffff
1490 && rel->howto->dst_mask == 0xffffffff)
1499 rel->addend = 0;
1501 rel->sym_ptr_ptr = bfd_get_section (sym)->symbol_ptr_ptr;
1510 if (rel->howto != NULL
1511 && rel->howto->pc_relative
1512 && ! rel->howto->pcrel_offset
1513 && rel->howto->rightshift == 0
1514 && rel->howto->size == 2
1515 && rel->howto->bitsize == 32
1516 && rel->howto->bitpos == 0
1517 && rel->howto->src_mask == 0xffffffff
1518 && rel->howto->dst_mask == 0xffffffff)
1530 rel->howto = &nlm_i386_pcrel_howto;
1895 arelent *rel;
1899 rel = *relocs++;
1900 sym = *rel->sym_ptr_ptr;
1913 rel->addend += (bfd_get_section_vma (outbfd,
1916 rel->sym_ptr_ptr = datasec->symbol_ptr_ptr;
1917 sym = *rel->sym_ptr_ptr;
1925 if (rel->howto->pc_relative)
1938 assert (rel->howto->size == 2 && rel->howto->pcrel_offset);
1939 val = bfd_get_32 (outbfd, (bfd_byte *) contents + rel->address);
1940 val = ((val &~ rel->howto->dst_mask)
1941 | (((val & rel->howto->src_mask)
1942 + (sym->value - rel->address)
1943 + rel->addend)
1944 & rel->howto->dst_mask));
1945 bfd_put_32 (outbfd, val, (bfd_byte *) contents + rel->address);
1956 (bfd_byte *) contents + rel->address + 4)
1959 (bfd_byte *) contents + rel->address + 4);
1972 if (rel->howto == toc_howto)
1980 if (sym_value + rel->addend != 0)
1984 switch (rel->howto->size)
1988 (bfd_byte *) contents + rel->address);
1989 val = ((val &~ rel->howto->dst_mask)
1990 | (((val & rel->howto->src_mask)
1992 + rel->addend)
1993 & rel->howto->dst_mask));
1998 bfd_put_16 (outbfd, val, (bfd_byte *) contents + rel->address);
2003 (bfd_byte *) contents + rel->address);
2004 val = ((val &~ rel->howto->dst_mask)
2005 | (((val & rel->howto->src_mask)
2007 + rel->addend)
2008 & rel->howto->dst_mask));
2009 bfd_put_32 (outbfd, val, (bfd_byte *) contents + rel->address);
2017 rel->sym_ptr_ptr = bfd_get_section (sym)->symbol_ptr_ptr;
2018 rel->addend = 0;
2023 if (rel->howto == toc_howto)
2032 rel->address += insec->output_offset;