Searched refs:relocs (Results 1 - 25 of 125) sorted by relevance

12345

/macosx-10.10/cxxfilt-11/cxxfilt/binutils/
H A Dnlmconv.c675 /* FIXME: If any relocs referring to _end use inplace addends,
1260 arelent **relocs;
1263 relocs = (arelent **) xmalloc (reloc_size);
1264 reloc_count = bfd_canonicalize_reloc (inbfd, insec, relocs, symbols);
1267 mangle_relocs (outbfd, insec, &relocs, &reloc_count, (char *) contents,
1280 memcpy (combined + outsec->reloc_count, relocs,
1284 relocs = combined;
1287 bfd_set_reloc (outbfd, outsec, relocs, reloc_count);
1327 /* Some, perhaps all, NetWare targets require changing the relocs used
1362 /* By default all we need to do for relocs i
1255 arelent **relocs; local
1369 arelent **relocs; local
1408 arelent **relocs; local
1563 arelent **relocs; local
1810 arelent **relocs; local
1873 arelent **relocs; local
[all...]
H A Dnm.c44 /* When fetching relocs, we use this structure to pass information to
50 arelent ***relocs; member in struct:get_relocs_info
757 /* This function is used to get the relocs for a particular section.
769 *data->relocs = NULL;
780 *data->relocs = xmalloc (relsize);
781 *data->relcount = bfd_canonicalize_reloc (abfd, sec, *data->relocs,
788 ++data->relocs;
845 static arelent ***relocs;
853 if (abfd != lineno_cache_rel_bfd && relocs != NULL)
856 if (relocs[
840 static arelent ***relocs; local
[all...]
/macosx-10.10/xnu-2782.1.97/libkern/kxld/
H A Dkxld_sect.c62 struct relocation_info *relocs = NULL; local
85 relocs = (struct relocation_info *) ((void *) (macho + src->reloff));
87 rval = kxld_reloc_create_macho(&sect->relocs, relocator,
88 relocs, src->nreloc);
110 struct relocation_info *relocs = NULL; local
133 relocs = (struct relocation_info *) ((void *) (macho + src->reloff));
135 rval = kxld_reloc_create_macho(&sect->relocs, relocator,
136 relocs, src->nreloc);
225 kxld_array_clear(&sect->relocs);
239 kxld_array_deinit(&sect->relocs);
[all...]
H A Dkxld_vtable.c71 const KXLDArray *relocs, const KXLDDict *defined_cxx_symbols);
197 rval = kxld_reloc_get_reloc_index_by_offset(&sect->relocs,
204 * sure we don't run off the end of the section's relocs.
209 reloc = kxld_array_get_item(&sect->relocs, reloc_index);
216 reloc = kxld_array_get_item(&sect->relocs, reloc_index);
228 reloc = kxld_array_get_item(&sect->relocs, base_reloc_index - i);
331 const KXLDRelocator *relocator, const KXLDArray *relocs,
350 check(relocs);
367 reloc = kxld_reloc_get_reloc_by_offset(relocs,
400 reloc = kxld_reloc_get_reloc_by_offset(relocs,
330 init_by_entries_and_relocs(KXLDVTable *vtable, const KXLDSym *vtable_sym, const KXLDRelocator *relocator, const KXLDArray *relocs, const KXLDDict *defined_cxx_symbols) argument
[all...]
H A Dkxld_reloc.h124 kern_return_t kxld_reloc_get_reloc_index_by_offset(const struct kxld_array *relocs,
128 KXLDReloc * kxld_reloc_get_reloc_by_offset(const struct kxld_array *relocs,
H A Dkxld_util.c278 struct relocation_info *relocs = NULL; local
380 sects[j].reloff + sects[j].nreloc * sizeof(*relocs), finish,
385 relocs = (struct relocation_info *) ((void *) (file + sects[j].reloff));
388 swap_relocation_info(relocs, sects[j].nreloc,
449 struct relocation_info *relocs = NULL; local
549 sects[j].reloff + sects[j].nreloc * sizeof(*relocs), finish,
554 relocs = (struct relocation_info *) ((void *) (file + sects[j].reloff));
557 swap_relocation_info(relocs, sects[j].nreloc,
H A Dkxld_reloc.c179 const struct relocation_info *relocs, u_int nrelocs)
195 static u_long get_macho_data_size_for_array(const KXLDArray *relocs);
198 const KXLDArray *relocs, struct relocation_info **dstp);
300 /* Count the number of non-pair relocs */
403 * Relocatable relocs :
404 * 1) Are not _PAIR_ relocs
409 const struct relocation_info *relocs, u_int nrelocs)
417 check(relocs);
423 reloc = relocs + i;
519 kxld_reloc_get_reloc_index_by_offset(const KXLDArray *relocs, argument
408 count_relocatable_relocs(const KXLDRelocator *relocator, const struct relocation_info *relocs, u_int nrelocs) argument
546 kxld_reloc_get_reloc_by_offset(const KXLDArray *relocs, kxld_addr_t offset) argument
1011 get_macho_data_size_for_array(const KXLDArray *relocs) argument
1035 export_macho_for_array(const KXLDRelocator *relocator, const KXLDArray *relocs, struct relocation_info **dstp) argument
[all...]
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/
H A Delf32-openrisc.c232 routines, but a few relocs, we have to do them ourselves. */
267 The relocs are always passed as Rela structures; if the section
272 necessary, and (if using Rela relocs and generating a relocatable
298 Elf_Internal_Rela *relocs,
312 relend = relocs + input_section->reloc_count;
314 for (rel = relocs; rel < relend; rel++)
433 /* Look through the relocs for a section during the first phase.
435 virtual table relocs for gc. */
441 const Elf_Internal_Rela *relocs)
458 rel_end = relocs
293 openrisc_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
438 openrisc_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument
[all...]
H A Delf32-fr30.c389 routines, but a few relocs, we have to do them ourselves. */
476 The relocs are always passed as Rela structures; if the section
481 necessary, and (if using Rela relocs and generating a relocatable
503 contents, relocs, local_syms, local_sections)
509 Elf_Internal_Rela *relocs;
523 relend = relocs + input_section->reloc_count;
525 for (rel = relocs; rel < relend; rel ++)
644 /* Look through the relocs for a section during the first phase.
646 virtual table relocs for gc. */
649 fr30_elf_check_relocs (abfd, info, sec, relocs)
[all...]
H A Delf32-m68hc1x.h164 asection * sec, const Elf_Internal_Rela * relocs);
168 bfd_byte *contents, Elf_Internal_Rela *relocs,
H A Di386lynx.c408 PTR relocs;
445 relocs = (PTR) bfd_alloc (abfd, reloc_size);
446 if (!relocs && reloc_size != 0)
452 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size)
454 bfd_release (abfd, relocs);
461 register struct reloc_ext_external *rptr = (struct reloc_ext_external *) relocs;
473 register struct reloc_std_external *rptr = (struct reloc_std_external *) relocs;
485 bfd_release (abfd, relocs);
407 PTR relocs; variable
H A Delf32-mcore.c33 /* RELA relocs are used here... */
86 /* Don't pretend we can deal with unsupported relocs. */
343 The relocs are always passed as Rela structures; if the section
348 necessary, and (if using Rela relocs and generating a
375 Elf_Internal_Rela * relocs,
381 Elf_Internal_Rela * rel = relocs;
382 Elf_Internal_Rela * relend = relocs + input_section->reloc_count;
557 const Elf_Internal_Rela * relocs ATTRIBUTE_UNUSED)
562 /* Look through the relocs for a section during the first phase. argument
564 virtual table relocs fo
366 mcore_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 Delf32-crx.c596 irel = elf_section_data (sec)->relocs;
604 /* Adjust all the relocs. */
605 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
624 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
793 if (elf_section_data (input_section)->relocs != internal_relocs)
806 && elf_section_data (input_section)->relocs != internal_relocs)
816 bfd_byte *contents, Elf_Internal_Rela *relocs,
830 rel = relocs;
831 relend = relocs + input_section->reloc_count;
958 this section does not have relocs, o
814 elf32_crx_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 Delf32-h8300.c216 /* This structure is used to map BFD reloc codes to H8 ELF relocs. */
223 /* An array mapping BFD reloc codes to H8 ELF relocs. */
282 /* Special handling for H8/300 relocs.
398 bfd_byte *contents, Elf_Internal_Rela *relocs,
412 rel = relocs;
413 relend = relocs + input_section->reloc_count;
671 this section does not have relocs, or if this is not a
693 /* Walk through the relocs looking for relaxing opportunities. */
777 contents, the section relocs, and the BFD symbol table. We
806 /* Note that we've changed the relocs, sectio
395 elf32_h8_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 Delf32-d10v.c238 /* Look through the relocs for a section during the first phase.
240 virtual table relocs for gc. */
246 const Elf_Internal_Rela *relocs)
262 rel_end = relocs + sec->reloc_count;
263 for (rel = relocs; rel < rel_end; rel++)
375 Elf_Internal_Rela *relocs,
387 rel = relocs;
388 relend = relocs + input_section->reloc_count;
474 /* r_symndx will be zero only for relocs against symbols from
476 script. For these relocs, w
243 elf32_d10v_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument
370 elf32_d10v_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 Delf32-mt.c252 The relocs are always passed as Rela structures; if the section
257 necessary, and (if using Rela relocs and generating a relocatable
284 Elf_Internal_Rela * relocs,
295 relend = relocs + input_section->reloc_count;
297 for (rel = relocs; rel < relend; rel ++)
398 /* Look through the relocs for a section during the first phase.
400 virtual table relocs for gc. */
407 const Elf_Internal_Rela * relocs)
424 rel_end = relocs + sec->reloc_count;
425 for (rel = relocs; re
277 mt_elf_relocate_section(bfd * output_bfd ATTRIBUTE_UNUSED, 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
402 mt_elf_check_relocs(bfd * abfd, struct bfd_link_info * info, asection * sec, const Elf_Internal_Rela * relocs) argument
[all...]
H A Delf-m10200.c333 contents, relocs, local_syms, local_sections)
339 Elf_Internal_Rela *relocs;
353 rel = relocs;
354 relend = relocs + input_section->reloc_count;
479 might make the code simpler if we had different relocs for
502 this section does not have relocs, or if this is not a
602 contents, the section relocs, and the BFD symbol table. We
633 /* Note that we've changed the relocs, section contents, etc. */
634 elf_section_data (sec)->relocs = internal_relocs;
686 /* Note that we've changed the relocs, sectio
[all...]
H A Daout-tic30.c172 /* This function is used as a callback for 16-bit relocs. This is
275 struct reloc_std_external *relocs,
287 *r_index = ((relocs->r_index[0] << 16) | (relocs->r_index[1] << 8) | relocs->r_index[2]);
288 *r_extern = (0 != (relocs->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
289 r_pcrel_done = (0 != (relocs->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
290 r_length = ((relocs->r_type[0] & RELOC_STD_BITS_LENGTH_BIG) >> RELOC_STD_BITS_LENGTH_SH_BIG);
294 *r_index = ((relocs->r_index[2] << 16) | (relocs
274 tic30_aout_reloc_howto(bfd *abfd, struct reloc_std_external *relocs, int *r_index, int *r_extern, int *r_pcrel) argument
[all...]
H A Delf32-msp430.c217 /* Look through the relocs for a section during the first phase.
219 virtual table relocs for gc. */
223 asection * sec, const Elf_Internal_Rela * relocs)
240 rel_end = relocs + sec->reloc_count;
241 for (rel = relocs; rel < rel_end; rel++)
262 routines, but a few relocs, we have to do them ourselves. */
391 Elf_Internal_Rela * relocs,
402 relend = relocs + input_section->reloc_count;
404 for (rel = relocs; rel < relend; rel++)
803 irel = elf_section_data (sec)->relocs;
222 elf32_msp430_check_relocs(bfd * abfd, struct bfd_link_info * info, asection * sec, const Elf_Internal_Rela * relocs) argument
386 elf32_msp430_relocate_section(bfd * output_bfd ATTRIBUTE_UNUSED, 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 Delf32-iq2000.c399 /* Look through the relocs for a section during the first phase.
401 virtual table relocs for gc. */
407 const Elf_Internal_Rela *relocs)
424 rel_end = relocs + sec->reloc_count;
425 for (rel = relocs; rel < rel_end; rel++)
472 /* Note that we've changed relocs, otherwise if !info->keep_memory
473 we'll free the relocs and lose our changes. */
474 elf_section_data (sec)->relocs = (Elf_Internal_Rela *) relocs;
489 The relocs ar
400 iq2000_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument
510 iq2000_elf_relocate_section(bfd * output_bfd ATTRIBUTE_UNUSED, 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 Dmep-relocs.pl26 # the relocs to be sequential (this is needed so that bfd/elf32-mep.h
55 push(@relocs, $rel);
81 $autogen = " /* This section generated from bfd/mep-relocs.pl from include/elf/mep.h. */\n";
126 for ($i=2; $i<=$#relocs; $i++) {
140 $c = "$relocs[$i],";
147 for ($i=2; $i<=$#relocs; $i++) {
157 print NEW " case R_MEP_$relocs[$i]: /* $pattern[$i] */\n";
233 for $i (2..$#relocs) {
234 printf (NEW "$pattern", $relocs[$i]) || die("$file.new write: $!");
H A Dnlm32-i386.c149 /* NetWare only supports two kinds of relocs. We should check
151 relocs uses a special_function which does not affect what we do
187 /* NetWare only supports absolute internal relocs. */
207 /* PC relative relocs on NetWare must be pcrel_offset. */
224 into a NetWare i386 module. That means that the relocs from the
225 source file have to be mapped into relocs that apply to the target
227 it a chance to rework the relocs.
256 byte relocs here, so we insist on having 4 bytes. */
295 pc_relative relocs accordingly. We are going to change the
332 bfd_size_type rcount; /* Number of relocs
375 nlm_i386_write_external(bfd *abfd, bfd_size_type count, asymbol *sym, struct reloc_and_sec *relocs) argument
[all...]
H A Delf32-xc16x.c323 Elf_Internal_Rela *relocs,
337 rel = relocs;
338 relend = relocs + input_section->reloc_count;
318 elf32_xc16x_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
H A Dhp300hpux.c147 free_cached_info routine which assumes that the relocs and symtabs
326 /* Write out the symbols, and then the relocs. We must write out
331 /* Skip the relocs to where we want to put the symbols. */
730 PTR relocs; local
769 relocs = (PTR) bfd_alloc (abfd, reloc_size);
770 if (!relocs && reloc_size != 0)
776 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size)
778 bfd_release (abfd, relocs);
783 rptr = (struct hp300hpux_reloc *) relocs;
793 bfd_release (abfd, relocs);
[all...]
/macosx-10.10/emacs-93/emacs/nt/
H A Dpreprep.c631 IMAGE_BASE_RELOCATION *relocs, *block, *start_block, *end_block; local
642 relocs = RVA_TO_PTR (reloc_dir->VirtualAddress, reloc_section, p_outfile);
647 for (block = relocs, start_block = 0;
648 (DWORD) block - (DWORD) relocs < reloc_dir->Size;
666 len_remaining_relocs = (DWORD) relocs + reloc_dir->Size - (DWORD) end_block;
679 for (block = relocs;
680 (DWORD) block - (DWORD) relocs < reloc_dir->Size;

Completed in 309 milliseconds

12345