/freebsd-11-stable/contrib/binutils/bfd/ |
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 | aout-arm.c | 162 r_neg = howto->type & 8; /* Negative relocation. */ 209 relocation is done. */ 245 bfd_vma relocation; 255 /* If the sections are different, and we are doing a partial relocation, 261 relocation = (target & 0x00ffffff) << 2; 262 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ 263 relocation += symbol->value; 264 relocation += symbol->section->output_section->vma; 265 relocation 244 bfd_vma relocation; local [all...] |
H A D | mipsbsd.c | 109 /* Determine the size of a relocation entry, based on the architecture */ 128 file header, symbols, and relocation. */ 181 /* MIPS relocation types. */ 189 /* This is only called when performing a BFD_RELOC_MIPS_JMP relocation. 207 bfd_vma relocation, pc; local 209 /* If this is a partial relocation, just continue. */ 218 /* Work out which section the relocation is targeted at and the 219 initial relocation command value. */ 221 relocation = 0; 223 relocation 258 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 925 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 1603 bfd_vma relocation = val + addend; local [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 2506 bfd_vma relocation, off; 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 1277 bfd_vma relocation; local 1856 bfd_vma relocation; local [all...] |
H A D | elf32-s390.c | 89 /* The relocation "howto" table. */ 379 (*_bfd_error_handler) (_("%B: invalid relocation type %d"), 387 /* A relocation function which doesn't do anything. */ 417 bfd_vma relocation; local 435 relocation = (symbol->value 438 relocation += reloc_entry->addend; 441 relocation -= (input_section->output_section->vma 443 relocation -= reloc_entry->address; 447 insn |= (relocation & 0xfff) << 16 | (relocation 2283 bfd_vma relocation; local [all...] |
H A D | elf64-s390.c | 91 /* The relocation "howto" table. */ 403 (*_bfd_error_handler) (_("%B: invalid relocation type %d"), 411 /* A relocation function which doesn't do anything. */ 441 bfd_vma relocation; local 458 relocation = (symbol->value 461 relocation += reloc_entry->addend; 464 relocation -= (input_section->output_section->vma 466 relocation -= reloc_entry->address; 470 insn |= (relocation & 0xfff) << 16 | (relocation 2257 bfd_vma relocation; local [all...] |
H A D | coff-rs6000.c | 608 /* Standard 32 bit relocation. */ 623 /* 32 bit relocation, but store negative value. */ 638 /* 32 bit PC relative relocation. */ 653 /* 16 bit TOC relative relocation. */ 1019 relocation, as well as indicating whether it is signed or not. 1020 Doublecheck that the relocation information gathered from the 2774 val, addend, relocation, contents) 2783 bfd_vma *relocation ATTRIBUTE_UNUSED; 2791 val, addend, relocation, contents) 2800 bfd_vma *relocation ATTRIBUTE_UNUSE 3362 bfd_vma relocation; local [all...] |
H A D | elf64-sparc.c | 76 relents = asect->relocation + canon_reloc_count (asect); 156 if (asect->relocation != NULL) 187 asect->relocation = (arelent *) bfd_alloc (abfd, amt); 188 if (asect->relocation == NULL) 220 tblptr = section->relocation; 230 /* Canonicalize the dynamic relocation entries. Note that we return 264 p = s->relocation; 780 relocation handling routines. */
|
H A D | elf32-i386.c | 363 (*_bfd_error_handler) (_("%B: invalid relocation type %d"), 504 section, and instead use a dynamic relocation to point into the 532 0, 0, 0, 0, /* replaced with offset into relocation table. */ 553 0, 0, 0, 0, /* replaced with offset into relocation table. */ 1201 (_("%B: bad relocation section name `%s\'"), 1271 /* This relocation describes the C++ object vtable hierarchy. 1278 /* This relocation describes which C++ vtable entries are actually 1294 relocation. */ 1621 in executables. They go in a separate relocation section, 1625 R_386_32 relocation fo 2234 bfd_vma relocation; local [all...] |
H A D | elf32-arm.c | 33 /* Return the relocation section associated with NAME. HTAB is the 38 /* Return size of a relocation entry. HTAB is the bfd's 70 /* No relocation */ 1924 called before the relocation has been set up calls the dynamic 1948 called before the relocation has been set up calls the dynamic 2194 /* The relocation to use for R_ARM_TARGET2 relocations. */ 2286 /* Return true if NAME is the name of the relocation section associated 3169 /* These are the only relocation types we care about. */ 3191 /* If the relocation is not against a symbol it cannot concern us. */ 3203 /* If the relocation i 4938 bfd_signed_vma relocation; local 4977 bfd_signed_vma relocation; local 5013 bfd_vma relocation; local 5170 bfd_vma relocation; local 5243 bfd_vma relocation; local 5306 bfd_signed_vma relocation; local 5361 bfd_vma relocation; local 6388 bfd_vma relocation; local [all...] |
H A D | elf32-mep.c | 30 /* Private relocation functions. */ 189 /* Perform a single relocation. */ 239 bfd_vma relocation) 263 s = relocation + rel->r_addend; 512 bfd_vma relocation; 521 /* Is this a complex relocation? */ 539 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); 553 relocation = 0; 566 relocation = (h->root.u.def.value 573 sec->output_section->vma, sec->output_offset, relocation); 230 mep_final_link_relocate(reloc_howto_type * howto, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * rel, bfd_vma relocation) argument 507 bfd_vma relocation; local [all...] |
H A D | elf64-x86-64.c | 33 /* The relocation "howto" table. Order of fields: 220 (*_bfd_error_handler) (_("%B: invalid relocation type %d"), 353 section, and instead use a dynamic relocation to point into the 382 0, 0, 0, 0, /* replaced with index into relocation table. */ 800 (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), 840 /* This relocation indicates that we also need 960 (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), 1052 (_("%B: bad relocation section name `%s\'"), 1129 /* This relocation describes the C++ object vtable hierarchy. 1136 /* This relocation describe 2075 bfd_vma relocation; local [all...] |
H A D | elf32-score.c | 80 /* The index of the symbol, as stored in the relocation r_info, if 87 /* If abfd != NULL && symndx != -1, the addend of the relocation 192 /* The size of an external REL relocation. */ 206 /* This will be used when we sort the dynamic relocation records. */ 262 dangerous relocation. */ 344 (char *) _("GP relative relocation when _gp not defined"); 361 bfd_vma relocation; local 365 relocation = 0; 367 relocation = symbol->value; 369 relocation 392 bfd_vma relocation; local 1066 score_elf_next_relocation(bfd *abfd ATTRIBUTE_UNUSED, unsigned int r_type, const Elf_Internal_Rela *relocation, const Elf_Internal_Rela *relend) argument 1101 score_elf_local_relocation_p(bfd *input_bfd, const Elf_Internal_Rela *relocation, asection **local_sections, bfd_boolean check_forced) argument 2244 bfd_vma relocation = 0; local [all...] |
H A D | elf32-ppc.c | 179 /* A standard 32 bit relocation. */ 210 /* A standard 16 bit relocation. */ 225 /* A 16 bit relocation without overflow. */ 594 /* 32-bit relocation to the symbol's procedure linkage table. 610 /* 32-bit PC relative relocation to the symbol's procedure linkage table. 690 /* 16-bit section relative relocation. */ 705 /* 16-bit lower half section relative relocation. */ 720 /* 16-bit upper half section relative relocation. */ 735 /* 16-bit upper half adjusted section relative relocation. */ 1290 _SDA_BASE_ for that relocation 1664 bfd_vma relocation; local 5688 elf_finish_pointer_linker_section(bfd *input_bfd, elf_linker_section_t *lsect, struct elf_link_hash_entry *h, bfd_vma relocation, const Elf_Internal_Rela *rel) argument 5828 bfd_vma relocation; local [all...] |
H A D | aoutx.h | 31 structures on disk, and the shape of the relocation 138 and @emph{extended} forms of a.out relocation records. 524 /* The default relocation entry size is that of traditional V7 Unix. */ 579 /* The file offsets of the relocation info. */ 602 or is not encoded at all in some of them. The relocation size depends 870 /* Determine the size of a relocation entry. */ 1923 /* Output standard relocation information to a file in target byte order. */ 1952 /* If this relocation is relative to a symbol then set the 2015 /* Output extended relocation information to a file in target byte order. */ 2040 /* If this relocation i [all...] |
H A D | elf32-mips.c | 102 /* The relocation table used for SHT_REL sections. */ 106 /* No relocation. */ 121 /* 16 bit relocation. */ 136 /* 32 bit relocation. */ 151 /* 32 bit symbol relative relocation. */ 344 /* A 64 bit relocation. */ 535 relocation is required for correctness. */ 704 /* 32 bit relocation with no addend. */ 877 dangerous relocation. */ 956 (char *) _("GP relative relocation whe 1053 bfd_vma relocation; local [all...] |
H A D | elf64-mips.c | 141 /* The relocation table used for SHT_REL sections. */ 145 /* No relocation. */ 160 /* 16 bit relocation. */ 175 /* 32 bit relocation. */ 190 /* 32 bit symbol relative relocation. */ 382 /* 64 bit relocation. */ 625 relocation is required for correctness. */ 794 /* 32 bit relocation with no addend. */ 810 /* The relocation table used for SHT_RELA sections. */ 814 /* No relocation 2008 bfd_vma relocation; local [all...] |
H A D | elfn32-mips.c | 103 /* The relocation table used for SHT_REL sections. */ 107 /* No relocation. */ 122 /* 16 bit relocation. */ 137 /* 32 bit relocation. */ 152 /* 32 bit symbol relative relocation. */ 346 /* A 64 bit relocation. */ 589 relocation is required for correctness. */ 758 /* 32 bit relocation with no addend. */ 774 /* The relocation table used for SHT_RELA sections. */ 778 /* No relocation 1876 bfd_vma relocation; local [all...] |
H A D | elf32-cr16.c | 29 /* cr16_reloc_map array maps BFD relocation enum into a CRGAS relocation type. */ 33 bfd_reloc_code_real_type bfd_reloc_enum; /* BFD relocation enum. */ 34 unsigned short cr16_reloc_type; /* CR16 relocation type. */ 447 _bfd_error_handler ("Unsupported CR16 relocation type: 0x%x\n", code); 465 /* Retrieve a howto ptr using an internal relocation entry. */ 477 /* Perform a relocation as part of a final link. */ 515 relocation offset. Advance it to account for the exact offset. */ 822 bfd_vma relocation; local 836 relocation [all...] |
H A D | libxcoff.h | 78 /* Line number and relocation overflow. 80 relocation count exceeds 0xffff. XCOFF64 does not overflow. */ 84 /* Loader section symbol and relocation table offset 215 bfd_vma *relocation, bfd_byte *contents
|
H A D | elf64-ppc.c | 231 /* A standard 32 bit relocation. */ 262 /* A standard 16 bit relocation. */ 277 /* A 16 bit relocation without overflow. */ 615 /* 32-bit relocation to the symbol's procedure linkage table. */ 630 /* 32-bit PC relative relocation to the symbol's procedure linkage table. 694 /* 16-bit section relative relocation. */ 724 /* 16-bit upper half section relative relocation. */ 739 /* 16-bit upper half adjusted section relative relocation. */ 771 /* A standard 64-bit relocation. */ 863 /* 64-bit relative relocation 10067 bfd_vma relocation; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 463 HANDLE_OPERAND(relocation); 466 HANDLE_OPERAND(relocation); 469 HANDLE_OPERAND(relocation); 470 HANDLE_OPERAND(relocation); 476 HANDLE_OPTIONAL(relocation) 480 HANDLE_OPERAND(relocation); 488 HANDLE_OPTIONAL(relocation) 494 HANDLE_OPERAND(relocation) 652 // Operand 2 (optional) is an immediate or relocation. 664 HANDLE_OPTIONAL(relocation) [all...] |