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

123

/haiku-fatelf/src/bin/gdb/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.c69 /* Turn a howto into a reloc number */
83 /* Code to swap in the reloc. */
129 /* Perform any necessary magic to the addend in a reloc entry. */
134 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
135 reloc_processing(relent, reloc, symbols, abfd, section)
139 struct internal_reloc *reloc,
144 relent->address = reloc->r_vaddr;
145 rtype2howto (relent, reloc);
147 if (reloc->r_symndx > 0)
148 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc
138 reloc_processing(arelent *relent, struct internal_reloc *reloc, asymbol **symbols, bfd *abfd, asection *section) argument
157 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.c224 the code in reloc.c assumes that we can manipulate the targets of
242 /* Adjust the reloc address to that in the output section. */
268 /* Internal reloc for relaxing. This is created when a 16-bit pc-relative
281 /* Turn a howto into a reloc number. */
291 /* Code to swap in the reloc. */
379 /* Perform any necessary magic to the addend in a reloc entry. */
384 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
385 reloc_processing (relent, reloc, symbols, abfd, section)
388 reloc_processing (arelent *relent, struct internal_reloc *reloc, argument
391 relent->address = reloc
440 h8300_reloc16_estimate(bfd *abfd, asection *input_section, arelent *reloc, unsigned int shrink, struct bfd_link_info *link_info) argument
658 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
1344 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.c87 relocation to the reloc entry rather than the raw data.
88 Modify the reloc inplace to reflect what we now know. */
118 bfd/reloc.c) to map to the howto table entries. */
170 (*_bfd_error_handler) (_("Unrecognized reloc type 0x%x"),
202 tic4x_reloc_processing (relent, reloc, symbols, abfd, section)
204 struct internal_reloc *reloc;
211 relent->address = reloc->r_vaddr;
213 if (reloc->r_symndx != -1)
215 if (reloc->r_symndx < 0 || reloc
[all...]
H A Daout-arm.c158 MY(put_reloc) (abfd, r_extern, r_index, value, howto, reloc)
164 struct reloc_std_external *reloc;
170 PUT_WORD (abfd, value, reloc->r_address);
183 reloc->r_index[0] = r_index >> 16;
184 reloc->r_index[1] = r_index >> 8;
185 reloc->r_index[2] = r_index;
186 reloc->r_type[0] =
194 reloc->r_index[2] = r_index >> 16;
195 reloc->r_index[1] = r_index >> 8;
196 reloc
[all...]
H A Daout-ns32k.c190 MY(put_reloc) (abfd, r_extern, r_index, value, howto, reloc)
196 struct reloc_std_external *reloc;
202 PUT_WORD (abfd, value, reloc->r_address);
208 reloc->r_index[2] = r_index >> 16;
209 reloc->r_index[1] = r_index >> 8;
210 reloc->r_index[0] = r_index;
211 reloc->r_type[0] =
H A Dbout.c321 /* Now write out reloc info, followed by syms and strings */
373 /* Some reloc hackery. */
550 /* Allocate enough room for all the reloc entries, plus pointers to them all. */
673 The reloc entry addend has added to it the offset into the
674 file of the data, so subtract the base to make the reloc
750 /* Ouch! this reloc is out of order, insert into the right place. */
1055 get_value (reloc, link_info, input_section)
1056 arelent *reloc;
1061 asymbol *symbol = *(reloc->sym_ptr_ptr);
1089 input_section->owner, input_section, reloc
1347 arelent *reloc ; local
[all...]
H A Dcoff-a29k.c136 /* See the note on the R_IREL reloc in coff_a29k_relocate_section. */
213 *error_message = _("Unrecognized reloc");
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;
272 relent->address = reloc->r_vaddr;
273 relent->howto = howto_table + reloc->r_type;
274 if (reloc->r_type == R_IHCONST)
286 relent->addend = reloc
[all...]
H A Dcoff-or32.c146 /* See the note on the R_IREL reloc in coff_or32_relocate_section. */
236 *error_message = _("Unrecognized reloc");
295 #define RELOC_PROCESSING(relent, reloc, symbols, abfd, section) \
296 reloc_processing (relent, reloc, symbols, abfd, section)
299 reloc_processing (relent,reloc, symbols, abfd, section)
301 struct internal_reloc *reloc;
308 relent->address = reloc->r_vaddr;
309 relent->howto = howto_table + reloc->r_type;
311 if (reloc->r_type == R_IHCONST)
324 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"),
351 tic54x_reloc_processing (relent, reloc, symbols, abfd, section)
353 struct internal_reloc *reloc;
360 relent->address = reloc->r_vaddr;
362 if (reloc->r_symndx != -1)
364 if (reloc->r_symndx < 0 || reloc
[all...]
H A DMakefile.am36 format.lo init.lo libbfd.lo opncls.lo reloc.lo \
46 format.c init.c libbfd.c opncls.c reloc.c \
832 reloc.c syms.c bfd.c bfdio.c bfdwin.c \
836 cache.c reloc.c archures.c elf.c
913 reloc.lo: reloc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h
1152 $(INCDIR)/elf/reloc-macros.h elf32-target.h
1155 $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
1157 elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
1161 elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc
[all...]
H A Dcoff-i860.c46 reloc type to make any required adjustments. */
436 /* Turn a howto into a reloc number. */
453 /* Compute the addend of a reloc. If the reloc is to a common symbol,
469 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \
485 if (ptr && howto_table[reloc.r_type].pc_relative) \
489 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr)
635 /* Calculate any reloc addend by looking at the symbol. */
649 #define RELOC_PROCESSING(relent, reloc, symbols, abfd, section) \
650 i860_reloc_processing (relent, reloc, symbol
[all...]
H A Dsom.c115 unsigned char *reloc; member in struct:reloc_queue
763 /* These apparently are not in older versions of hpux reloc.h (hpux7). */
1079 queue[0].reloc = NULL;
1081 queue[1].reloc = NULL;
1083 queue[2].reloc = NULL;
1085 queue[3].reloc = NULL;
1097 queue[3].reloc = queue[2].reloc;
1099 queue[2].reloc = queue[1].reloc;
2654 arelent *reloc = section->orelocation[j]; local
[all...]
H A Dcoff-m68k.c119 /* Turn a howto into a reloc number */
257 reloc type to make any required adjustments. */
342 /* Compute the addend of a reloc. If the reloc is to a common symbol,
355 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \
371 if (ptr && (reloc.r_type == R_PCRBYTE \
372 || reloc.r_type == R_PCRWORD \
373 || reloc.r_type == R_PCRLONG)) \
475 reloc section. The longword will be the address in the data
483 *errmsg = _("unsupported reloc typ
[all...]
H A Dcoff64-rs6000.c780 /* Work out the size of the reloc and linno areas. */
1121 /* If we see an R_BR or R_RBR reloc which is jumping to global
1168 /* A PC relative reloc includes the section address. */
1252 if this reloc is against the TOC anchor. */
1286 /* Don't try to process the reloc. It can't help, and
1373 /* The XCOFF reloc table. Actually, XCOFF relocations specify the
1376 different algorithms for putting in the reloc. Many of these
1794 /* Special case some 16 bit reloc */
1811 /* The r_size field of an XCOFF reloc encodes the bitsize of the
2058 xcoff64_sizeof_headers (abfd, reloc)
2187 struct internal_reloc reloc; local
[all...]
H A Dcoff-sparc.c193 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \
194 cache_ptr->addend = reloc.r_offset;
H A Dmakefile.vms22 format.obj,init.obj,libbfd.obj,opncls.obj,reloc.obj,section.obj,syms.obj,\
H A Dvms.c131 PARAMS ((bfd *abfd, bfd_boolean reloc));
1352 /* How to process the various reloc types. */
1355 reloc_nil (abfd, reloc, sym, data, sec, output_bfd, error_message)
1357 arelent *reloc ATTRIBUTE_UNUSED;
1368 vms_debug (2, "reloc sym %s, addr %08lx, addend %08lx, reloc is a %s\n",
1369 reloc->sym_ptr_ptr[0]->name,
1370 (unsigned long)reloc->address,
1371 (unsigned long)reloc->addend, reloc
[all...]
/haiku-fatelf/src/bin/gdb/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 \
169 s-reloc: $(MKDOC) $(srcdir)/../reloc.c $(srcdir)/doc.str
170 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc
[all...]
/haiku-fatelf/src/bin/gdb/include/
H A Dbfdlink.h282 /* TRUE if non-PLT relocs should be merged into one reloc section
458 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value);
486 /* A function which is called when a reloc overflow occurs. NAME is
487 the name of the symbol or section the reloc is against,
496 /* A function which is called when a dangerous reloc is performed.
497 The canonical example is an a29k IHCONST reloc which does not
498 follow an IHIHALF reloc. MESSAGE is an appropriate message.
506 /* A function which is called when a reloc is found to be attached
509 the reloc; if this is the result of a
577 /* Description of reloc t
578 } reloc; member in union:bfd_link_order::__anon3904
597 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dppc-linux-tdep.c236 CORE_ADDR reloc; local
289 reloc = extract_unsigned_integer (buf, 4);
291 sect = find_pc_section (reloc);
296 return reloc;
300 if (target_read_memory (reloc + 4, buf, 4) != 0)

Completed in 221 milliseconds

123