Searched refs:reloc (Results 1 - 25 of 102) sorted by relevance

12345

/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dcoff-w65.c51 /* Turn a howto into a reloc number. */
60 /* Code to swap in the reloc */
86 /* Perform any necessary magic to the addend in a reloc entry. */
91 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
92 reloc_processing(relent, reloc, symbols, abfd, section)
95 reloc_processing (relent, reloc, symbols, abfd, section)
97 struct internal_reloc *reloc;
102 relent->address = reloc->r_vaddr;
103 rtype2howto (relent, reloc);
105 if (((int) reloc
[all...]
H A Dcoff-h8500.c73 /* Turn a howto into a reloc number. */
89 /* Code to swap in the reloc. */
140 /* Perform any necessary magic to the addend in a reloc entry. */
145 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
146 reloc_processing(relent, reloc, symbols, abfd, section)
148 static void reloc_processing (relent, reloc, symbols, abfd, section)
150 struct internal_reloc *reloc;
155 relent->address = reloc->r_vaddr;
156 rtype2howto (relent, reloc);
158 if (reloc
[all...]
H A Dcoff-z8k.c73 /* Code to swap in the reloc. */
138 /* Perform any necessary magic to the addend in a reloc entry. */
143 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
144 reloc_processing(relent, reloc, symbols, abfd, section)
148 struct internal_reloc *reloc,
153 relent->address = reloc->r_vaddr;
154 rtype2howto (relent, reloc);
156 if (reloc->r_symndx > 0)
157 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx];
161 relent->addend = reloc
147 reloc_processing(arelent *relent, struct internal_reloc *reloc, asymbol **symbols, bfd *abfd, asection *section) argument
166 extra_case(bfd *in_abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, arelent *reloc, bfd_byte *data, unsigned int *src_ptr, unsigned int *dst_ptr) argument
[all...]
H A Dcoff-z80.c67 /* Code to swap in the reloc. */
126 /* Perform any necessary magic to the addend in a reloc entry. */
131 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
132 reloc_processing(relent, reloc, symbols, abfd, section)
136 struct internal_reloc *reloc,
141 relent->address = reloc->r_vaddr;
142 rtype2howto (relent, reloc);
144 if (reloc->r_symndx > 0)
145 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx];
149 relent->addend = reloc
135 reloc_processing(arelent *relent, struct internal_reloc *reloc, asymbol **symbols, bfd *abfd, asection *section) argument
154 extra_case(bfd *in_abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, arelent *reloc, bfd_byte *data, unsigned int *src_ptr, unsigned int *dst_ptr) argument
[all...]
H A Dcoff-h8300.c219 the code in reloc.c assumes that we can manipulate the targets of
237 /* Adjust the reloc address to that in the output section. */
263 /* Internal reloc for relaxing. This is created when a 16-bit pc-relative
276 /* Turn a howto into a reloc number. */
286 /* Code to swap in the reloc. */
374 /* Perform any necessary magic to the addend in a reloc entry. */
379 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
380 reloc_processing (relent, reloc, symbols, abfd, section)
383 reloc_processing (arelent *relent, struct internal_reloc *reloc, argument
386 relent->address = reloc
431 h8300_reloc16_estimate(bfd *abfd, asection *input_section, arelent *reloc, unsigned int shrink, struct bfd_link_info *link_info) argument
649 h8300_reloc16_extra_cases(bfd *abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, arelent *reloc, bfd_byte *data, unsigned int *src_ptr, unsigned int *dst_ptr) argument
1341 arelent *reloc = relocs[i]; local
[all...]
H A Dcoff-m88k.c75 relocation to the reloc entry rather than the raw data.
76 Modify the reloc inplace to reflect what we now know. */
134 relocation to the reloc entry rather than the raw data.
135 Modify the reloc inplace to reflect what we now know. */
255 /* Code to swap in the reloc offset */
259 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
260 reloc_processing(relent, reloc, symbols, abfd, section)
263 reloc_processing (relent, reloc, symbols, abfd, section)
265 struct internal_reloc *reloc;
270 relent->address = reloc
[all...]
H A Dcoff-tic30.c85 /* Turn a howto into a reloc number. */
100 /* Code to swap in the reloc */
138 /* Perform any necessary magic to the addend in a reloc entry */
143 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
144 reloc_processing(relent, reloc, symbols, abfd, section)
147 reloc_processing (relent, reloc, symbols, abfd, section)
149 struct internal_reloc *reloc;
154 relent->address = reloc->r_vaddr;
155 rtype2howto (relent, reloc);
157 if (reloc
[all...]
H A Dreloc16.c44 bfd_coff_reloc16_get_value (reloc, link_info, input_section)
45 arelent *reloc;
50 asymbol *symbol = *(reloc->sym_ptr_ptr);
81 input_section->owner, input_section, reloc->address,
95 value += reloc->addend;
181 of the "shrink" at each reloc in the section. This allows us to
212 /* Let the target/machine dependent code examine each reloc
293 arelent *reloc; local
302 reloc = *parent;
303 if (reloc)
[all...]
H A Dcoff-tic4x.c91 relocation to the reloc entry rather than the raw data.
92 Modify the reloc inplace to reflect what we now know. */
122 bfd/reloc.c) to map to the howto table entries. */
174 (*_bfd_error_handler) (_("Unrecognized reloc type 0x%x"),
203 tic4x_reloc_processing (relent, reloc, symbols, abfd, section)
205 struct internal_reloc *reloc;
212 relent->address = reloc->r_vaddr;
214 if (reloc->r_symndx != -1)
216 if (reloc->r_symndx < 0 || reloc
[all...]
H A Daout-arm.c146 struct reloc_std_external *reloc)
152 PUT_WORD (abfd, value, reloc->r_address);
165 reloc->r_index[0] = r_index >> 16;
166 reloc->r_index[1] = r_index >> 8;
167 reloc->r_index[2] = r_index;
168 reloc->r_type[0] =
176 reloc->r_index[2] = r_index >> 16;
177 reloc->r_index[1] = r_index >> 8;
178 reloc->r_index[0] = r_index;
179 reloc
140 put_reloc(bfd *abfd, int r_extern, int r_index, bfd_vma value, reloc_howto_type *howto, struct reloc_std_external *reloc) argument
190 relocatable_reloc(reloc_howto_type *howto, bfd *abfd, struct reloc_std_external *reloc, bfd_vma *amount, bfd_vma r_addr) argument
[all...]
H A Daout-ns32k.c172 struct reloc_std_external *reloc)
178 PUT_WORD (abfd, value, reloc->r_address);
183 reloc->r_index[2] = r_index >> 16;
184 reloc->r_index[1] = r_index >> 8;
185 reloc->r_index[0] = r_index;
186 reloc->r_type[0] =
167 put_reloc(bfd *abfd, int r_extern, int r_index, bfd_vma value, reloc_howto_type *howto, struct reloc_std_external *reloc) argument
H A Dbout.c426 /* Now write out reloc info, followed by syms and strings */
478 /* Some reloc hackery. */
491 get_value (arelent *reloc,
496 asymbol *symbol = *(reloc->sym_ptr_ptr);
524 input_section->owner, input_section, reloc->address,
534 value += reloc->addend;
655 /* Allocate enough room for all the reloc entries, plus pointers to them all. */
765 The reloc entry addend has added to it the offset into the
766 file of the data, so subtract the base to make the reloc
842 /* Ouch! this reloc i
490 get_value(arelent *reloc, struct bfd_link_info *link_info, asection *input_section) argument
1235 arelent *reloc ; local
[all...]
H A Dcoff-or32.c146 /* See the note on the R_IREL reloc in coff_or32_relocate_section. */
227 *error_message = _("Unrecognized reloc");
286 #define RELOC_PROCESSING(relent, reloc, symbols, abfd, section) \
287 reloc_processing (relent, reloc, symbols, abfd, section)
290 reloc_processing (relent,reloc, symbols, abfd, section)
292 struct internal_reloc *reloc;
299 relent->address = reloc->r_vaddr;
300 relent->howto = howto_table + reloc->r_type;
302 if (reloc->r_type == R_IHCONST)
315 relent->addend = reloc
[all...]
H A Dcoff-tic54x.c160 relocation to the reloc entry rather than the raw data.
161 Modify the reloc inplace to reflect what we now know. */
234 bfd/reloc.c) to map to the howto table entries. */
282 (*_bfd_error_handler) (_("Unrecognized reloc type 0x%x"),
360 tic54x_reloc_processing (relent, reloc, symbols, abfd, section)
362 struct internal_reloc *reloc;
369 relent->address = reloc->r_vaddr;
371 if (reloc->r_symndx != -1)
373 if (reloc->r_symndx < 0 || reloc
[all...]
/macosx-10.10.1/xnu-2782.1.97/libkern/kxld/
H A Dkxld_reloc.c67 #include <mach-o/reloc.h>
69 #include <mach-o/x86_64/reloc.h>
72 #include <mach-o/arm/reloc.h>
75 #include <mach-o/arm64/reloc.h>
183 kxld_addr_t *_target, kxld_addr_t *_pair_target, const KXLDReloc *reloc);
284 KXLDReloc *reloc = NULL; local
332 reloc = kxld_array_get_item(relocarray, reloc_index++);
334 reloc->address = scatsrc->r_address;
335 reloc->pcrel = scatsrc->r_pcrel;
336 reloc
413 const struct relocation_info *reloc = NULL; local
489 kxld_reloc_get_symbol(const KXLDRelocator *relocator, const KXLDReloc *reloc, const u_char *data) argument
523 KXLDReloc *reloc = NULL; local
549 KXLDReloc *reloc = NULL; local
723 kxld_relocator_process_sect_reloc(KXLDRelocator *relocator, const KXLDReloc *reloc, const KXLDSect *sect) argument
770 kxld_reloc_update_symindex(KXLDReloc *reloc, u_int symindex) argument
788 kxld_relocator_process_table_reloc(KXLDRelocator *relocator, const KXLDReloc *reloc, const KXLDSeg *seg, kxld_addr_t link_addr) argument
834 calculate_targets(KXLDRelocator *relocator, kxld_addr_t *_target, kxld_addr_t *_pair_target, const KXLDReloc *reloc) argument
1013 const KXLDReloc *reloc = NULL; local
1039 const KXLDReloc *reloc = NULL; local
[all...]
H A Dkxld_vtable.c170 KXLDReloc *reloc = NULL; local
209 reloc = kxld_array_get_item(&sect->relocs, reloc_index);
210 while (reloc->address == entry_offset) {
216 reloc = kxld_array_get_item(&sect->relocs, reloc_index);
228 reloc = kxld_array_get_item(&sect->relocs, base_reloc_index - i);
237 sym = kxld_reloc_get_symbol(relocator, reloc, sect->data);
240 entry->unpatched.reloc = reloc;
335 KXLDReloc *reloc = NULL; local
367 reloc
[all...]
H A Dkxld_reloc.h121 const KXLDReloc *reloc, const u_char *data)
151 kern_return_t kxld_reloc_update_symindex(KXLDReloc *reloc, u_int symindex)
159 const KXLDReloc *reloc, const struct kxld_sect *sect)
163 const KXLDReloc *reloc, const struct kxld_seg *seg, kxld_addr_t link_addr)
H A Dkxld_vtable.h67 struct kxld_reloc *reloc; member in struct:kxld_vtable_unpatched_entry
/macosx-10.10.1/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A DMakefile14 reloc.h
/macosx-10.10.1/dyld-353.2.1/src/
H A DdyldInitialization.cpp34 #include <mach-o/reloc.h>
36 #include <mach-o/x86_64/reloc.h>
177 // use reloc's to rebase all random data pointers
185 for (const relocation_info* reloc=relocsStart; reloc < relocsEnd; ++reloc) {
186 if ( reloc->r_length != RELOC_SIZE )
189 if ( reloc->r_type != POINTER_RELOC )
193 *((uintptr_t*)(reloc->r_address + relocBase)) += slide;
H A DImageLoaderMachOClassic.cpp41 #include <mach-o/reloc.h>
48 #include <mach-o/x86_64/reloc.h>
51 #include <mach-o/arm/reloc.h>
727 for (const relocation_info* reloc=relocsStart; reloc < relocsEnd; ++reloc) {
728 if ( (reloc->r_address & R_SCATTERED) != 0 ) {
729 const struct scattered_relocation_info* sreloc = (struct scattered_relocation_info*)reloc;
766 for (const relocation_info* reloc=relocsStart; reloc < relocsEn
[all...]
/macosx-10.10.1/ruby-106/ruby/
H A Ddln.c269 struct relocation_info *reloc; local
274 reloc = (struct relocation_info*)xmalloc(size);
275 if (reloc == NULL) {
280 if (read(fd, reloc, size) != size) {
282 free(reloc);
286 return reloc;
484 struct relocation_info reloc; member in struct:undef
496 link_undef(const char *name, long base, struct relocation_info *reloc) argument
500 char *addr = (char*)(reloc->r_address + base);
504 obj->reloc
620 struct relocation_info *reloc = NULL; local
[all...]
/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A DMachORebaser.hpp40 #include <mach-o/reloc.h>
41 #include <mach-o/x86_64/reloc.h>
42 #include <mach-o/arm/reloc.h>
102 void doLocalRelocation(const macho_relocation_info<P>* reloc);
110 pint_t fOrignalVMRelocBaseAddress; // add reloc address to this to get original address reloc referred to
869 for (const macho_relocation_info<P>* reloc=relocsStart; reloc < relocsEnd; ++reloc) {
870 this->doLocalRelocation(reloc);
943 doLocalRelocation(const macho_relocation_info<x86_64::P>* reloc) argument
956 doLocalRelocation(const macho_relocation_info<P>* reloc) argument
977 doLocalRelocation(const macho_relocation_info<P>* reloc) argument
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/doc/
H A DMakefile.am9 opncls.texi reloc.texi section.texi \
16 libbfd.p opncls.p reloc.p \
20 IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip coffcode.ip
32 $(srcdir)/../reloc.c $(srcdir)/../section.c \
41 $(srcdir)/../opncls.c $(srcdir)/../reloc.c \
47 $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
157 reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str
159 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc
[all...]
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/
H A Dkernel_mach_header.h49 #include <mach-o/reloc.h>

Completed in 166 milliseconds

12345