Home
last modified time | relevance | path

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

1234

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Di386lynx.c311 cache_ptr->sym_ptr_ptr = symbols + r_index; \
312 cache_ptr->addend = ad; \
319 cache_ptr->sym_ptr_ptr = obj_textsec(abfd)->symbol_ptr_ptr; \
320 cache_ptr->addend = ad - su->textsec->vma; \
324 cache_ptr->sym_ptr_ptr = obj_datasec(abfd)->symbol_ptr_ptr; \
325 cache_ptr->addend = ad - su->datasec->vma; \
329 cache_ptr->sym_ptr_ptr = obj_bsssec(abfd)->symbol_ptr_ptr; \
330 cache_ptr->addend = ad - su->bsssec->vma; \
335 cache_ptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; \
336 cache_ptr->addend = ad; \
[all …]
Dhp300hpux.c359 convert_sym_type (sym_pointer, cache_ptr, abfd) in convert_sym_type() argument
361 aout_symbol_type *cache_ptr;
367 name_type = (cache_ptr->type);
424 if (cache_ptr->symbol.value == 0)
442 cache_ptr->type = new_type;
593 aout_symbol_type *cache_ptr = cached; variable
596 for (sym_pointer = syms, cache_ptr = cached;
597 sym_pointer < sym_end; sym_pointer++, cache_ptr++)
600 cache_ptr->symbol.the_bfd = abfd;
601 cache_ptr->symbol.value = GET_SWORD (abfd, sym_pointer->e_value);
[all …]
Dcoff-i860.c442 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
443 ((cache_ptr)->howto = \
466 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) argument
563 i860_reloc_processing (arelent *cache_ptr, struct internal_reloc *dst, in i860_reloc_processing() argument
569 cache_ptr->howto = howto_table + dst->r_type; in i860_reloc_processing()
570 cache_ptr->address = dst->r_vaddr; in i860_reloc_processing()
571 cache_ptr->addend = dst->r_symndx; in i860_reloc_processing()
572 cache_ptr->sym_ptr_ptr= bfd_abs_section_ptr->symbol_ptr_ptr; in i860_reloc_processing()
579 cache_ptr->address = dst->r_vaddr; in i860_reloc_processing()
588 cache_ptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in i860_reloc_processing()
[all …]
Dbout.c661 arelent *cache_ptr; in b_out_slurp_reloc_table() local
735 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0; in b_out_slurp_reloc_table()
737 counter++, rptr++, cache_ptr++) in b_out_slurp_reloc_table()
742 cache_ptr->address = H_GET_32 (abfd, raw + 0); in b_out_slurp_reloc_table()
743 cache_ptr->howto = 0; in b_out_slurp_reloc_table()
756 cache_ptr->sym_ptr_ptr = symbols + symnum; in b_out_slurp_reloc_table()
757 cache_ptr->addend = 0; in b_out_slurp_reloc_table()
774 cache_ptr->sym_ptr_ptr = (asymbol **)NULL; in b_out_slurp_reloc_table()
779 cache_ptr->sym_ptr_ptr = obj_textsec (abfd)->symbol_ptr_ptr; in b_out_slurp_reloc_table()
780 cache_ptr->addend = - obj_textsec (abfd)->vma; in b_out_slurp_reloc_table()
[all …]
Daoutx.h1363 translate_from_native_sym_flags (bfd *abfd, aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument
1367 if ((cache_ptr->type & N_STAB) != 0 in translate_from_native_sym_flags()
1368 || cache_ptr->type == N_FN) in translate_from_native_sym_flags()
1373 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags()
1376 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags()
1394 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags()
1395 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags()
1402 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags()
1407 switch (cache_ptr->type) in translate_from_native_sym_flags()
1411 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags()
[all …]
Dcoff-m88k.c239 rtype2howto (cache_ptr, dst) in rtype2howto() argument
240 arelent *cache_ptr; in rtype2howto()
245 cache_ptr->howto = howto_table + dst->r_type - R_PCR16L;
253 #define RTYPE2HOWTO(cache_ptr, dst) rtype2howto (cache_ptr, dst) argument
Dcoff-i386.c352 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
353 ((cache_ptr)->howto = \
376 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
381 + (cache_ptr->sym_ptr_ptr - symbols)); \
386 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
389 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
391 cache_ptr->addend = 0; \
393 cache_ptr->addend += asect->vma; \
Dpdp11.c1277 aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument
1281 if (cache_ptr->type == N_FN) in translate_from_native_sym_flags()
1286 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags()
1289 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags()
1307 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags()
1308 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags()
1315 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags()
1320 switch (cache_ptr->type) in translate_from_native_sym_flags()
1324 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags()
1325 cache_ptr->symbol.flags = visible; in translate_from_native_sym_flags()
[all …]
Dcoff-sparc.c162 rtype2howto (cache_ptr, dst) in rtype2howto() argument
163 arelent *cache_ptr; in rtype2howto()
167 cache_ptr->howto = &coff_sparc_howto_table[dst->r_type];
174 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
175 cache_ptr->addend = reloc.r_offset;
Dcoff-tic80.c51 PARAMS ((arelent *cache_ptr, struct internal_reloc *dst));
443 rtype2howto (cache_ptr, dst) in rtype2howto() argument
444 arelent *cache_ptr; in rtype2howto()
453 cache_ptr->howto = tic80_howto_table + i;
460 cache_ptr->howto = tic80_howto_table + 0;
463 #define RTYPE2HOWTO(cache_ptr, dst) rtype2howto (cache_ptr, dst) argument
Delf32-i960.c119 arelent * cache_ptr ATTRIBUTE_UNUSED, in elf32_i960_info_to_howto()
127 arelent *cache_ptr, in elf32_i960_info_to_howto_rel() argument
135 cache_ptr->howto = &elf_howto_table[(int) type]; in elf32_i960_info_to_howto_rel()
Dcoff-i960.c78 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
83 + (cache_ptr->sym_ptr_ptr - symbols)); \
88 cache_ptr->addend = 0; \
91 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
93 cache_ptr->addend = 0; \
95 cache_ptr->addend += asect->vma; \
301 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
310 (cache_ptr)->howto = howto_ptr; \
Dcoff-m68k.c354 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
359 + (cache_ptr->sym_ptr_ptr - symbols)); \
364 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
367 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
369 cache_ptr->addend = 0; \
373 cache_ptr->addend += asect->vma; \
Dpe-mips.c344 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
345 (cache_ptr)->howto = howto_table + (dst)->r_type;
360 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
365 + (cache_ptr->sym_ptr_ptr - symbols)); \
370 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
373 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
375 cache_ptr->addend = 0; \
377 cache_ptr->addend += asect->vma; \
Dcoff-we32k.c62 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
63 (cache_ptr)->howto = howto_table + (dst)->r_type;
Daout-cris.c224 arelent *cache_ptr, in MY()
233 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); in MY()
251 cache_ptr->howto = howto_table_ext + r_type; in MY()
Dcoff-maxq.c37 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
38 ((cache_ptr)->howto = \
442 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \ argument
443 cache_ptr->addend = ext_reloc.r_offset;
Delf32-d30v.c498 arelent *cache_ptr, in d30v_info_to_howto_rel() argument
505 cache_ptr->howto = &elf_d30v_howto_table[r_type]; in d30v_info_to_howto_rel()
512 arelent *cache_ptr, in d30v_info_to_howto_rela() argument
519 cache_ptr->howto = &elf_d30v_howto_table[r_type]; in d30v_info_to_howto_rela()
Delf32-arc.c154 arelent *cache_ptr, in arc_info_to_howto_rel() argument
161 cache_ptr->howto = &elf_arc_howto_table[r_type]; in arc_info_to_howto_rel()
Dcoffcode.h4248 alent *cache_ptr = lineno_cache; in coff_slurp_line_table() local
4256 cache_ptr->line_number = dst.l_lnno; in coff_slurp_line_table()
4258 if (cache_ptr->line_number == 0) in coff_slurp_line_table()
4280 cache_ptr->u.sym = (asymbol *) sym; in coff_slurp_line_table()
4287 sym->lineno = cache_ptr; in coff_slurp_line_table()
4290 cache_ptr->u.offset = dst.l_addr.l_paddr in coff_slurp_line_table()
4293 cache_ptr++; in coff_slurp_line_table()
4297 cache_ptr->line_number = 0; in coff_slurp_line_table()
4790 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
4796 + (cache_ptr->sym_ptr_ptr - symbols)); \
[all …]
Dcoff-ia64.c48 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
49 (cache_ptr)->howto = howto_table + (dst)->r_type;
Daout-ns32k.c252 arelent *cache_ptr, in MY_swap_std_reloc_in() argument
261 cache_ptr->address = H_GET_32 (abfd, bytes->r_address); in MY_swap_std_reloc_in()
264 cache_ptr->howto = MY_reloc_howto (abfd, bytes, r_index, r_extern, r_pcrel); in MY_swap_std_reloc_in()
Dxcoff-target.h41 #define RTYPE2HOWTO(cache_ptr, dst) _bfd_xcoff_rtype2howto (cache_ptr, dst) argument
Delf32-dlx.c535 arelent * cache_ptr ATTRIBUTE_UNUSED, in elf32_dlx_info_to_howto()
543 arelent *cache_ptr, in elf32_dlx_info_to_howto_rel() argument
549 cache_ptr->howto = dlx_rtype_to_howto (r_type); in elf32_dlx_info_to_howto_rel()
/mirbsd/src/lib/libc/rpc/
Dsvc_udp.c305 typedef struct cache_node *cache_ptr; typedef
323 cache_ptr cache_next;
331 cache_ptr *uc_entries; /* hash table of entries in cache */
332 cache_ptr *uc_fifo; /* fifo list of entries in cache */
369 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); in svcudp_enablecache()
375 BZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); in svcudp_enablecache()
376 uc->uc_fifo = ALLOC(cache_ptr, size); in svcudp_enablecache()
383 BZERO(uc->uc_fifo, cache_ptr, size); in svcudp_enablecache()
395 cache_ptr victim; in cache_set()
396 cache_ptr *vicp; in cache_set()
[all …]

1234