Searched refs:abfd (Results 76 - 100 of 307) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/gdb/bfd/
H A Dcoff-ia64.c58 in_reloc_p(abfd, howto)
59 bfd * abfd ATTRIBUTE_UNUSED;
71 ia64coff_object_p (abfd)
72 bfd *abfd;
80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
81 || (bfd_bread (&dos_hdr, (bfd_size_type) sizeof (dos_hdr), abfd)
99 if (H_GET_16 (abfd, dos_hdr.e_magic) != DOSMAGIC)
105 offset = H_GET_32 (abfd, dos_hdr.e_lfanew);
106 if (bfd_seek (abfd, offset, SEEK_SET) != 0
107 || (bfd_bread (&image_hdr, (bfd_size_type) sizeof (image_hdr), abfd)
[all...]
H A Dxsym.c100 bfd_sym_mkobject (abfd)
101 bfd *abfd ATTRIBUTE_UNUSED;
107 bfd_sym_print_symbol (abfd, afile, symbol, how)
108 bfd *abfd ATTRIBUTE_UNUSED;
117 bfd_sym_valid (abfd)
118 bfd *abfd;
120 if (abfd == NULL || abfd->xvec == NULL)
123 return abfd->xvec == &sym_vec;
127 bfd_sym_read_name_table (abfd, dsh
[all...]
H A Dnlm32-sparc.c123 nlm_sparc_read_reloc (abfd, sym, secp, rel)
124 bfd *abfd;
135 if (bfd_bread (&tmp_reloc, (bfd_size_type) 12, abfd) != 12)
138 code_sec = bfd_get_section_by_name (abfd, NLM_CODE_NAME);
139 data_sec = bfd_get_section_by_name (abfd, NLM_INITIALIZED_DATA_NAME);
143 val = bfd_get_32 (abfd, tmp_reloc.offset);
144 addend = bfd_get_32 (abfd, tmp_reloc.addend);
145 type = bfd_get_8 (abfd, tmp_reloc.type);
171 nlm_sparc_write_reloc (abfd, sec, rel)
172 bfd *abfd;
[all...]
H A Delf32-arc.c30 PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
126 bfd_elf32_bfd_reloc_type_lookup (abfd, code)
127 bfd *abfd ATTRIBUTE_UNUSED;
142 arc_info_to_howto_rel (abfd, cache_ptr, dst)
143 bfd *abfd ATTRIBUTE_UNUSED;
157 arc_elf_object_p (abfd)
158 bfd *abfd;
162 if (elf_elfheader(abfd)->e_machine == EM_ARC)
164 unsigned long arch = elf_elfheader (abfd)->e_flags & EF_ARC_MACH;
183 return bfd_default_set_arch_mach (abfd, bfd_arch_ar
[all...]
H A Dnetbsd.h67 static bfd_boolean MY(write_object_contents) PARAMS ((bfd *abfd));
77 MY(write_object_contents) (abfd)
78 bfd *abfd; variable
81 struct internal_exec *execp = exec_hdr (abfd);
86 if (! abfd->output_has_begun)
91 NAME(aout,adjust_sizes_and_vmas) (abfd, &text_size, &text_end);
94 obj_reloc_entry_size (abfd) = RELOC_STD_SIZE; variable
97 switch (bfd_get_arch(abfd)) {
115 WRITE_HEADERS(abfd, execp);
H A Dbfd-in2.h172 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
291 bfd *abfd;
506 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
507 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
508 #define bfd_get_format(abfd) ((abfd)->format)
509 #define bfd_get_target(abfd) ((abf
289 bfd *abfd; member in union:orl::__anon3551
[all...]
H A Dlibcoff.h178 #define xcoff_data(abfd) ((abfd)->tdata.xcoff_obj_data)
211 #define coff_section_data(abfd, sec) \
231 #define xcoff_section_data(abfd, sec) \
232 ((struct xcoff_section_tdata *) coff_section_data ((abfd), (sec))->tdata)
245 #define pei_section_data(abfd, sec) \
246 ((struct pei_section_tdata *) coff_section_data ((abfd), (sec))->tdata)
732 PARAMS ((bfd *abfd, PTR, PTR));
806 #define coff_backend_info(abfd) \
807 ((bfd_coff_backend_data *) (abfd)
[all...]
H A Di386msdos.c67 msdos_sizeof_headers (abfd, exec)
68 bfd *abfd ATTRIBUTE_UNUSED;
75 msdos_write_object_contents (abfd)
76 bfd *abfd;
84 for (sec = abfd->sections; sec != (asection *) NULL; sec = sec->next)
88 if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC)
90 bfd_vma sec_vma = bfd_get_section_vma (abfd, sec) + sec->size;
94 if (bfd_get_section_flags (abfd, sec) & SEC_LOAD)
97 + bfd_get_section_vma (abfd, sec)
112 H_PUT_16 (abfd, EXE_MAGI
[all...]
H A Ddwarf2.c133 bfd* abfd; member in struct:comp_unit
210 read_1_byte (bfd *abfd ATTRIBUTE_UNUSED, char *buf)
212 return bfd_get_8 (abfd, buf);
216 read_1_signed_byte (bfd *abfd ATTRIBUTE_UNUSED, char *buf)
218 return bfd_get_signed_8 (abfd, buf);
222 read_2_bytes (bfd *abfd, char *buf) argument
224 return bfd_get_16 (abfd, buf);
228 read_4_bytes (bfd *abfd, char *buf) argument
230 return bfd_get_32 (abfd, buf);
234 read_8_bytes (bfd *abfd, cha argument
283 bfd *abfd = unit->abfd; local
427 read_abbrevs(bfd *abfd, bfd_uint64_t offset, struct dwarf2_debug *stash) argument
543 bfd *abfd = unit->abfd; local
701 bfd* abfd; member in struct:line_info_table
904 bfd *abfd = unit->abfd; local
1329 bfd *abfd = unit->abfd; local
1433 parse_comp_unit(bfd *abfd, struct dwarf2_debug *stash, bfd_vma unit_length, unsigned int offset_size) argument
1658 find_debug_info(bfd *abfd, asection *after_sec) argument
1688 _bfd_dwarf2_find_nearest_line(bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset, const char **filename_ptr, const char **functionname_ptr, unsigned int *linenumber_ptr, unsigned int addr_size, void **pinfo) argument
[all...]
H A Dsom.c1183 try_prev_fixup (abfd, subspace_reloc_sizep, p, size, queue)
1184 bfd *abfd ATTRIBUTE_UNUSED;
1197 bfd_put_8 (abfd, R_PREV_FIXUP + queue_index, p);
1217 som_reloc_skip (abfd, skip, p, subspace_reloc_sizep, queue)
1218 bfd *abfd;
1230 bfd_put_8 (abfd, R_NO_RELOCATION + 31, p);
1231 bfd_put_8 (abfd, 0xff, p + 1);
1232 bfd_put_16 (abfd, (bfd_vma) 0xffff, p + 2);
1233 p = try_prev_fixup (abfd, subspace_reloc_sizep, p, 4, queue);
1237 bfd_put_8 (abfd, R_PREV_FIXU
[all...]
H A Dcoffcode.h576 are retained in pei_section_data(abfd, section)->pe_flags. */
599 styp_to_sec_flags (abfd, hdr, name, section, flags_ptr)
600 bfd *abfd ATTRIBUTE_UNUSED;
742 handle_COMDAT (abfd, sec_flags, hdr, name, section) variable
743 bfd * abfd;
773 if (! _bfd_coff_get_external_symbols (abfd))
776 esymstart = esym = (bfd_byte *) obj_coff_external_syms (abfd);
777 esymend = esym + obj_raw_syment_count (abfd) * bfd_coff_symesz (abfd);
785 bfd_coff_swap_sym_in (abfd, (PT
1011 bfd *abfd; variable
1570 bfd * abfd; variable
1750 bfd *abfd; variable
1794 bfd * abfd; variable
1820 bfd * abfd; variable
1847 obj_raw_syment_count (abfd) = variable
1870 bfd_xcoff_text_align_power (abfd) = internal_a->o_algntext; variable
1871 bfd_xcoff_data_align_power (abfd) = internal_a->o_algndata; variable
1905 bfd *abfd; variable
2470 bfd * abfd; variable
2614 bfd * abfd; variable
2933 bfd * abfd; variable
2986 bfd * abfd; variable
3317 obj_relocbase (abfd) = sofar; variable
3410 bfd *abfd; variable
3435 bfd *abfd; variable
3463 bfd *abfd; variable
3501 bfd * abfd; variable
4077 obj_sym_filepos (abfd) = sym_base; variable
4302 bfd * abfd; variable
4396 bfd *abfd; variable
4435 bfd *abfd; variable
4524 bfd * abfd; variable
4870 obj_symbols (abfd) = cached_area; variable
4871 obj_raw_syments (abfd) = native_symbols; variable
4873 bfd_get_symcount (abfd) = number_of_symbols; variable
4874 obj_convert (abfd) = table_ptr; variable
4896 bfd *abfd; variable
5040 bfd * abfd; variable
5177 bfd * abfd; variable
5215 bfd *abfd; variable
5316 bfd * abfd; variable
[all...]
H A Daout-cris.c45 adata(abfd).exec_bytes_size is not used, but rather
46 adata(abfd).zmagic_disk_block_size, even though the exec_header is
124 MY(write_object_contents) (abfd)
125 bfd *abfd;
128 struct internal_exec *execp = exec_hdr (abfd);
134 obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;
138 if (bfd_get_arch(abfd) == bfd_arch_cris)
141 N_SET_FLAGS (*execp, aout_backend_info (abfd)->exec_hdr_flags);
143 WRITE_HEADERS (abfd, execp);
153 MY(swap_ext_reloc_out) (abfd,
[all...]
H A Dopncls.c116 _bfd_delete_bfd (bfd *abfd) argument
118 bfd_hash_table_free (&abfd->section_htab);
119 objalloc_free ((struct objalloc *) abfd->memory);
120 free (abfd);
378 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf,
380 int (*close) (struct bfd *abfd, void *stream);
385 opncls_btell (struct bfd *abfd) argument
387 struct opncls *vec = abfd->iostream;
392 opncls_bseek (struct bfd *abfd, file_ptr offset, int whence) argument
394 struct opncls *vec = abfd
405 opncls_bread(struct bfd *abfd, void *buf, file_ptr nbytes) argument
424 opncls_bclose(struct bfd *abfd) argument
455 bfd_openr_iovec(const char *filename, const char *target, void *(*open) (struct bfd *nbfd, void *open_closure), void *open_closure, file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset), int (*close) (struct bfd *nbfd, void *stream)) argument
583 bfd_close(bfd *abfd) argument
650 bfd_close_all_done(bfd *abfd) argument
728 bfd_make_writable(bfd *abfd) argument
769 bfd_make_readable(bfd *abfd) argument
825 bfd_alloc(bfd *abfd, bfd_size_type size) argument
842 bfd_zalloc(bfd *abfd, bfd_size_type size) argument
856 bfd_release(bfd *abfd, void *block) argument
977 get_debug_link_info(bfd *abfd, unsigned long *crc32_out) argument
1062 find_separate_debug_file(bfd *abfd, const char *debug_file_directory) argument
1190 bfd_follow_gnu_debuglink(bfd *abfd, const char *dir) argument
1218 bfd_create_gnu_debuglink_section(bfd *abfd, const char *filename) argument
1284 bfd_fill_in_gnu_debuglink_section(bfd *abfd, struct bfd_section *sect, const char *filename) argument
[all...]
H A Dpef.c91 bfd_pef_print_symbol (abfd, afile, symbol, how)
92 bfd *abfd;
105 bfd_print_symbol_vandf (abfd, (PTR) file, symbol);
114 bfd_get_section_contents (abfd, symbol->section, buf, offset, len);
115 ret = bfd_pef_parse_traceback_table (abfd, symbol->section, buf,
142 bfd_pef_mkobject (abfd)
143 bfd *abfd ATTRIBUTE_UNUSED;
149 bfd_pef_parse_traceback_table (abfd, section, buf, len, pos, sym, file)
150 bfd *abfd;
168 sym->the_bfd = abfd;
[all...]
H A Darchive.c142 #define BFD_GNU960_ARMAG(abfd) (BFD_COFF_FILE_P((abfd)) ? ARMAG : ARMAGB)
157 #define ar_padchar(abfd) ((abfd)->xvec->ar_pad_char)
158 #define ar_maxnamelen(abfd) ((abfd)->xvec->ar_max_namelen)
166 _bfd_generic_mkarchive (bfd *abfd)
170 abfd->tdata.aout_ar_data = bfd_zalloc (abfd, amt);
171 if (bfd_ardata (abfd)
165 _bfd_generic_mkarchive(bfd *abfd) argument
205 bfd_get_next_mapent(bfd *abfd, symindex prev, carsym **entry) argument
323 _bfd_generic_read_ar_hdr(bfd *abfd) argument
332 _bfd_generic_read_ar_hdr_mag(bfd *abfd, const char *mag) argument
510 _bfd_generic_get_elt_at_index(bfd *abfd, symindex index) argument
571 bfd_generic_archive_p(bfd *abfd) argument
684 do_slurp_bsd_armap(bfd *abfd) argument
754 do_slurp_coff_armap(bfd *abfd) argument
878 bfd_slurp_armap(bfd *abfd) argument
920 bfd_slurp_bsd_armap_f2(bfd *abfd) argument
1028 _bfd_slurp_extended_name_table(bfd *abfd) argument
1108 normalize(bfd *abfd, const char *file) argument
1166 _bfd_archive_bsd_construct_extended_name_table(bfd *abfd, char **tabloc, bfd_size_type *tablen, const char **name) argument
1178 _bfd_archive_coff_construct_extended_name_table(bfd *abfd, char **tabloc, bfd_size_type *tablen, const char **name) argument
1196 _bfd_construct_extended_name_table(bfd *abfd, bfd_boolean trailing_slash, char **tabloc, bfd_size_type *tablen) argument
1339 bfd_ar_hdr_from_filesystem(bfd *abfd, const char *filename, bfd *member) argument
1419 bfd_special_undocumented_glue(bfd *abfd, const char *filename) argument
1430 bfd_generic_stat_arch_elt(bfd *abfd, struct stat *buf) argument
1485 bfd_dont_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
1522 bfd_bsd_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
1570 bfd_gnu_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
[all...]
H A Dieee.c188 ieee_write_byte (abfd, barg)
189 bfd *abfd;
195 if (bfd_bwrite ((PTR) &byte, (bfd_size_type) 1, abfd) != 1)
201 ieee_write_2bytes (abfd, bytes)
202 bfd *abfd;
209 if (bfd_bwrite ((PTR) buffer, (bfd_size_type) 2, abfd) != 2)
215 ieee_write_int (abfd, value)
216 bfd *abfd;
221 if (! ieee_write_byte (abfd, (bfd_byte) value))
239 if (! ieee_write_byte (abfd,
[all...]
H A Dcpu-h8500.c35 howto16_callback (abfd, reloc_entry, symbol_in, data,
37 bfd *abfd;
46 long x = bfd_get_16 (abfd, (bfd_byte *)data + addr);
52 bfd_put_16 (abfd, x, (bfd_byte *)data + addr);
57 howto8_callback (abfd, reloc_entry, symbol_in, data,
59 bfd *abfd;
68 long x = bfd_get_8 (abfd, (bfd_byte *)data + addr);
74 bfd_put_8 (abfd, x, (bfd_byte *)data + addr);
79 howto8_FFnn_callback (abfd, reloc_entry, symbol_in, data,
81 bfd *abfd;
[all...]
H A Dgenlink.h80 #define _bfd_generic_link_get_symbols(abfd) ((abfd)->outsymbols)
81 #define _bfd_generic_link_get_symcount(abfd) ((abfd)->symcount)
H A Dbfd-in.h165 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
284 bfd *abfd;
499 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
500 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
501 #define bfd_get_format(abfd) ((abfd)->format)
502 #define bfd_get_target(abfd) ((abf
282 bfd *abfd; member in union:orl::__anon3549
[all...]
H A Daix5ppc-core.c47 #define core_hdr(abfd) ((struct core_dumpxx *) abfd->tdata.any)
53 xcoff64_core_p (abfd)
54 bfd *abfd;
66 if (bfd_seek (abfd, 0, SEEK_SET) != 0)
70 != bfd_bread (&core, sizeof (struct core_dumpxx), abfd))
73 if (bfd_stat (abfd, &statbuf) < 0)
115 bfd_zalloc (abfd, sizeof (struct core_dumpxx));
120 core_hdr(abfd) = (char *)new_core_hdr;
123 sec = bfd_make_section_anyway (abfd, "
[all...]
H A Dfreebsd.h64 static bfd_boolean MY(write_object_contents) PARAMS ((bfd *abfd));
73 MY(write_object_contents) (abfd)
74 bfd *abfd; variable
77 struct internal_exec *execp = exec_hdr (abfd);
79 obj_reloc_entry_size (abfd) = RELOC_STD_SIZE; variable
82 switch (bfd_get_arch(abfd)) {
84 if (strcmp (abfd->xvec->name, "a.out-m68k4k-netbsd") == 0)
103 WRITE_HEADERS(abfd, execp);
/haiku-fatelf/src/bin/gdb/bfd/config-x86/
H A Dbfd-in3.h172 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
291 bfd *abfd;
506 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
507 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
508 #define bfd_get_format(abfd) ((abfd)->format)
509 #define bfd_get_target(abfd) ((abf
289 bfd *abfd; member in union:orl::__anon3558
[all...]
H A Dbfd.h172 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
291 bfd *abfd;
506 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
507 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
508 #define bfd_get_format(abfd) ((abfd)->format)
509 #define bfd_get_target(abfd) ((abf
289 bfd *abfd; member in union:orl::__anon3562
[all...]
/haiku-fatelf/src/bin/gdb/bfd/config-x86_64/
H A Dbfd-in3.h170 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
289 bfd *abfd;
504 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
505 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
506 #define bfd_get_format(abfd) ((abfd)->format)
507 #define bfd_get_target(abfd) ((abf
287 bfd *abfd; member in union:orl::__anon3566
[all...]
H A Dbfd.h170 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
289 bfd *abfd;
504 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
505 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
506 #define bfd_get_format(abfd) ((abfd)->format)
507 #define bfd_get_target(abfd) ((abf
287 bfd *abfd; member in union:orl::__anon3570
[all...]

Completed in 493 milliseconds

1234567891011>>