/freebsd-10.1-release/contrib/binutils/bfd/ |
H A D | elf32-i386.c | 76 /* These relocs are a GNU extension. */ 239 /* These relocs are a GNU extension. */ 564 /* The i386 linker needs to keep track of the number of relocs that it 565 decides to copy as dynamic relocs in check_relocs for each symbol. 577 /* Total number of relocs copied for the input section. */ 580 /* Number of pc-relative relocs copied for the input section. */ 590 /* Track dynamic relocs copied for this symbol. */ 924 /* Look through the relocs for a section during the first phase, and 932 const Elf_Internal_Rela *relocs) 950 rel_end = relocs 927 elf_i386_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1315 elf_i386_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1846 bfd_boolean relocs; local 2200 elf_i386_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | elf32-spu.c | 29 /* We use RELA style relocs. Don't define USE_REL. */ 177 /* Apply R_SPU_REL9 and R_SPU_REL9I relocs. */ 894 /* If there aren't any relocs, then there's nothing more to do. */ 907 /* Get the relocs. */ 1017 if (elf_section_data (section)->relocs != internal_relocs) 1044 /* We're done with the internal relocs, free them. */ 1045 if (elf_section_data (section)->relocs != internal_relocs) 1465 /* Assume no relocs on stack adjusing insns. */ 1892 /* Rummage through the relocs for SEC, looking for function calls. 2643 /* Called when not normally emitting relocs, i 2648 spu_elf_count_relocs(asection *sec, Elf_Internal_Rela *relocs) argument 2666 spu_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | elf64-x86-64.c | 162 /* Map BFD relocs to the x86_64 elf relocs. */ 387 /* The x86-64 linker needs to keep track of the number of relocs that 388 it decides to copy as dynamic relocs in check_relocs for each symbol. 401 /* Total number of relocs copied for the input section. */ 404 /* Number of pc-relative relocs copied for the input section. */ 414 /* Track dynamic relocs copied for this symbol. */ 738 /* Look through the relocs for a section during the first phase, and 744 const Elf_Internal_Rela *relocs) 762 rel_end = relocs 741 elf64_x86_64_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1173 elf64_x86_64_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1687 bfd_boolean relocs; local 2044 elf64_x86_64_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | libaout.h | 462 void * relocs; 469 ((s)->used_by_bfd = (void *)&(v)->relocs) 460 void * relocs; member in struct:aout_section_data_struct
|
H A D | libcoff.h | 186 /* The relocs, swapped into COFF internal form. This may be NULL. */ 187 struct internal_reloc *relocs; member in struct:coff_section_tdata 188 /* If this is TRUE, the relocs entry may not be freed. */ 447 /* The relocs to be output. */ 448 struct internal_reloc *relocs; member in struct:coff_link_section_info 498 /* Buffer large enough to hold external relocs of any input section. */ 500 /* Buffer large enough to hold swapped relocs of any input section. */
|
H A D | pe-mips.c | 356 PC relative relocs. 590 struct internal_reloc *relocs, 617 rel = relocs; 585 coff_pe_mips_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, struct internal_reloc *relocs, struct internal_syment *syms, asection **sections) argument
|
H A D | elf-bfd.h | 708 relocs of an object file, just after the symbols for the object 710 function must look through the relocs and do any special handling 713 relocs are always passed as Rela structures; if the section 718 const Elf_Internal_Rela *relocs); 770 we keep to use as a base for relocs and symbols. */ 777 The relocs are always passed as Rela structures; if the section 782 necessary, and (if using Rela relocs and generating a 807 asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, 874 const Elf_Internal_Rela *relocs); 934 /* Emit relocations. Overrides default routine for emitting relocs, 1204 Elf_Internal_Rela *relocs; member in struct:bfd_elf_section_data [all...] |
H A D | elfxx-ia64.c | 44 relocations. Dynamic relocs created for dynamic 45 symbols in an application; REL relocs for locals 51 ld.so. Thus there are no dynamic relocs against these 52 objects. The FPTR relocs for such _are_ passed through 174 unsigned reltext : 1; /* are there relocs against readonly sections? */ 268 const Elf_Internal_Rela *relocs)); 322 Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, 1353 if (elf_section_data (sec)->relocs != internal_relocs) 1358 elf_section_data (sec)->relocs = internal_relocs; 1404 && elf_section_data (sec)->relocs ! [all...] |
H A D | elf32-score.c | 49 /* Number of R_SCORE_ABS32, R_SCORE_REL32 relocs against this symbol. */ 1236 relocation field. It therefore treats relocs against 1237 defined symbols in the same way as relocs against 1841 Elf_Internal_Rela *relocs, 1913 relend = relocs + input_section->reloc_count * bed->s->int_rels_per_ext_rel; 2197 Elf_Internal_Rela *relocs, 2234 rel = relocs; 2235 relend = relocs + input_section->reloc_count; 2404 /* For relocs against symbols from removed linkonce sections, 2426 input_section, contents, rel, relocs, 1835 score_elf_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, bfd *output_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, Elf_Internal_Rela *relocs, bfd_vma symbol, struct bfd_link_info *info, const char *sym_name ATTRIBUTE_UNUSED, int sym_flags ATTRIBUTE_UNUSED, struct score_elf_link_hash_entry *h, asection **local_sections, bfd_boolean gp_disp_p) argument 2192 _bfd_score_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument 2486 _bfd_score_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument [all...] |
H A D | elfxx-sparc.c | 89 /* For unsupported relocs. */ 457 /* The SPARC linker needs to keep track of the number of relocs that it 458 decides to copy as dynamic relocs in check_relocs for each symbol. 470 /* Total number of relocs copied for the input section. */ 473 /* Number of pc-relative relocs copied for the input section. */ 483 /* Track dynamic relocs copied for this symbol. */ 502 /* TRUE if TLS GD relocs has been seen for this object. */ 1071 /* Look through the relocs for a section during the first phase, and 1077 asection *sec, const Elf_Internal_Rela *relocs) 1103 rel_end = relocs 1074 _bfd_sparc_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 1553 _bfd_sparc_elf_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 2459 _bfd_sparc_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | elf32-arm.c | 2114 /* The ARM linker needs to keep track of the number of relocs that it 2116 it can discard PC relative relocs if it doesn't need them when 2120 /* This structure keeps track of the number of relocs we have copied 2128 /* Number of relocs copied in this section. */ 2130 /* Number of PC-relative relocs copied in this section. */ 2141 /* Number of PC relative relocs copied for this symbol. */ 3029 collection, despite the fact that no relocs refer to this section. */ 3141 /* Rummage around all the relocs and map the glue vectors. */ 3157 /* Load the relocs. */ 3254 && elf_section_data (sec)->relocs ! 6364 elf32_arm_relocate_section(bfd * output_bfd, struct bfd_link_info * info, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * relocs, Elf_Internal_Sym * local_syms, asection ** local_sections) argument 7386 elf32_arm_gc_sweep_hook(bfd * abfd, struct bfd_link_info * info, asection * sec, const Elf_Internal_Rela * relocs) argument 7512 elf32_arm_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 8514 bfd_boolean relocs; local [all...] |
H A D | linker.c | 49 the details of symbols and relocs. 282 modify the input relocs and write them into the output file. 318 types of information. They also describe relocs that must be 341 contents of the section and any associated relocs, apply the 342 relocs to the section contents, and write out the modified 344 relocs themselves must also be modified and written out. 737 If we read them multiple times, we might wind up with relocs and 2047 /* Allocate space for the output relocs for each section. */ 2061 arelent **relocs; 2071 relocs 2055 arelent **relocs; local [all...] |
H A D | elfxx-mips.c | 247 /* Number of R_MIPS_32, R_MIPS_REL32, or R_MIPS_64 relocs against 266 in any relocs other than a 16 bit call. */ 602 section contains REL relocs, then the relocation is in the second 4329 are handled using copy relocs or PLT stubs, so there's 4410 So the offsets of hi and lo relocs are the same, but the 4832 relocation field. It therefore treats relocs against 4833 defined symbols in the same way as relocs against 5271 && elf_section_data (sec)->relocs != NULL 5272 && (ELF32_R_TYPE (elf_section_data (sec)->relocs[0].r_info) 5532 processing relocs, s 6115 _bfd_mips_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 7711 _bfd_mips_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | coffgen.c | 386 /* Read in and swap the relocs. This returns a buffer holding the 387 relocs for section SEC in file ABFD. If CACHE is TRUE and 388 INTERNAL_RELOCS is NULL, the relocs read in will be saved in case 390 is a buffer large enough to hold the unswapped relocs. If 392 the swapped relocs. If REQUIRE_INTERNAL is TRUE, then the return 412 && coff_section_data (abfd, sec)->relocs != NULL) 415 return coff_section_data (abfd, sec)->relocs; 416 memcpy (internal_relocs, coff_section_data (abfd, sec)->relocs, 446 /* Swap in the relocs. */ 469 coff_section_data (abfd, sec)->relocs [all...] |
H A D | elflink.c | 336 /* The .rel[a].bss section holds copy relocs. This section is not 346 copy relocs. */ 2059 /* Read and swap the relocs from the section indicated by SHDR. This 2135 /* Read and swap the relocs for a section O. They may have been 2138 be large enough. If the INTERNAL_RELOCS relocs argument is NULL, 2157 if (elf_section_data (o)->relocs != NULL) 2158 return elf_section_data (o)->relocs; 2206 elf_section_data (o)->relocs = internal_relocs; 4464 .symver foo, foo@BAR such that any relocs against foo become foo@BAR. */ 4656 relocs 9447 Elf_Internal_Rela * relocs; local [all...] |
H A D | coff64-rs6000.c | 927 /* Now should write relocs, strings, syms. */ 1182 input_section, contents, relocs, syms, 1189 struct internal_reloc *relocs; 1196 rel = relocs; 1378 relocs need special_function entries, which I have not written. */ 1816 for R_REF relocs. */
|
H A D | coff-arm.c | 1169 struct internal_reloc *relocs, 1179 rel = relocs; 1222 /* The relocation_section function will skip pcrel_offset relocs 1224 ARM_26 to ARM_26D relocs if possible. We return a fake howto in 2041 /* Rummage around all the relocs and map the glue vectors. */ 2055 /* Load the relocs. */ 2146 /* When doing a relocatable link, we want to convert ARM_26 relocs 2147 into ARM_26D relocs. */ 1162 coff_arm_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, struct internal_reloc *relocs, struct internal_syment *syms, asection **sections) argument
|
H A D | peicode.h | 490 /* Move the queued relocs into the given section. */ 496 /* Make sure that there is somewhere to store the internal relocs. */ 501 coff_section_data (vars->abfd, sec)->relocs = vars->int_reltab; 1294 of relocs in section 3). Since this routine can only be called
|
/freebsd-10.1-release/contrib/binutils/binutils/ |
H A D | coffgrok.c | 164 head->sections[i].relocs = 189 struct coff_reloc *r = head->sections[i].relocs + j;
|
/freebsd-10.1-release/contrib/binutils/gas/config/ |
H A D | tc-sparc.c | 1913 as_bad (_("Illegal operands: %%%s cannot be used together with other relocs in the insn ()"), 3458 static arelent *relocs[3]; 3462 relocs[0] = reloc = (arelent *) xmalloc (sizeof (arelent)); 3463 relocs[1] = NULL; 3541 set of relocs. */ 3618 relocs[0] = NULL; 3619 return relocs; 3662 relocs[1] = reloc = (arelent *) xmalloc (sizeof (arelent)); 3663 relocs[2] = NULL; 3673 return relocs; 3447 static arelent *relocs[3]; local [all...] |
H A D | obj-coff.h | 390 #define SET_SECTION_RELOCS(sec, relocs, n) \
|
/freebsd-10.1-release/sys/pci/ |
H A D | ncr.c | 3000 int relocs, offset; local 3038 relocs = 2; 3063 relocs = 1; 3072 relocs = 0; 3074 relocs = 1; 3081 relocs = 1; 3085 relocs = 0; 3089 if (relocs) { 3090 while (relocs--) {
|
/freebsd-10.1-release/sys/dev/sym/ |
H A D | sym_hipd.c | 2011 int relocs; local 2055 relocs = 0; 2061 relocs = 1; 2067 relocs = 2; 2090 relocs = 1; 2098 relocs = 0; 2106 relocs = 0; 2108 relocs = 2; 2110 relocs = 1; 2116 relocs [all...] |
/freebsd-10.1-release/sys/dev/drm2/radeon/ |
H A D | r600_cs.c | 925 *cs_reloc = p->relocs; 2463 p->relocs = malloc(sizeof(struct radeon_cs_reloc), 2465 if (p->relocs == NULL) { 2483 free(parser->relocs, DRM_MEM_DRIVER);
|
/freebsd-10.1-release/sys/dev/drm2/i915/ |
H A D | i915_gem_execbuffer.c | 441 struct eb_objects *eb, struct drm_i915_gem_relocation_entry *relocs) 447 ret = i915_gem_execbuffer_relocate_entry(obj, eb, &relocs[i]); 440 i915_gem_execbuffer_relocate_object_slow(struct drm_i915_gem_object *obj, struct eb_objects *eb, struct drm_i915_gem_relocation_entry *relocs) argument
|