Home
last modified time | relevance | path

Searched refs:abfd (Results 1 – 25 of 783) sorted by relevance

12345678910>>...32

/openbsd/gnu/usr.bin/binutils/bfd/
H A Dnlmcode.h56 (nlm_swap_fixed_header_in_func(abfd)) (abfd,src,dst)
58 (nlm_swap_fixed_header_out_func(abfd)) (abfd,src,dst)
96 bfd *abfd; in nlm_object_p()
226 bfd *abfd; in add_bfd_section()
252 bfd *abfd; in nlm_swap_variable_header_in()
318 bfd *abfd; in nlm_swap_variable_header_out()
326 abfd) != amt)
330 abfd) != amt)
350 abfd) != amt)
386 bfd *abfd; in nlm_swap_auxiliary_headers_in()
[all …]
H A Dcache.c102 abfd->lru_next = abfd; in insert()
103 abfd->lru_prev = abfd; in insert()
109 abfd->lru_prev->lru_next = abfd; in insert()
110 abfd->lru_next->lru_prev = abfd; in insert()
118 snip (bfd *abfd) in snip() argument
120 abfd->lru_prev->lru_next = abfd->lru_next; in snip()
121 abfd->lru_next->lru_prev = abfd->lru_prev; in snip()
180 snip (abfd); in bfd_cache_delete()
302 abfd->iostream = (PTR) fopen (abfd->filename, FOPEN_RUB); in bfd_open_file()
371 abfd = abfd->my_archive; in bfd_cache_lookup_worker()
[all …]
H A Dvms-tir.c90 bfd *abfd; in check_section()
118 bfd *abfd; in image_set_ptr()
136 bfd *abfd; in image_inc_ptr()
152 bfd *abfd; in image_dump()
175 bfd *abfd; in image_write_b()
193 bfd *abfd; in image_write_w()
213 bfd *abfd; in image_write_l()
233 bfd *abfd; in image_write_q()
308 bfd *abfd; in etir_sta()
423 bfd *abfd; in etir_sto()
[all …]
H A Di386os9k.c43 bfd *abfd; in os9k_swap_exec_header_in()
89 bfd *abfd;
116 bfd *abfd; in os9k_object_p()
151 bfd *abfd; in os9k_callback()
202 bfd *abfd;
232 exec_hdr (abfd)->a_text = obj_textsec (abfd)->_raw_size;
233 exec_hdr (abfd)->a_data = obj_datasec (abfd)->_raw_size;
234 exec_hdr (abfd)->a_bss = obj_bsssec (abfd)->_raw_size;
236 exec_hdr (abfd)->a_entry = bfd_get_start_address (abfd);
246 exec_hdr (abfd)->a_tload = obj_textsec (abfd)->vma;
[all …]
H A Dcoffswap.h238 bfd *abfd; in coff_swap_reloc_in()
256 bfd *abfd; in coff_swap_reloc_out()
280 bfd *abfd; in coff_swap_filehdr_in()
308 bfd *abfd; in coff_swap_filehdr_out()
339 bfd *abfd; in coff_swap_sym_in()
378 bfd *abfd; in coff_swap_sym_out()
427 bfd *abfd; in coff_swap_aux_in()
533 bfd *abfd; in coff_swap_aux_out()
629 bfd *abfd; in coff_swap_lineno_in()
642 bfd *abfd; in coff_swap_lineno_out()
[all …]
H A Dhp300hpux.c230 bfd *abfd;
242 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma;
243 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma;
244 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma;
289 bfd *abfd;
455 bfd *abfd;
539 bfd *abfd;
560 if (bfd_seek (abfd, obj_sym_filepos (abfd), SEEK_SET) != 0
645 bfd *abfd;
724 bfd *abfd;
[all …]
H A Dvms.c268 bfd *abfd; in vms_initialize()
330 bfd_release (abfd, abfd->tdata.any);
384 bfd *abfd; in vms_fixup_sections()
410 bfd *abfd; in vms_object_p()
553 bfd_release (abfd, abfd->tdata.any);
577 bfd *abfd; in vms_mkobject()
607 bfd *abfd; in vms_write_object_contents()
663 bfd *abfd; in vms_close_and_cleanup()
680 bfd_release (abfd, abfd->tdata.any);
701 bfd *abfd; in vms_new_section_hook()
[all …]
H A Dbfd.c514 if (abfd == NULL) in bfd_archive_filename()
517 if (abfd->my_archive) in bfd_archive_filename()
576 return BFD_SEND (abfd, _get_reloc_upper_bound, (abfd, asect)); in bfd_get_reloc_upper_bound()
670 if (bfd_read_p (abfd)) in bfd_set_file_flags()
863 if (! abfd) in _bfd_get_gp_value()
881 if (! abfd) in _bfd_set_gp_value()
889 elf_gp (abfd) = v; in _bfd_set_gp_value()
1146 abfd2 = abfd; in bfd_get_relocated_section_contents()
1149 abfd2 = abfd; in bfd_get_relocated_section_contents()
1205 get_elf_backend_data (abfd)->elf_backend_sprintf_vma (abfd, buf, value); in bfd_sprintf_vma()
[all …]
H A Decoffswap.h99 bfd *abfd; in ecoff_swap_hdr_in()
143 bfd *abfd; in ecoff_swap_hdr_out()
188 bfd *abfd; in ecoff_swap_fdr_in()
259 bfd *abfd; in ecoff_swap_fdr_out()
333 bfd *abfd; in ecoff_swap_pdr_in()
398 bfd *abfd; in ecoff_swap_pdr_out()
464 bfd *abfd; in ecoff_swap_pdr_in()
497 bfd *abfd; in ecoff_swap_pdr_out()
533 bfd *abfd; in ecoff_swap_sym_in()
590 bfd *abfd; in ecoff_swap_sym_out()
[all …]
H A Daout-adobe.c38 PARAMS ((bfd *abfd));
64 bfd *abfd; in aout_adobe_swap_exec_header_in()
89 bfd *abfd; in aout_adobe_swap_exec_header_out()
109 bfd *abfd; in aout_adobe_object_p()
153 bfd *abfd; in aout_adobe_callback()
283 bfd *abfd; in aout_adobe_mkobject()
306 bfd *abfd; in aout_adobe_write_object_contents()
343 exec_hdr (abfd)->a_syms = bfd_get_symcount (abfd)
345 exec_hdr (abfd)->a_entry = bfd_get_start_address (abfd);
416 bfd *abfd; in aout_adobe_set_section_contents()
[all …]
H A Dmmo.c491 bfd *abfd; in mmo_make_section()
543 bfd *abfd; in mmo_object_p()
611 bfd *abfd; in mmo_mkobject()
697 bfd *abfd; in mmo_decide_section()
813 bfd *abfd; in mmo_write_tetra_raw()
828 bfd *abfd; in mmo_write_tetra()
882 bfd_get_32 (abfd, abfd->tdata.mmo_data->buf));
923 bfd_get_32 (abfd, abfd->tdata.mmo_data->buf));
1212 && bfd_bread (abfd->tdata.mmo_data->buf, 4, abfd) != 4)
1239 && bfd_bwrite (abfd->tdata.mmo_data->buf, 4, abfd) != 4)
[all …]
H A Dbfdio.c120 abfd->where += get; in bfd_bread()
192 bfd_tell (bfd *abfd) in bfd_tell() argument
197 return abfd->where; in bfd_tell()
201 if (abfd->my_archive) in bfd_tell()
202 ptr -= abfd->origin; in bfd_tell()
203 abfd->where = ptr; in bfd_tell()
208 bfd_flush (bfd *abfd) in bfd_flush() argument
297 if (abfd->format != bfd_archive && abfd->my_archive == 0) in bfd_seek()
342 bfd_tell (abfd); in bfd_seek()
384 if (abfd->mtime_set) in bfd_get_mtime()
[all …]
H A Dnlmswap.h43 bfd *abfd; in nlm_swap_fixed_header_in()
51 H_GET_32 (abfd, src->version);
93 H_GET_32 (abfd, src->moduleType);
95 H_GET_32 (abfd, src->flags);
103 bfd *abfd; in nlm_swap_fixed_header_out()
111 H_PUT_32 (abfd, src->version,
115 H_PUT_32 (abfd, src->codeImageSize,
119 H_PUT_32 (abfd, src->dataImageSize,
139 H_PUT_32 (abfd, src->publicsOffset,
153 H_PUT_32 (abfd, src->moduleType,
[all …]
H A Dversados.c113 #define VDATA(abfd) (abfd->tdata.versados_data) argument
114 #define EDATA(abfd, n) (abfd->tdata.versados_data->e[n]) argument
178 bfd *abfd; in versados_mkobject()
201 bfd *abfd; in versados_new_symbol()
218 bfd *abfd; in get_record()
256 bfd *abfd; in new_symbol_string()
533 VDATA (abfd)->nrefs = VDATA (abfd)->ref_idx;
534 VDATA (abfd)->ndefs = VDATA (abfd)->def_idx;
538 abfd->symcount = VDATA (abfd)->nrefs + VDATA (abfd)->ndefs;
572 VDATA (abfd)->strings = bfd_alloc (abfd, amt);
[all …]
H A Dmach-o.c167 bfd *abfd; in bfd_mach_o_valid()
169 if (abfd == NULL || abfd->xvec == NULL)
226 bfd *abfd; in bfd_mach_o_count_symbols()
247 bfd *abfd; in bfd_mach_o_get_symtab_upper_bound()
259 bfd *abfd; in bfd_mach_o_canonicalize_symtab()
308 bfd *abfd; in bfd_mach_o_print_symbol()
363 bfd *abfd; in bfd_mach_o_write_contents()
1631 abfd->start_address = bfd_h_get_32 (abfd, buf);
1643 abfd->start_address = bfd_h_get_32 (abfd, buf);
1663 abfd->flags = (abfd->xvec->object_flags
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dnlmcode.h56 (nlm_swap_fixed_header_in_func (abfd)) (abfd, src, dst)
58 (nlm_swap_fixed_header_out_func (abfd)) (abfd, src, dst)
83 amt, abfd) != amt) in nlm_swap_variable_header_in()
576 abfd) != amt) in nlm_swap_variable_header_out()
580 abfd) != amt) in nlm_swap_variable_header_out()
598 abfd) != amt) in nlm_swap_variable_header_out()
604 abfd) != amt) in nlm_swap_variable_header_out()
613 abfd) != amt) in nlm_swap_variable_header_out()
656 put_word (abfd, (bfd_vma) nlm_version_header (abfd)->year, in nlm_swap_auxiliary_headers_out()
660 put_word (abfd, (bfd_vma) nlm_version_header (abfd)->day, in nlm_swap_auxiliary_headers_out()
[all …]
H A Dvms-tir.c96 image_dump (bfd * abfd, in image_dump() argument
449 image_write_q (abfd, q); in etir_sto()
1775 end_etir_record (bfd * abfd) in end_etir_record() argument
1808 end_etir_record (abfd); in sto_imm()
1852 section = abfd->sections; in _bfd_vms_write_tir()
1966 end_etir_record (abfd); in _bfd_vms_write_tir()
1983 end_etir_record (abfd); in _bfd_vms_write_tir()
2003 end_etir_record (abfd); in _bfd_vms_write_tir()
2034 end_etir_record (abfd); in _bfd_vms_write_tir()
2051 end_etir_record (abfd); in _bfd_vms_write_tir()
[all …]
H A Dcache.c81 insert (bfd *abfd) in insert() argument
85 abfd->lru_next = abfd; in insert()
86 abfd->lru_prev = abfd; in insert()
92 abfd->lru_prev->lru_next = abfd; in insert()
93 abfd->lru_next->lru_prev = abfd; in insert()
101 snip (bfd *abfd) in snip() argument
103 abfd->lru_prev->lru_next = abfd->lru_next; in snip()
104 abfd->lru_next->lru_prev = abfd->lru_prev; in snip()
128 snip (abfd); in bfd_cache_delete()
212 abfd = abfd->my_archive; in bfd_cache_lookup_worker()
[all …]
H A Dbfdio.c139 if (abfd->iovec) in bfd_bread()
140 nread = abfd->iovec->bread (abfd, ptr, size); in bfd_bread()
182 if (abfd->iovec) in bfd_bwrite()
183 nwrote = abfd->iovec->bwrite (abfd, ptr, size); in bfd_bwrite()
207 if (abfd->iovec) in bfd_tell()
209 ptr = abfd->iovec->btell (abfd); in bfd_tell()
228 return abfd->iovec->bflush (abfd); in bfd_flush()
243 result = abfd->iovec->bstat (abfd, statbuf); in bfd_stat()
311 if (abfd->format != bfd_archive && abfd->my_archive == 0) in bfd_seek()
392 if (abfd->iovec->bstat (abfd, &buf) != 0) in bfd_get_mtime()
[all …]
H A Dcoffswap.h32 #define GET_FCN_LNNOPTR(abfd, ext) \ argument
37 #define GET_FCN_ENDNDX(abfd, ext) \ argument
50 #define GET_LNSZ_LNNO(abfd, ext) \ argument
54 #define GET_LNSZ_SIZE(abfd, ext) \ argument
66 #define GET_SCN_SCNLEN(abfd, ext) \ argument
91 H_GET_16 (abfd, ext->l_lnno);
247 return bfd_coff_relsz (abfd); in coff_swap_reloc_out()
300 return bfd_coff_filhsz (abfd); in coff_swap_filehdr_out()
381 coff_swap_aux_in (bfd *abfd, in coff_swap_aux_in() argument
484 coff_swap_aux_out (bfd * abfd, in coff_swap_aux_out() argument
[all …]
H A Dhp300hpux.c230 bfd *abfd;
242 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma;
243 obj_datasec (abfd)->lma = obj_datasec (abfd)->vma;
244 obj_bsssec (abfd)->lma = obj_bsssec (abfd)->vma;
289 bfd *abfd;
455 bfd *abfd;
539 bfd *abfd;
560 if (bfd_seek (abfd, obj_sym_filepos (abfd), SEEK_SET) != 0
645 bfd *abfd;
724 bfd *abfd;
[all …]
H A Daout-adobe.c76 aout_adobe_callback (bfd *abfd) in aout_adobe_callback() argument
128 abfd, ext->e_type[0]); in aout_adobe_callback()
194 return abfd->xvec; in aout_adobe_callback()
283 exec_hdr (abfd)->a_text = 0; in aout_adobe_write_object_contents()
284 exec_hdr (abfd)->a_data = 0; in aout_adobe_write_object_contents()
307 exec_hdr (abfd)->a_syms = bfd_get_symcount (abfd) in aout_adobe_write_object_contents()
309 exec_hdr (abfd)->a_entry = bfd_get_start_address (abfd); in aout_adobe_write_object_contents()
311 aout_adobe_swap_exec_header_out (abfd, exec_hdr (abfd), &swapped_hdr); in aout_adobe_write_object_contents()
340 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (*exec_hdr (abfd))), SEEK_SET) in aout_adobe_write_object_contents()
347 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*exec_hdr (abfd))), SEEK_SET) in aout_adobe_write_object_contents()
[all …]
H A Dmmo.c532 bfd_get_filename (abfd), abfd->tdata.mmo_data->max_symbol_length); in mmo_object_p()
803 bfd_get_32 (abfd, abfd->tdata.mmo_data->buf)); in mmo_write_chunk()
843 bfd_get_32 (abfd, abfd->tdata.mmo_data->buf)); in mmo_flush_chunk()
1118 && bfd_bread (abfd->tdata.mmo_data->buf, 4, abfd) != 4) in mmo_get_byte()
1128 retval = abfd->tdata.mmo_data->buf[abfd->tdata.mmo_data->byte_no]; in mmo_get_byte()
1143 && bfd_bwrite (abfd->tdata.mmo_data->buf, 4, abfd) != 4) in mmo_write_byte()
1823 abfd) != 4) in mmo_scan()
2248 if (bfd_bwrite (abfd->tdata.mmo_data->created, 4, abfd) != 4) in mmo_internal_write_header()
2277 bfd_put_64 (abfd, bfd_get_start_address (abfd), buf); in mmo_internal_write_post()
2562 mmo_write_octa (abfd, bfd_get_section_vma (abfd, sec)); in mmo_write_section_description()
[all …]
H A Dbfd.c486 if (abfd->my_archive) in _bfd_default_error_handler()
488 abfd->my_archive->filename, abfd->filename); in _bfd_default_error_handler()
499 if (abfd != NULL in _bfd_default_error_handler()
663 return BFD_SEND (abfd, _get_reloc_upper_bound, (abfd, asect)); in bfd_get_reloc_upper_bound()
757 if (bfd_read_p (abfd)) in bfd_set_file_flags()
948 if (! abfd) in _bfd_get_gp_value()
966 if (! abfd) in _bfd_set_gp_value()
974 elf_gp (abfd) = v; in _bfd_set_gp_value()
1269 abfd2 = abfd; in bfd_get_relocated_section_contents()
1272 abfd2 = abfd; in bfd_get_relocated_section_contents()
[all …]
H A Dvms.c45 vms_initialize (bfd * abfd) in vms_initialize() argument
53 abfd->tdata.any = bfd_alloc (abfd, amt); in vms_initialize()
108 bfd_release (abfd, abfd->tdata.any); in vms_initialize()
109 abfd->tdata.any = NULL; in vms_initialize()
176 vms_object_p (bfd * abfd) in vms_object_p() argument
311 abfd->arch_info = arch; in vms_object_p()
318 if (abfd->tdata.any != tdata_save && abfd->tdata.any != NULL) in vms_object_p()
319 bfd_release (abfd, abfd->tdata.any); in vms_object_p()
430 if (abfd == NULL) in vms_close_and_cleanup()
442 bfd_release (abfd, abfd->tdata.any); in vms_close_and_cleanup()
[all …]

12345678910>>...32