/macosx-10.10/cxxfilt-11/cxxfilt/bfd/ |
H A D | elf32-d30v.c | 41 bfd_signed_vma relocation; local 70 /* Is the address of the relocation really within the section? */ 74 /* Work out which section the relocation is targeted at and the 75 initial relocation command value. */ 79 relocation = 0; 81 relocation = symbol->value; 87 relocation += output_base + symbol->section->output_offset; 90 relocation += reloc_entry->addend; 92 /* Here the variable relocation holds the final address of the 99 relocation 150 bfd_vma relocation; local [all...] |
H A D | cpu-ns32k.c | 170 bfd_vma relocation; local 193 /* Is the address of the relocation really within the section? */ 197 /* Work out which section the relocation is targeted at and the 198 initial relocation command value. */ 202 relocation = 0; 204 relocation = symbol->value; 214 relocation += output_base + symbol->section->output_offset; 217 relocation += reloc_entry->addend; 219 /* Here the variable relocation holds the final address of the 224 /* This is a PC relative relocation 802 bfd_vma relocation; local [all...] |
H A D | reloc.c | 1 /* BFD support for handling relocation entries. 37 a <<struct reloc_cache_entry>> for each relocation 62 This is the structure of a relocation entry: 71 . {* The relocation was performed, but there was an overflow. *} 80 . {* Unsupported relocation size requested. *} 89 . {* The relocation was performed, but may not be ok - presently 106 . {* addend for relocation value. *} 109 . {* Pointer to how to perform the required relocation. *} 125 associated with the relocation request. It is the pointer 130 modifying only one pointer. The relocation routin 491 bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation) argument 583 bfd_vma relocation; local 973 bfd_vma relocation; local 1342 bfd_vma relocation; local 1379 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument [all...] |
H A D | coff-m88k.c | 74 /* This is a partial relocation, and we want to apply the 75 relocation to the reloc entry rather than the raw data. 86 long relocation = 0; local 88 /* Work out which section the relocation is targeted at and the 89 initial relocation command value. */ 93 relocation = 0; 95 relocation = symbol->value; 105 relocation += output_base + symbol->section->output_offset; 108 relocation += ((reloc_entry->addend << howto->bitsize) + x); 112 relocation >> [all...] |
H A D | elf32-i860.c | 29 /* special_function for R_860_PC26 relocation. */ 40 bfd_vma relocation; local 58 relocation = 0; 60 relocation = symbol->value; 62 relocation += symbol->section->output_section->vma; 63 relocation += symbol->section->output_offset; 64 relocation += reloc_entry->addend; 69 /* Adjust for PC-relative relocation. */ 70 relocation -= (input_section->output_section->vma 76 if ((bfd_signed_vma)relocation > ( 103 bfd_vma relocation; local 167 bfd_vma relocation; local 220 bfd_vma relocation; local 1011 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument 1083 bfd_vma relocation; local [all...] |
H A D | elf32-fr30.c | 63 /* An 8 bit absolute relocation. */ 78 /* A 20 bit absolute relocation. */ 93 /* A 32 bit absolute relocation. */ 108 /* A 32 bit into 48 bits absolute relocation. */ 123 /* A 6 bit absolute relocation. */ 138 /* An 8 bit absolute relocation. */ 153 /* A 9 bit absolute relocation. */ 168 /* A 10 bit absolute relocation. */ 183 /* A PC relative 9 bit relocation, right shifted by 1. */ 198 /* A PC relative 12 bit relocation, righ 256 bfd_vma relocation; local 302 bfd_vma relocation; local 527 bfd_vma relocation; local [all...] |
H A D | mipsbsd.c | 110 /* Determine the size of a relocation entry, based on the architecture */ 129 file header, symbols, and relocation. */ 182 /* MIPS relocation types. */ 190 /* This is only called when performing a BFD_RELOC_MIPS_JMP relocation. 208 bfd_vma relocation, pc; local 210 /* If this is a partial relocation, just continue. */ 219 /* Work out which section the relocation is targeted at and the 220 initial relocation command value. */ 222 relocation = 0; 224 relocation 259 bfd_vma relocation; local [all...] |
H A D | aout-arm.c | 161 r_neg = howto->type & 8; /* Negative relocation. */ 208 relocation is done. */ 244 bfd_vma relocation; 254 /* If the sections are different, and we are doing a partial relocation, 260 relocation = (target & 0x00ffffff) << 2; 261 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 262 relocation += symbol->value; 263 relocation += symbol->section->output_section->vma; 264 relocation 243 bfd_vma relocation; local [all...] |
H A D | coff-mips.c | 64 bfd_vma relocation)); 233 /* FIXME: This relocation is used (internally only) to represent branches 443 /* Do a REFHI relocation. This has to be done in combination with a 446 relocation when we see the REFLO. MIPS ECOFF requires that the 480 bfd_vma relocation; 499 relocation = 0; 501 relocation = symbol->value; 503 relocation += symbol->section->output_section->vma; 504 relocation += symbol->section->output_offset; 505 relocation 475 bfd_vma relocation; local 610 bfd_vma relocation; local 909 bfd_vma relocation; local [all...] |
H A D | coff-arm.c | 504 /* Return TRUE if this relocation should 596 bfd_vma relocation; local 606 /* If the sections are different, and we are doing a partial relocation, 612 relocation = (target & 0x00ffffff) << 2; 613 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 614 relocation += symbol->value; 615 relocation += symbol->section->output_section->vma; 616 relocation += symbol->section->output_offset; 617 relocation 655 bfd_vma relocation = 0; local 1586 bfd_vma relocation = val + addend; local [all...] |
H A D | elf32-xstormy16.c | 40 bfd_vma relocation, x; local 52 relocation = 0; 54 relocation = symbol->value; 56 relocation += symbol->section->output_section->vma; 57 relocation += symbol->section->output_offset; 58 relocation += reloc_entry->addend; 62 x |= relocation & 0xff; 63 x |= (relocation << 8) & 0xffff0000; 66 if (relocation & ~ (bfd_vma) 0xffffff) 89 /* A 32 bit absolute relocation 777 bfd_vma relocation; local [all...] |
H A D | riscix.c | 202 bfd_vma relocation; local 212 /* If the sections are different, and we are doing a partial relocation, 218 relocation = (target & 0x00ffffff) << 2; 219 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 220 relocation += symbol->value; 221 relocation += symbol->section->output_section->vma; 222 relocation += symbol->section->output_offset; 223 relocation += reloc_entry->addend; 224 relocation [all...] |
H A D | aout-tic30.c | 144 useless for a relocation, so we just get the offset value and place 147 relocation to add on to the value in the object code. */ 158 bfd_vma relocation = 1; local 165 relocation -= 3; 167 relocation -= 1; 168 bfd_put_16 (abfd, relocation, (bfd_byte *) data + reloc_entry->address); 188 bfd_vma relocation; local 195 relocation = (symbol->section->vma >> 2); 196 relocation += bfd_get_16 (abfd, (bfd_byte *) data + reloc_entry->address); 197 bfd_put_16 (abfd, relocation, (bfd_byt 213 bfd_vma relocation; local 379 tic30_aout_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument 516 bfd_vma relocation; local [all...] |
H A D | elf32-openrisc.c | 47 /* A PC relative 26 bit relocation, right shifted by 2. */ 62 /* A absolute 26 bit relocation, right shifted by 2. */ 105 /* An 8 bit absolute relocation. */ 120 /* A 16 bit absolute relocation. */ 135 /* A 32 bit absolute relocation. */ 231 /* Perform a single relocation. By default we use the standard BFD 240 bfd_vma relocation) 247 relocation &= 0xffff; 250 relocation, rel->r_addend); 256 relocation, re 235 openrisc_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument 321 bfd_vma relocation; local [all...] |
H A D | elf32-iq2000.c | 50 /* A 16 bit absolute relocation. */ 65 /* A 32 bit absolute relocation. */ 188 /* A 32 bit absolute debug relocation. */ 249 bfd_vma relocation; 262 relocation = 0; 264 relocation = symbol->value; 266 relocation += symbol->section->output_section->vma; 267 relocation += symbol->section->output_offset; 268 relocation += reloc_entry->addend; 271 if (relocation 247 bfd_vma relocation; local 357 iq2000_final_link_relocate(reloc_howto_type * howto, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * rel, bfd_vma relocation) argument 538 bfd_vma relocation; local [all...] |
H A D | elf32-dlx.c | 61 bfd_vma relocation; local 86 relocation = (bfd_is_com_section (symbol->section)) ? 0 : symbol->value; 87 relocation += symbol->section->output_section->vma; 88 relocation += symbol->section->output_offset; 89 relocation += reloc_entry->addend; 90 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry->address); 95 bfd_put_16 (abfd, (short)((relocation >> 16) & 0xFFFF), 238 /* No relocation. */ 253 /* 8 bit relocation. */ 268 /* 16 bit relocation [all...] |
H A D | elf32-or32.c | 28 /* Try to minimize the amount of space occupied by relocation tables 135 /* Do a R_OR32_CONSTH relocation. This has to be done in combination 138 actual relocation when we see the LO16. OR32 ELF requires that the 165 bfd_vma relocation; local 175 relocation = 0; 177 relocation = symbol->value; 179 relocation += symbol->section->output_section->vma; 180 relocation += symbol->section->output_offset; 181 relocation += reloc_entry->addend; 186 /* Save the information, and let LO16 do the actual relocation [all...] |
H A D | elfxx-sparc.c | 39 /* The relocation "howto" table. */ 42 relocation. 46 performing the relocation. Otherwise it must stop and return the 54 bfd_vma relocation; local 73 relocation = (symbol->value 76 relocation += reloc_entry->addend; 79 relocation -= (input_section->output_section->vma 81 relocation -= reloc_entry->address; 84 *prelocation = relocation; 110 bfd_vma relocation; local 137 bfd_vma relocation; local 163 bfd_vma relocation; local 2518 bfd_vma relocation, off; local [all...] |
H A D | elf32-bfin.c | 56 bfd_vma relocation; 72 relocation = 0; 74 relocation = symbol->value; 84 relocation += output_base + symbol->section->output_offset; 87 relocation += reloc_entry->addend; 89 relocation -= input_section->output_section->vma + input_section->output_offset; 90 relocation -= reloc_entry->address; 99 relocation); 105 if (howto->rightshift && (relocation & 0x01)) 107 fprintf(stderr, "relocation shoul 55 bfd_vma relocation; local 152 bfd_vma relocation, x; local 224 bfd_vma relocation, x; local 290 bfd_vma relocation; local 2141 bfd_vma relocation; local 2855 bfd_vma relocation = 0; local [all...] |
H A D | coff-alpha.c | 243 relocation. */ 265 both are used. The value to use for the relocation is the 392 relocation stack. */ 407 /* Shift the value on the top of the relocation stack right by the 651 (_("%B: unknown/unsupported relocation type %d"), 716 here, for convenience when doing the GPDISP relocation. */ 767 /* The size of the stack for the relocation evaluator. */ 773 the relocation for a section. I haven't yet worked out how the 891 /* This relocation is used in a switch table. It is a 32 903 err = (char *) _("GP relative relocation use 1006 bfd_vma relocation; local 1066 bfd_vma relocation; local 1099 bfd_vma relocation; local 1124 stack[tos - 1] >>= relocation; local 1261 bfd_vma relocation; local 1840 bfd_vma relocation; local [all...] |
H A D | elf32-ip2k.c | 146 /* A 16 bit absolute relocation. */ 148 /* A 32 bit absolute relocation. */ 150 /* A 8-bit data relocation for the FR9 field. Ninth bit is computed specially. */ 152 /* A 4-bit data relocation. */ 154 /* A 13-bit insn relocation - word address => right-shift 1 bit extra. */ 156 /* A 3-bit insn relocation - word address => right-shift 1 bit extra. */ 165 /* Special 1 bit relocation for SKIP instructions. */ 169 /* A 7-bit offset relocation for the FR9 field. Eigth and ninth bit comes from insn. */ 184 table *must* match the order of the relocation types defined in 257 /* Return the value of the symbol associated with the relocation IRE 1259 ip2k_final_link_relocate(reloc_howto_type * howto, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * rel, bfd_vma relocation) argument 1416 bfd_vma relocation; local [all...] |
H A D | elf32-xc16x.c | 46 /* An 8 bit absolute relocation. */ 61 /* A 16 bit absolute relocation. */ 91 /* A PC relative 8 bit relocation. */ 192 /* This function is used to search for correct relocation type from 209 called to finalise the type of relocation. */ 346 bfd_vma relocation; local 359 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); 367 h, sec, relocation, 374 relocation, rel->r_addend,
|
H A D | elf32-mt.c | 63 /* A 16 bit absolute relocation. */ 78 /* A 32 bit absolute relocation. */ 93 /* A 32 bit pc-relative relocation. */ 108 /* A 16 bit pc-relative relocation. */ 163 table *must* match the order of the relocation types defined in 227 /* Perform a single relocation. By default we use the standard BFD 237 bfd_vma relocation) 241 relocation, rel->r_addend); 304 bfd_vma relocation; 323 relocation 230 mt_final_link_relocate(reloc_howto_type * howto, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * rel, bfd_vma relocation) argument 303 bfd_vma relocation; local [all...] |
H A D | elf32-m32r.c | 96 bfd_signed_vma relocation; local 104 relocation = symbol_value + addend; 106 relocation -= (input_section->output_section->vma 110 relocation -= (offset & -(bfd_vma) 4); 112 if (relocation < -0x200 || relocation > 0x1ff) 118 relocation >>= howto->rightshift; 119 relocation <<= howto->bitpos; 120 x = (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask); 161 /* Do generic partial_inplace relocation 174 bfd_vma relocation; local 322 bfd_vma relocation; local 2570 bfd_vma relocation; local [all...] |
/macosx-10.10/llvmCore-3425.0.34/bindings/python/llvm/tests/ |
H A D | test_object.py | 61 for relocation in section.get_relocations(): 62 assert isinstance(relocation, Relocation) 63 assert isinstance(relocation.address, long) 64 assert isinstance(relocation.offset, long) 65 assert isinstance(relocation.type_number, long) 66 assert isinstance(relocation.type_name, str) 67 assert isinstance(relocation.value_string, str)
|