Searched refs:abfd (Results 251 - 275 of 307) sorted by relevance

<<111213

/haiku-fatelf/src/bin/gdb/bfd/
H A Dlibcoff-in.h174 #define xcoff_data(abfd) ((abfd)->tdata.xcoff_obj_data)
207 #define coff_section_data(abfd, sec) \
227 #define xcoff_section_data(abfd, sec) \
228 ((struct xcoff_section_tdata *) coff_section_data ((abfd), (sec))->tdata)
241 #define pei_section_data(abfd, sec) \
242 ((struct pei_section_tdata *) coff_section_data ((abfd), (sec))->tdata)
H A Delf32-i860.c31 i860_howto_pc26_reloc (bfd *abfd ATTRIBUTE_UNUSED,
66 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
81 insn = bfd_get_32 (abfd, addr);
87 bfd_put_32 (abfd, (bfd_vma) insn, addr);
94 i860_howto_pc16_reloc (bfd *abfd, argument
129 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
144 insn = bfd_get_32 (abfd, addr);
151 bfd_put_32 (abfd, (bfd_vma) insn, addr);
158 i860_howto_highadj_reloc (bfd *abfd, argument
194 if (reloc_entry->address > bfd_get_section_limit (abfd, input_sectio
211 i860_howto_splitn_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument
1230 elf32_i860_is_local_label_name(bfd *abfd, const char *name) argument
[all...]
H A Delf-hppa.h569 elf_hppa_reloc_final_type (bfd *abfd, argument
665 if (bfd_get_arch_info (abfd)->bits_per_address != 32)
762 if (bfd_get_mach (abfd) < 25)
859 _bfd_elf_hppa_gen_reloc_type (bfd *abfd, argument
871 final_types = bfd_alloc (abfd, amt);
877 finaltype = bfd_alloc (abfd, amt);
885 *finaltype = elf_hppa_reloc_final_type (abfd, base_type, format, field);
893 elf_hppa_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
905 elf_hppa_info_to_howto_rel (bfd *abfd ATTRIBUTE_UNUSED,
918 elf_hppa_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSE
943 elf_hppa_fake_sections(bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec) argument
983 elf_hppa_final_write_processing(bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED) argument
1033 elf_hppa_sort_unwind(bfd *abfd) argument
1066 elf_hppa_add_symbol_hook(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Sym *sym, const char **namep ATTRIBUTE_UNUSED, flagword *flagsp ATTRIBUTE_UNUSED, asection **secp, bfd_vma *valp) argument
1209 elf_hppa_final_link(bfd *abfd, struct bfd_link_info *info) argument
[all...]
H A Delf32-vax.c293 rtype_to_howto (abfd, cache_ptr, dst)
294 bfd *abfd ATTRIBUTE_UNUSED;
328 reloc_type_lookup (abfd, code)
329 bfd *abfd ATTRIBUTE_UNUSED;
474 elf_vax_link_hash_table_create (abfd)
475 bfd *abfd;
484 if (! _bfd_elf_link_hash_table_init (&ret->root, abfd,
496 elf32_vax_set_private_flags (abfd, flags)
497 bfd *abfd;
500 elf_elfheader (abfd)
[all...]
H A Dcoff-z8k.c86 #define SWAP_OUT_RELOC_EXTRA(abfd, src, dst) \
131 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \
134 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
135 reloc_processing(relent, reloc, symbols, abfd, section)
141 bfd *abfd,
148 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx];
138 reloc_processing(arelent *relent, struct internal_reloc *reloc, asymbol **symbols, bfd *abfd, asection *section) argument
H A Dcpu-h8300.c232 bfd_h8300_pad_address (bfd *abfd, bfd_vma address) argument
237 switch (bfd_get_mach (abfd))
H A Delf32-s390.c230 elf_s390_reloc_type_lookup (abfd, code)
231 bfd *abfd ATTRIBUTE_UNUSED;
348 elf_s390_info_to_howto (abfd, cache_ptr, dst)
349 bfd *abfd ATTRIBUTE_UNUSED;
371 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section,
373 bfd *abfd ATTRIBUTE_UNUSED;
388 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section,
390 bfd *abfd ATTRIBUTE_UNUSED;
414 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
428 insn = bfd_get_32 (abfd, (bfd_byt
[all...]
H A Dhash.c728 _bfd_stringtab_emit (abfd, tab)
729 register bfd *abfd;
750 bfd_put_16 (abfd, (bfd_vma) len, buf);
751 if (bfd_bwrite ((PTR) buf, (bfd_size_type) 2, abfd) != 2)
755 if (bfd_bwrite ((PTR) str, (bfd_size_type) len, abfd) != len)
H A Delf-bfd.h259 bfd *abfd;
431 bfd *abfd;
512 bfd *abfd;
658 (bfd *abfd, struct bfd_link_info *info, Elf_Internal_Sym *,
676 (bfd *abfd, struct bfd_link_info *info);
694 (bfd *abfd, struct bfd_link_info *info, asection *o,
702 (bfd *abfd, struct bfd_link_info *info);
822 (bfd *abfd, struct bfd_link_info *info, asection *o,
918 (bfd *abfd, struct bfd_link_info *info,
1121 #define get_elf_backend_data(abfd) \
258 bfd *abfd; member in struct:elf_link_loaded_list
430 bfd *abfd; member in struct:sym_sec_cache
510 bfd *abfd; member in struct:elf_reloc_cookie
[all...]
H A Delf32-hppa.c361 elf32_hppa_link_hash_table_create (bfd *abfd) argument
370 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, hppa_link_hash_newfunc))
397 ret->sym_sec.abfd = NULL;
890 elf32_hppa_object_p (bfd *abfd) argument
895 i_ehdrp = elf_elfheader (abfd);
896 if (strcmp (bfd_get_target (abfd), "elf32-hppa-linux") == 0)
904 else if (strcmp (bfd_get_target (abfd), "elf32-hppa-netbsd") == 0)
922 return bfd_default_set_arch_mach (abfd, bfd_arch_hppa, 10);
924 return bfd_default_set_arch_mach (abfd, bfd_arch_hppa, 11);
926 return bfd_default_set_arch_mach (abfd, bfd_arch_hpp
937 elf32_hppa_create_dynamic_sections(bfd *abfd, struct bfd_link_info *info) argument
1042 elf32_hppa_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument
1505 elf32_hppa_gc_sweep_hook(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED, asection *sec, const Elf_Internal_Rela *relocs) argument
2877 elf32_hppa_set_gp(bfd *abfd, struct bfd_link_info *info) argument
2994 elf32_hppa_final_link(bfd *abfd, struct bfd_link_info *info) argument
4114 elf32_hppa_post_process_headers(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) argument
[all...]
H A Delf64-s390.c238 elf_s390_reloc_type_lookup (abfd, code)
239 bfd *abfd ATTRIBUTE_UNUSED;
370 elf_s390_info_to_howto (abfd, cache_ptr, dst)
371 bfd *abfd ATTRIBUTE_UNUSED;
393 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section,
395 bfd *abfd ATTRIBUTE_UNUSED;
410 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section,
412 bfd *abfd;
435 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
449 insn = bfd_get_32 (abfd, (bfd_byt
[all...]
H A Dlibhppa.h463 bfd_hppa_insn2fmt (bfd *abfd, int insn) argument
501 if (abfd->arch_info->mach >= 25)
512 if (abfd->arch_info->mach >= 25)
518 if (abfd->arch_info->mach >= 25)
/haiku-fatelf/src/bin/gdb/gdb/
H A Ddbxread.c856 #define INTERNALIZE_SYMBOL(intern, extern, abfd) \
858 (intern).n_type = bfd_h_get_8 (abfd, (extern)->e_type); \
859 (intern).n_strx = bfd_h_get_32 (abfd, (extern)->e_strx); \
860 (intern).n_desc = bfd_h_get_16 (abfd, (extern)->e_desc); \
861 if (bfd_get_sign_extend_vma (abfd)) \
862 (intern).n_value = bfd_h_get_signed_32 (abfd, (extern)->e_value); \
864 (intern).n_value = bfd_h_get_32 (abfd, (extern)->e_value); \
991 bfd *abfd = objfile->obfd;
1010 if (bfd_get_flavour (abfd) != bfd_target_aout_flavour
1011 || (bfd_get_file_flags (abfd)
983 bfd *abfd = objfile->obfd; local
1190 bfd *abfd; local
2454 bfd *abfd; local
[all...]
H A Dobjfiles.c76 add_to_objfile_sections (struct bfd *abfd, struct bfd_section *asect, argument
83 aflag = bfd_get_section_flags (abfd, asect);
88 if (0 == bfd_section_size (abfd, asect))
94 section.addr = bfd_section_vma (abfd, asect);
95 section.endaddr = section.addr + bfd_section_size (abfd, asect);
149 things in a consistent state even if abfd is NULL. */
152 allocate_objfile (bfd *abfd, int flags) argument
180 objfile->obfd = abfd;
185 if (abfd != NULL)
187 objfile->name = xstrdup (bfd_get_filename (abfd));
635 bfd *abfd; local
[all...]
H A Dsolib-frv.c239 CORE_ADDR bfd_lookup_symbol (bfd *abfd, char *symname)
253 bfd_lookup_symbol (bfd *abfd, char *symname) argument
263 storage_needed = bfd_get_symtab_upper_bound (abfd);
269 number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
289 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd);
295 number_of_symbols = bfd_canonicalize_dynamic_symtab (abfd, symbol_table);
1078 (entry_point, got_value, name, so->abfd, so->lm_info);
1092 (CORE_ADDR entry_point, CORE_ADDR got_value, char *name, bfd *abfd,
1100 if (abfd == 0)
1115 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd);
1091 find_canonical_descriptor_in_load_object(CORE_ADDR entry_point, CORE_ADDR got_value, char *name, bfd *abfd, struct lm_info *lm) argument
[all...]
H A Dcoffread.c65 #define EXTERNAL_NAME(string, abfd) \
66 (string[0] == bfd_get_symbol_leading_char(abfd)? string+1: string)
197 coff_locate_sections (bfd *abfd, asection *sectp, void *csip)
203 name = bfd_get_section_name (abfd, sectp);
206 csi->textaddr = bfd_section_vma (abfd, sectp);
207 csi->textsize += bfd_section_size (abfd, sectp);
211 csi->textsize += bfd_section_size (abfd, sectp);
256 find_targ_sec (bfd *abfd, asection *sect, void *obj)
277 if (bfd_get_section_flags (abfd, sect) & SEC_CODE)
279 else if (bfd_get_section_flags (abfd, sec
196 coff_locate_sections(bfd *abfd, asection *sectp, void *csip) argument
255 find_targ_sec(bfd *abfd, asection *sect, void *obj) argument
292 cs_section_address(struct coff_symbol *cs, bfd *abfd) argument
463 find_linenos(bfd *abfd, struct bfd_section *asect, void *vpinfo) argument
503 bfd *abfd = objfile->obfd; local
1183 init_stringtab(bfd *abfd, long offset) argument
1296 init_lineno(bfd *abfd, long offset, int size) argument
[all...]
H A Dmaint.c318 print_bfd_section_info (bfd *abfd, argument
322 flagword flags = bfd_get_section_flags (abfd, asect);
323 const char *name = bfd_section_name (abfd, asect);
331 addr = bfd_section_vma (abfd, asect);
332 endaddr = addr + bfd_section_size (abfd, asect);
338 print_objfile_section_info (bfd *abfd, argument
342 flagword flags = bfd_get_section_flags (abfd, asect->the_bfd_section);
343 const char *name = bfd_section_name (abfd, asect->the_bfd_section);
H A Darch-utils.h153 extern struct gdbarch *gdbarch_from_bfd (bfd *abfd);
H A Dnto-tdep.c239 find_load_phdr (bfd *abfd) argument
244 if (!elf_tdata (abfd))
247 phdr = elf_tdata (abfd)->phdr;
248 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++)
H A Drs6000-nat.c754 bfd *abfd, *last;
774 abfd = bfd_openr (objname, gnutarget);
776 abfd = bfd_fdopenr (objname, gnutarget, fd);
777 if (!abfd)
786 if (bfd_check_format (abfd, bfd_object))
787 vp = map_vmap (abfd, 0);
789 else if (bfd_check_format (abfd, bfd_archive))
793 while ((last = bfd_openr_next_archived_file (abfd, last)))
800 bfd_close (abfd);
809 bfd_close (abfd);
752 bfd *abfd, *last; local
1000 bfd abfd; local
[all...]
H A Dsolist.h62 bfd *abfd; member in struct:so_list
H A Dsparcnbsd-tdep.c307 sparcnbsd_aout_osabi_sniffer (bfd *abfd)
309 if (strcmp (bfd_get_target (abfd), "a.out-sparc-netbsd") == 0)
329 sparcnbsd_core_osabi_sniffer (bfd *abfd)
331 if (strcmp (bfd_get_target (abfd), "netbsd-core") == 0)
305 sparcnbsd_aout_osabi_sniffer(bfd *abfd) argument
327 sparcnbsd_core_osabi_sniffer(bfd *abfd) argument
H A Dsomsolib.c142 bfd *abfd; member in struct:so_list
210 bfd *abfd; local
227 abfd = bfd_fdopenr (filename, gnutarget, desc);
228 if (!abfd)
236 if (!bfd_check_format (abfd, bfd_object)) /* Reads in section info */
238 bfd_close (abfd); /* This also closes desc */
247 sect = bfd_get_section_by_name (abfd, "$DEBUG$");
249 st_size += (LONGEST) bfd_section_size (abfd, sect);
252 sect = bfd_get_section_by_name (abfd, "$PINFO$");
254 st_size += (LONGEST) bfd_section_size (abfd, sec
[all...]
H A Dfrv-linux-tdep.c328 frv_linux_elf_osabi_sniffer (bfd *abfd) argument
332 elf_flags = elf_elfheader (abfd)->e_flags;
H A Delfread.c490 bfd *abfd = objfile->obfd; local
538 bfd_map_over_sections (abfd, elf_locate_sections, (void *) & ei);
558 swap = get_elf_backend_data (abfd)->elf_backend_ecoff_debug_swap;
568 str_sect = bfd_get_section_by_name (abfd, ".stabstr");
576 bfd_section_size (abfd, str_sect));

Completed in 289 milliseconds

<<111213