Home
last modified time | relevance | path

Searched refs:cache_ptr (Results 1 – 25 of 93) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/bfd/
Di386lynx.c288 cache_ptr->sym_ptr_ptr = symbols + r_index; \
289 cache_ptr->addend = ad; \
298 cache_ptr->sym_ptr_ptr = obj_textsec(abfd)->symbol_ptr_ptr; \
299 cache_ptr->addend = ad - su->textsec->vma; \
303 cache_ptr->sym_ptr_ptr = obj_datasec(abfd)->symbol_ptr_ptr; \
304 cache_ptr->addend = ad - su->datasec->vma; \
308 cache_ptr->sym_ptr_ptr = obj_bsssec(abfd)->symbol_ptr_ptr; \
309 cache_ptr->addend = ad - su->bsssec->vma; \
314 cache_ptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; \
315 cache_ptr->addend = ad; \
[all …]
Dhp300hpux.c350 aout_symbol_type *cache_ptr, in convert_sym_type() argument
356 name_type = (cache_ptr->type); in convert_sym_type()
413 if (cache_ptr->symbol.value == 0) in convert_sym_type()
431 cache_ptr->type = new_type; in convert_sym_type()
580 aout_symbol_type *cache_ptr = cached; in MY() local
582 for (sym_pointer = syms, cache_ptr = cached; in MY()
583 sym_pointer < sym_end; sym_pointer++, cache_ptr++) in MY()
586 cache_ptr->symbol.the_bfd = abfd; in MY()
587 cache_ptr->symbol.value = GET_SWORD (abfd, sym_pointer->e_value); in MY()
588 cache_ptr->desc = bfd_get_16 (abfd, sym_pointer->e_almod); in MY()
[all …]
Dcoff-i860.c446 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
447 ((cache_ptr)->howto = \
470 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) argument
581 i860_reloc_processing (arelent *cache_ptr, struct internal_reloc *dst, in i860_reloc_processing() argument
587 cache_ptr->howto = howto_table + dst->r_type; in i860_reloc_processing()
588 cache_ptr->address = dst->r_vaddr; in i860_reloc_processing()
589 cache_ptr->addend = dst->r_symndx; in i860_reloc_processing()
590 cache_ptr->sym_ptr_ptr= bfd_abs_section_ptr->symbol_ptr_ptr; in i860_reloc_processing()
597 cache_ptr->address = dst->r_vaddr; in i860_reloc_processing()
606 cache_ptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in i860_reloc_processing()
[all …]
Dbout.c675 arelent *cache_ptr; in b_out_slurp_reloc_table() local
749 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0; in b_out_slurp_reloc_table()
751 counter++, rptr++, cache_ptr++) in b_out_slurp_reloc_table()
756 cache_ptr->address = H_GET_32 (abfd, raw + 0); in b_out_slurp_reloc_table()
757 cache_ptr->howto = 0; in b_out_slurp_reloc_table()
770 cache_ptr->sym_ptr_ptr = symbols + symnum; in b_out_slurp_reloc_table()
771 cache_ptr->addend = 0; in b_out_slurp_reloc_table()
788 cache_ptr->sym_ptr_ptr = (asymbol **)NULL; in b_out_slurp_reloc_table()
793 cache_ptr->sym_ptr_ptr = obj_textsec (abfd)->symbol_ptr_ptr; in b_out_slurp_reloc_table()
794 cache_ptr->addend = - obj_textsec (abfd)->vma; in b_out_slurp_reloc_table()
[all …]
Daoutx.h1386 translate_from_native_sym_flags (bfd *abfd, aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument
1390 if ((cache_ptr->type & N_STAB) != 0 in translate_from_native_sym_flags()
1391 || cache_ptr->type == N_FN) in translate_from_native_sym_flags()
1396 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags()
1399 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags()
1417 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags()
1418 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags()
1425 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags()
1430 switch (cache_ptr->type) in translate_from_native_sym_flags()
1434 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags()
[all …]
Dcoff-i386.c351 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
352 ((cache_ptr)->howto = \
375 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
380 + (cache_ptr->sym_ptr_ptr - symbols)); \
385 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
388 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
390 cache_ptr->addend = 0; \
393 cache_ptr->addend += asect->vma; \
Dcoff-x86_64.c459 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
460 ((cache_ptr)->howto = \
483 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
489 + (cache_ptr->sym_ptr_ptr - symbols)); \
495 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
498 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
500 cache_ptr->addend = 0; \
503 cache_ptr->addend += asect->vma; \
Dpdp11.c1270 aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument
1274 if (cache_ptr->type == N_FN) in translate_from_native_sym_flags()
1279 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags()
1282 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags()
1300 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags()
1301 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags()
1308 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags()
1313 switch (cache_ptr->type) in translate_from_native_sym_flags()
1317 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags()
1318 cache_ptr->symbol.flags = visible; in translate_from_native_sym_flags()
[all …]
Dcoff-m88k.c230 rtype2howto (arelent *cache_ptr, struct internal_reloc *dst) in rtype2howto() argument
234 cache_ptr->howto = howto_table + dst->r_type - R_PCR16L; in rtype2howto()
242 #define RTYPE2HOWTO(cache_ptr, dst) rtype2howto (cache_ptr, dst) argument
Dcoff-i960.c65 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
70 + (cache_ptr->sym_ptr_ptr - symbols)); \
75 cache_ptr->addend = 0; \
78 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
80 cache_ptr->addend = 0; \
82 cache_ptr->addend += asect->vma; \
297 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
306 (cache_ptr)->howto = howto_ptr; \
Delf32-i960.c121 arelent * cache_ptr ATTRIBUTE_UNUSED, in elf32_i960_info_to_howto()
129 arelent *cache_ptr, in elf32_i960_info_to_howto_rel() argument
137 cache_ptr->howto = &elf_howto_table[(int) type]; in elf32_i960_info_to_howto_rel()
Dcoff-m68k.c355 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
360 + (cache_ptr->sym_ptr_ptr - symbols)); \
365 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
368 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
370 cache_ptr->addend = 0; \
374 cache_ptr->addend += asect->vma; \
Dpe-mips.c352 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
353 (cache_ptr)->howto = howto_table + (dst)->r_type;
368 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
373 + (cache_ptr->sym_ptr_ptr - symbols)); \
378 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
381 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
383 cache_ptr->addend = 0; \
386 cache_ptr->addend += asect->vma; \
Dcoff-sparc.c170 rtype2howto (arelent *cache_ptr, struct internal_reloc *dst) in rtype2howto() argument
173 cache_ptr->howto = &coff_sparc_howto_table[dst->r_type]; in rtype2howto()
180 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
181 cache_ptr->addend = reloc.r_offset;
Dcoff-we32k.c62 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
63 (cache_ptr)->howto = howto_table + (dst)->r_type;
Daout-cris.c221 arelent *cache_ptr, in MY()
230 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); in MY()
248 cache_ptr->howto = howto_table_ext + r_type; in MY()
Dcoff-tic80.c426 rtype2howto (arelent *cache_ptr, struct internal_reloc *dst) in rtype2howto() argument
434 cache_ptr->howto = tic80_howto_table + i; in rtype2howto()
441 cache_ptr->howto = tic80_howto_table + 0; in rtype2howto()
444 #define RTYPE2HOWTO(cache_ptr, dst) rtype2howto (cache_ptr, dst) argument
Delf32-d30v.c513 arelent *cache_ptr, in d30v_info_to_howto_rel() argument
520 cache_ptr->howto = &elf_d30v_howto_table[r_type]; in d30v_info_to_howto_rel()
527 arelent *cache_ptr, in d30v_info_to_howto_rela() argument
534 cache_ptr->howto = &elf_d30v_howto_table[r_type]; in d30v_info_to_howto_rela()
Dcoffcode.h4523 alent *cache_ptr; in coff_slurp_line_table() local
4547 cache_ptr = lineno_cache; in coff_slurp_line_table()
4558 cache_ptr->line_number = dst.l_lnno; in coff_slurp_line_table()
4562 memset (&cache_ptr->u, 0, sizeof (cache_ptr->u)); in coff_slurp_line_table()
4564 if (cache_ptr->line_number == 0) in coff_slurp_line_table()
4577 cache_ptr->line_number = -1; in coff_slurp_line_table()
4589 cache_ptr->line_number = -1; in coff_slurp_line_table()
4601 cache_ptr->line_number = -1; in coff_slurp_line_table()
4607 cache_ptr->u.sym = (asymbol *) sym; in coff_slurp_line_table()
4613 sym->lineno = cache_ptr; in coff_slurp_line_table()
[all …]
Dcoff-ia64.c49 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
50 (cache_ptr)->howto = howto_table + (dst)->r_type;
Delf32-arc.c169 arelent *cache_ptr, in arc_info_to_howto_rel() argument
176 cache_ptr->howto = &elf_arc_howto_table[r_type]; in arc_info_to_howto_rel()
Daout-ns32k.c270 arelent *cache_ptr, in MY_swap_std_reloc_in() argument
279 cache_ptr->address = H_GET_32 (abfd, bytes->r_address); in MY_swap_std_reloc_in()
282 cache_ptr->howto = MY_reloc_howto (abfd, bytes, r_index, r_extern, r_pcrel); in MY_swap_std_reloc_in()
Dcoff-tic30.c148 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \ argument
149 cache_ptr->addend = ext_reloc.r_offset;
Delf32-dlx.c556 arelent * cache_ptr ATTRIBUTE_UNUSED, in elf32_dlx_info_to_howto()
564 arelent *cache_ptr, in elf32_dlx_info_to_howto_rel() argument
570 cache_ptr->howto = dlx_rtype_to_howto (r_type); in elf32_dlx_info_to_howto_rel()
Delf32-pj.c315 arelent *cache_ptr, in pj_elf_info_to_howto() argument
324 cache_ptr->howto = &pj_elf_howto_table[r]; in pj_elf_info_to_howto()

1234