| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | coff-i860.c | 442 #define RTYPE2HOWTO(cache_ptr, dst) \ argument 443 ((cache_ptr)->howto = \ 469 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ 474 + (cache_ptr->sym_ptr_ptr - symbols)); \ 479 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 482 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 484 cache_ptr->addend = 0; \ 486 cache_ptr->addend += asect->vma; \ 489 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) argument 587 i860_reloc_processing (arelent *cache_ptr, struct internal_reloc *dst, in i860_reloc_processing() argument [all …]
|
| H A D | i386lynx.c | 311 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 …]
|
| H A D | hp300hpux.c | 359 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 …]
|
| H A D | elf32-i960.c | 31 PARAMS ((bfd *, arelent *cache_ptr, Elf_Internal_Rela *)); 77 elf32_i960_info_to_howto (abfd, cache_ptr, dst) in elf32_i960_info_to_howto() argument 79 arelent *cache_ptr ATTRIBUTE_UNUSED; 86 elf32_i960_info_to_howto_rel (abfd, cache_ptr, dst) in elf32_i960_info_to_howto_rel() argument 88 arelent *cache_ptr; 96 cache_ptr->howto = &elf_howto_table[(int) type];
|
| H A D | aoutx.h | 1411 translate_from_native_sym_flags (abfd, cache_ptr) in translate_from_native_sym_flags() argument 1413 aout_symbol_type *cache_ptr; 1417 if ((cache_ptr->type & N_STAB) != 0 1418 || cache_ptr->type == N_FN) 1423 cache_ptr->symbol.flags = BSF_DEBUGGING; 1426 switch (cache_ptr->type & N_TYPE) 1444 cache_ptr->symbol.section = sec; 1445 cache_ptr->symbol.value -= sec->vma; 1452 if ((cache_ptr->type & N_EXT) == 0) 1457 switch (cache_ptr->type) [all …]
|
| H A D | bout.c | 559 arelent *cache_ptr; local 643 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0; 645 counter++, rptr++, cache_ptr++) 650 cache_ptr->address = H_GET_32 (abfd, raw + 0); 651 cache_ptr->howto = 0; 664 cache_ptr->sym_ptr_ptr = symbols + symnum; 665 cache_ptr->addend = 0; 682 cache_ptr->sym_ptr_ptr = (asymbol **)NULL; 687 cache_ptr->sym_ptr_ptr = obj_textsec (abfd)->symbol_ptr_ptr; 688 cache_ptr->addend = - obj_textsec (abfd)->vma; [all …]
|
| H A D | coff-m88k.c | 239 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
|
| H A D | coff-i386.c | 333 #define RTYPE2HOWTO(cache_ptr, dst) \ argument 334 ((cache_ptr)->howto = \ 357 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument 362 + (cache_ptr->sym_ptr_ptr - symbols)); \ 367 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 370 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 372 cache_ptr->addend = 0; \ 374 cache_ptr->addend += asect->vma; \
|
| H A D | coff-x86_64.c | 450 #define RTYPE2HOWTO(cache_ptr, dst) \ argument 451 ((cache_ptr)->howto = \ 474 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument 480 + (cache_ptr->sym_ptr_ptr - symbols)); \ 486 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 489 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 491 cache_ptr->addend = 0; \ 493 cache_ptr->addend += asect->vma; \
|
| H A D | coff-sparc.c | 181 rtype2howto (cache_ptr, dst) in rtype2howto() argument 182 arelent *cache_ptr; in rtype2howto() 186 cache_ptr->howto = &coff_sparc_howto_table[dst->r_type]; 193 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument 194 cache_ptr->addend = reloc.r_offset;
|
| H A D | pdp11.c | 1562 translate_from_native_sym_flags (abfd, cache_ptr) in translate_from_native_sym_flags() argument 1564 aout_symbol_type *cache_ptr; 1568 if (cache_ptr->type == N_FN) 1574 cache_ptr->symbol.flags = BSF_DEBUGGING; 1577 switch (cache_ptr->type & N_TYPE) 1595 cache_ptr->symbol.section = sec; 1596 cache_ptr->symbol.value -= sec->vma; 1603 if ((cache_ptr->type & N_EXT) == 0) 1608 switch (cache_ptr->type) 1612 cache_ptr->symbol.section = bfd_abs_section_ptr; [all …]
|
| H A D | aout-cris.c | 227 MY(swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) 230 arelent *cache_ptr; variable 239 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); 257 cache_ptr->howto = howto_table_ext + r_type;
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | i386lynx.c | 311 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 …]
|
| H A D | hp300hpux.c | 359 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 …]
|
| H A D | coff-i860.c | 442 #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 …]
|
| H A D | bout.c | 661 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 …]
|
| H A D | aoutx.h | 1358 translate_from_native_sym_flags (bfd *abfd, aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument 1362 if ((cache_ptr->type & N_STAB) != 0 in translate_from_native_sym_flags() 1363 || cache_ptr->type == N_FN) in translate_from_native_sym_flags() 1368 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags() 1371 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags() 1389 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags() 1390 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags() 1397 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags() 1402 switch (cache_ptr->type) in translate_from_native_sym_flags() 1406 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags() [all …]
|
| H A D | coff-m88k.c | 239 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
|
| H A D | coff-i386.c | 352 #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; \
|
| H A D | coff-x86_64.c | 450 #define RTYPE2HOWTO(cache_ptr, dst) \ argument 451 ((cache_ptr)->howto = \ 474 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument 480 + (cache_ptr->sym_ptr_ptr - symbols)); \ 486 cache_ptr->addend = - coffsym->native->u.syment.n_value; \ 489 cache_ptr->addend = - (ptr->section->vma + ptr->value); \ 491 cache_ptr->addend = 0; \ 493 cache_ptr->addend += asect->vma; \
|
| H A D | coff-sparc.c | 162 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;
|
| H A D | pdp11.c | 1274 aout_symbol_type *cache_ptr) in translate_from_native_sym_flags() argument 1278 if (cache_ptr->type == N_FN) in translate_from_native_sym_flags() 1283 cache_ptr->symbol.flags = BSF_DEBUGGING; in translate_from_native_sym_flags() 1286 switch (cache_ptr->type & N_TYPE) in translate_from_native_sym_flags() 1304 cache_ptr->symbol.section = sec; in translate_from_native_sym_flags() 1305 cache_ptr->symbol.value -= sec->vma; in translate_from_native_sym_flags() 1312 if ((cache_ptr->type & N_EXT) == 0) in translate_from_native_sym_flags() 1317 switch (cache_ptr->type) in translate_from_native_sym_flags() 1321 cache_ptr->symbol.section = bfd_abs_section_ptr; in translate_from_native_sym_flags() 1322 cache_ptr->symbol.flags = visible; in translate_from_native_sym_flags() [all …]
|
| H A D | elf32-i960.c | 119 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()
|
| H A D | coff-tic80.c | 51 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
|
| /openbsd-src/lib/libc/rpc/ |
| H A D | svc_udp.c | 279 typedef struct cache_node *cache_ptr; typedef 297 cache_ptr cache_next; 305 cache_ptr *uc_entries; /* hash table of entries in cache */ 306 cache_ptr *uc_fifo; /* fifo list of entries in cache */ 339 if (size > SIZE_MAX / (sizeof(cache_ptr) * SPARSENESS) || in svcudp_enablecache() 340 (uc->uc_entries = calloc(size, sizeof(cache_ptr) * SPARSENESS)) == NULL) { in svcudp_enablecache() 344 uc->uc_fifo = calloc(sizeof(cache_ptr), size); in svcudp_enablecache() 361 cache_ptr victim; in cache_set() 362 cache_ptr *vicp; in cache_set() 423 cache_ptr ent; in cache_get()
|