Searched refs:abfd (Results 126 - 150 of 307) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/gdb/bfd/
H A Dsyms.c72 | storage_needed = bfd_get_symtab_upper_bound (abfd);
83 | bfd_canonicalize_symtab (abfd, symbol_table);
112 | bfd *abfd;
116 | abfd = bfd_openw ("foo","a.out-sunos-big");
117 | bfd_set_format (abfd, bfd_object);
118 | new = bfd_make_empty_symbol (abfd);
120 | new->section = bfd_make_section_old_way (abfd, ".text");
127 | bfd_set_symtab (abfd, ptrs, 1);
128 | bfd_close (abfd);
331 to <<asymbols>> for all the symbols in the BFD @var{abfd},
353 bfd_is_local_label(bfd *abfd, asymbol *sym) argument
431 bfd_set_symtab(bfd *abfd, asymbol **location, unsigned int symcount) argument
456 bfd_print_symbol_vandf(bfd *abfd, void *arg, asymbol *symbol) argument
519 _bfd_generic_make_empty_symbol(bfd *abfd) argument
772 _bfd_generic_read_minisymbols(bfd *abfd, bfd_boolean dynamic, void **minisymsp, unsigned int *sizep) argument
899 _bfd_stab_section_find_nearest_line(bfd *abfd, asymbol **symbols, asection *section, bfd_vma offset, bfd_boolean *pfound, const char **pfilename, const char **pfnname, unsigned int *pline, void **pinfo) argument
[all...]
H A Dcoff-m68k.c78 m68k_coff_is_local_label_name (abfd, name)
79 bfd *abfd;
85 return _bfd_coff_is_local_label_name (abfd, name);
182 m68k_reloc_type_lookup (abfd, code)
183 bfd *abfd ATTRIBUTE_UNUSED;
222 m68kcoff_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
223 bfd *abfd ATTRIBUTE_UNUSED;
260 m68kcoff_common_addend_special_fn (abfd, reloc_entry, symbol, data,
262 bfd *abfd;
311 char x = bfd_get_8 (abfd, add
[all...]
H A Dcpu-arm.c229 arm_check_note (abfd, buffer, buffer_size, expected_name, description_return)
230 bfd * abfd;
246 namesz = bfd_get_32 (abfd, buffer);
247 descsz = bfd_get_32 (abfd, buffer + offsetof (arm_Note, descsz));
248 type = bfd_get_32 (abfd, buffer + offsetof (arm_Note, type));
282 bfd_arm_update_notes (abfd, note_section)
283 bfd * abfd;
295 arm_arch_section = bfd_get_section_by_name (abfd, note_section);
304 if (!bfd_malloc_and_get_section (abfd, arm_arch_section, &buffer))
308 if (! arm_check_note (abfd, buffe
[all...]
H A Delf32-i960.c77 elf32_i960_info_to_howto (abfd, cache_ptr, dst)
78 bfd *abfd ATTRIBUTE_UNUSED;
86 elf32_i960_info_to_howto_rel (abfd, cache_ptr, dst)
87 bfd *abfd ATTRIBUTE_UNUSED;
110 elf32_i960_relocate (abfd, reloc_entry, symbol, data, input_section,
112 bfd *abfd ATTRIBUTE_UNUSED;
153 elf32_i960_reloc_type_lookup (abfd, code)
154 bfd *abfd ATTRIBUTE_UNUSED;
H A Dsimple.c31 bfd *abfd ATTRIBUTE_UNUSED,
41 bfd *abfd ATTRIBUTE_UNUSED,
54 bfd *abfd ATTRIBUTE_UNUSED,
64 bfd *abfd ATTRIBUTE_UNUSED,
74 bfd *abfd ATTRIBUTE_UNUSED,
88 simple_save_output_info (bfd *abfd ATTRIBUTE_UNUSED,
104 simple_restore_output_info (bfd *abfd ATTRIBUTE_UNUSED,
119 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
123 @var{symbol_table} will be used, or the symbols from @var{abfd} if
133 bfd_simple_get_relocated_section_contents (bfd *abfd, argument
[all...]
H A Dcoff-h8300.c56 bfd *abfd; member in struct:funcvec_hash_table
157 switch (bfd_get_mach (table->abfd))
180 bfd *abfd,
189 table->abfd = abfd;
198 h8300_coff_link_hash_table_create (bfd *abfd) argument
206 if (!_bfd_link_hash_table_init (&ret->root.root, abfd,
231 special (bfd *abfd ATTRIBUTE_UNUSED,
294 #define SWAP_OUT_RELOC_EXTRA(abfd, src, dst) \
381 #define CALC_ADDEND(abfd, symbo
179 funcvec_hash_table_init(struct funcvec_hash_table *table, bfd *abfd, struct bfd_hash_entry *(*newfunc) (struct bfd_hash_entry *, struct bfd_hash_table *, const char *)) argument
388 reloc_processing(arelent *relent, struct internal_reloc *reloc, asymbol **symbols, bfd *abfd, asection *section) argument
408 h8300_symbol_address_p(bfd *abfd, asection *input_section, bfd_vma address) argument
440 h8300_reloc16_estimate(bfd *abfd, asection *input_section, arelent *reloc, unsigned int shrink, struct bfd_link_info *link_info) argument
658 h8300_reloc16_extra_cases(bfd *abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, arelent *reloc, bfd_byte *data, unsigned int *src_ptr, unsigned int *dst_ptr) argument
1260 h8300_bfd_link_add_symbols(bfd *abfd, struct bfd_link_info *info) argument
[all...]
H A Delf32-d30v.c29 PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
35 bfd *abfd,
43 bfd *abfd,
254 bfd_elf_d30v_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, error_message)
255 bfd *abfd;
281 r = bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
293 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
324 in1 = bfd_get_32 (abfd, (bfd_byte *) data + addr);
325 in2 = bfd_get_32 (abfd, (bfd_byte *) data + addr + 4);
357 bfd_put_32 (abfd, in
[all...]
H A Delf32-ip2k.c232 ip2k_reloc_type_lookup (abfd, code)
233 bfd * abfd ATTRIBUTE_UNUSED;
281 ip2k_get_mem (abfd, addr, length, ptr)
282 bfd *abfd ATTRIBUTE_UNUSED;
288 * ptr ++ = bfd_get_8 (abfd, addr ++);
317 symbol_value (abfd, symtab_hdr, isymbuf, irel)
318 bfd *abfd;
336 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
346 h = elf_sym_hashes (abfd)[indx];
361 ip2k_nominal_page_bits (abfd, se
[all...]
H A Dcoff-m88k.c48 m88k_is_local_label_name (abfd, name)
49 bfd *abfd ATTRIBUTE_UNUSED;
56 m88k_special_reloc (abfd, reloc_entry, symbol, data,
58 bfd *abfd;
84 bfd_vma x = bfd_get_16 (abfd, (bfd_byte *) data + addr);
119 bfd_put_16 (abfd, (bfd_vma) relocation,
259 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
260 reloc_processing(relent, reloc, symbols, abfd, section)
263 reloc_processing (relent, reloc, symbols, abfd, section)
267 bfd *abfd;
[all...]
H A Delf32-dlx.c248 _bfd_dlx_elf_hi16_reloc (abfd, reloc_entry, symbol, data,
250 bfd *abfd;
268 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
291 vallo = bfd_get_16 (abfd, (bfd_byte *) data + reloc_entry->address);
308 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry->address);
310 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
317 bfd_put_16 (abfd, (short)((relocation >> 16) & 0xFFFF),
334 elf32_dlx_relocate16 (abfd, reloc_entry, symbol, data,
336 bfd *abfd;
353 return bfd_elf_generic_reloc (abfd, reloc_entr
[all...]
H A Delf64-mips.c1261 mips_elf64_swap_reloc_in (bfd *abfd, const Elf64_Mips_External_Rel *src,
1264 dst->r_offset = H_GET_64 (abfd, src->r_offset);
1265 dst->r_sym = H_GET_32 (abfd, src->r_sym);
1266 dst->r_ssym = H_GET_8 (abfd, src->r_ssym);
1267 dst->r_type3 = H_GET_8 (abfd, src->r_type3);
1268 dst->r_type2 = H_GET_8 (abfd, src->r_type2);
1269 dst->r_type = H_GET_8 (abfd, src->r_type);
1276 mips_elf64_swap_reloca_in (bfd *abfd, const Elf64_Mips_External_Rela *src,
1279 dst->r_offset = H_GET_64 (abfd, src->r_offset);
1280 dst->r_sym = H_GET_32 (abfd, sr
1258 mips_elf64_swap_reloc_in(bfd *abfd, const Elf64_Mips_External_Rel *src, Elf64_Mips_Internal_Rela *dst) argument
1273 mips_elf64_swap_reloca_in(bfd *abfd, const Elf64_Mips_External_Rela *src, Elf64_Mips_Internal_Rela *dst) argument
1288 mips_elf64_swap_reloc_out(bfd *abfd, const Elf64_Mips_Internal_Rela *src, Elf64_Mips_External_Rel *dst) argument
1302 mips_elf64_swap_reloca_out(bfd *abfd, const Elf64_Mips_Internal_Rela *src, Elf64_Mips_External_Rela *dst) argument
1317 mips_elf64_be_swap_reloc_in(bfd *abfd, const bfd_byte *src, Elf_Internal_Rela *dst) argument
1340 mips_elf64_be_swap_reloca_in(bfd *abfd, const bfd_byte *src, Elf_Internal_Rela *dst) argument
1363 mips_elf64_be_swap_reloc_out(bfd *abfd, const Elf_Internal_Rela *src, bfd_byte *dst) argument
1387 mips_elf64_be_swap_reloca_out(bfd *abfd, const Elf_Internal_Rela *src, bfd_byte *dst) argument
1502 mips_elf64_gprel16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1541 mips_elf64_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1582 mips_elf64_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1655 mips_elf64_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1704 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument
1930 mips_elf64_get_dynamic_reloc_upper_bound(bfd *abfd) argument
1941 mips_elf64_canonicalize_reloc(bfd *abfd, sec_ptr section, arelent **relptr, asymbol **symbols) argument
1961 mips_elf64_canonicalize_dynamic_reloc(bfd *abfd, arelent **storage, asymbol **syms) argument
2007 mips_elf64_slurp_one_reloc_table(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument
2177 mips_elf64_slurp_reloc_table(bfd *abfd, asection *asect, asymbol **symbols, bfd_boolean dynamic) argument
2252 mips_elf64_write_relocs(bfd *abfd, asection *sec, void *data) argument
2315 mips_elf64_write_rel(bfd *abfd, asection *sec, Elf_Internal_Shdr *rel_hdr, int *count, void *data) argument
2413 mips_elf64_write_rela(bfd *abfd, asection *sec, Elf_Internal_Shdr *rela_hdr, int *count, void *data) argument
2514 mips_elf64_object_p(bfd *abfd) argument
2532 elf64_mips_irix_compat(bfd *abfd) argument
2543 elf64_mips_grok_prstatus(bfd *abfd, Elf_Internal_Note *note) argument
2573 elf64_mips_grok_psinfo(bfd *abfd, Elf_Internal_Note *note) argument
[all...]
H A Delfarm-nabi.c39 PARAMS ((bfd * abfd, bfd_reloc_code_real_type code));
41 PARAMS ((bfd *abfd, Elf_Internal_Note *note));
43 PARAMS ((bfd *abfd, Elf_Internal_Note *note));
778 elf32_arm_info_to_howto (bfd * abfd ATTRIBUTE_UNUSED, arelent * bfd_reloc,
823 elf32_arm_reloc_type_lookup (abfd, code)
824 bfd *abfd ATTRIBUTE_UNUSED;
854 elf32_arm_nabi_grok_prstatus (abfd, note)
855 bfd *abfd;
868 elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, not
941 elf32_arm_symbian_link_hash_table_create(bfd *abfd) argument
[all...]
H A Dxcofflink.c160 xcoff_get_section_contents (abfd, sec)
161 bfd *abfd;
165 if (coff_section_data (abfd, sec) == NULL)
168 sec->used_by_bfd = bfd_zalloc (abfd, amt);
173 if (coff_section_data (abfd, sec)->contents == NULL)
176 if (!bfd_malloc_and_get_section (abfd, sec, &contents))
182 coff_section_data (abfd, sec)->contents = contents;
191 _bfd_xcoff_get_dynamic_symtab_upper_bound (abfd)
192 bfd *abfd;
198 if ((abfd
909 xcoff_link_create_extra_sections(bfd * abfd, struct bfd_link_info *info) argument
[all...]
H A Dbfdwin.c109 bfd_get_file_window (bfd *abfd, argument
121 abfd, (long) offset, (long) size,
142 && (abfd->flags & BFD_IN_MEMORY) == 0)
150 while (abfd->my_archive != NULL)
152 offset += abfd->origin;
153 abfd = abfd->my_archive;
155 f = bfd_cache_lookup (abfd);
231 if (bfd_seek (abfd, offset, SEEK_SET) != 0)
233 i->size = bfd_bread (i->data, size, abfd);
[all...]
H A Delf32-sh64.c115 sh64_elf_new_section_hook (bfd *abfd, asection *sec) argument
120 sdata = (struct _sh64_elf_section_data *) bfd_zalloc (abfd, amt);
125 return _bfd_elf_new_section_hook (abfd, sec);
151 sh64_elf_set_mach_from_flags (bfd *abfd) argument
153 flagword flags = elf_elfheader (abfd)->e_flags;
160 bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh5);
260 sh64_backend_section_from_shdr (bfd *abfd, Elf_Internal_Shdr *hdr, argument
286 if (! _bfd_elf_make_section_from_shdr (abfd, hdr, name))
290 && ! bfd_set_section_flags (abfd, hdr->bfd_section,
291 bfd_get_section_flags (abfd,
338 sh64_elf_set_private_flags(bfd *abfd, flagword flags) argument
378 sh64_elf_add_symbol_hook(bfd *abfd, struct bfd_link_info *info, Elf_Internal_Sym *sym, const char **namep, flagword *flagsp ATTRIBUTE_UNUSED, asection **secp, bfd_vma *valp) argument
497 shmedia_prepare_reloc(struct bfd_link_info *info, bfd *abfd, asection *input_section, bfd_byte *contents, const Elf_Internal_Rela *rel, bfd_vma *relocation) argument
638 sh64_elf_final_write_processing(bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED) argument
[all...]
H A Dcoff-ppc.c187 ppc_coff_link_hash_table_init (table, abfd, newfunc)
189 bfd *abfd;
194 return _bfd_coff_link_hash_table_init (&table->root, abfd, newfunc);
200 ppc_coff_link_hash_table_create (abfd)
201 bfd *abfd;
209 if (! ppc_coff_link_hash_table_init (ret, abfd,
324 static bfd_reloc_status_type ppc_refhi_reloc PARAMS ((bfd *abfd,
332 static bfd_reloc_status_type ppc_reflo_reloc PARAMS ((bfd *abfd,
340 static bfd_reloc_status_type ppc_pair_reloc PARAMS ((bfd *abfd,
349 static bfd_reloc_status_type ppc_toc16_reloc PARAMS ((bfd *abfd,
[all...]
H A Delf32-d10v.c29 PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
215 bfd_elf32_bfd_reloc_type_lookup (abfd, code)
216 bfd *abfd ATTRIBUTE_UNUSED;
235 d10v_info_to_howto_rel (abfd, cache_ptr, dst)
236 bfd *abfd ATTRIBUTE_UNUSED;
285 elf32_d10v_gc_sweep_hook (abfd, info, sec, relocs)
286 bfd *abfd ATTRIBUTE_UNUSED;
300 elf32_d10v_check_relocs (abfd, info, sec, relocs)
301 bfd *abfd;
314 symtab_hdr = &elf_tdata (abfd)
[all...]
H A Delf32-v850.c36 PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
586 v850_elf_reloc_type_lookup (abfd, code)
587 bfd *abfd ATTRIBUTE_UNUSED;
609 v850_elf_info_to_howto_rel (abfd, cache_ptr, dst)
610 bfd *abfd ATTRIBUTE_UNUSED;
623 v850_elf_info_to_howto_rela (abfd, cache_ptr, dst)
624 bfd *abfd ATTRIBUTE_UNUSED;
641 v850_elf_check_relocs (abfd, info, sec, relocs)
642 bfd *abfd;
663 sec, abfd);
[all...]
H A Delf-eh-frame.c32 read_unsigned_leb128 (bfd *abfd ATTRIBUTE_UNUSED,
46 byte = bfd_get_8 (abfd, (bfd_byte *) buf);
60 read_signed_leb128 (bfd *abfd ATTRIBUTE_UNUSED,
74 byte = bfd_get_8 (abfd, (bfd_byte *) buf);
90 (VAR) = read_unsigned_leb128 (abfd, buf, &leb128_tmp); \
98 (VAR) = read_signed_leb128 (abfd, buf, &leb128_tmp); \
131 read_value (bfd *abfd, bfd_byte *buf, int width, int is_signed) argument
139 value = bfd_get_signed_16 (abfd, buf);
141 value = bfd_get_16 (abfd, buf);
145 value = bfd_get_signed_32 (abfd, bu
166 write_value(bfd *abfd, bfd_byte *buf, bfd_vma value, int width) argument
209 _bfd_elf_discard_section_eh_frame(bfd *abfd, struct bfd_link_info *info, asection *sec, bfd_boolean (*reloc_symbol_deleted_p) (bfd_vma, void *), struct elf_reloc_cookie *cookie) argument
641 _bfd_elf_discard_section_eh_frame_hdr(bfd *abfd, struct bfd_link_info *info) argument
672 bfd *abfd; local
793 _bfd_elf_write_section_eh_frame(bfd *abfd, struct bfd_link_info *info, asection *sec, bfd_byte *contents) argument
1095 _bfd_elf_write_section_eh_frame_hdr(bfd *abfd, struct bfd_link_info *info) argument
[all...]
H A Dlibecoff.h33 #define ecoff_backend(abfd) \
34 ((struct ecoff_backend_data *) (abfd)->xvec->backend_data)
82 #define ecoff_data(abfd) ((abfd)->tdata.ecoff_obj_data)
196 #define ecoff_section_data(abfd, sec) \
207 bfd *abfd; member in struct:ecoff_link_hash_entry
232 extern bfd_boolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd));
233 extern const bfd_target *_bfd_ecoff_archive_p PARAMS ((bfd *abfd));
262 extern bfd_boolean _bfd_ecoff_slurp_armap PARAMS ((bfd *abfd));
278 extern long _bfd_ecoff_get_symtab_upper_bound PARAMS ((bfd *abfd));
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Di386-cygwin-tdep.c54 i386_cygwin_osabi_sniffer (bfd * abfd) argument
56 char *target_name = bfd_get_target (abfd);
H A Di386ly-tdep.c63 i386lynx_coff_osabi_sniffer (bfd *abfd)
65 if (strcmp (bfd_get_target (abfd), "coff-i386-lynx") == 0)
61 i386lynx_coff_osabi_sniffer(bfd *abfd) argument
H A Dns32knbsd-tdep.c56 ns32knbsd_aout_osabi_sniffer (bfd *abfd) argument
58 if (strcmp (bfd_get_target (abfd), "a.out-ns32k-netbsd") == 0)
H A Dexec.c336 add_to_section_table (bfd *abfd, struct bfd_section *asect,
342 aflag = bfd_get_section_flags (abfd, asect);
345 if (0 == bfd_section_size (abfd, asect))
347 (*table_pp)->bfd = abfd;
349 (*table_pp)->addr = bfd_section_vma (abfd, asect);
350 (*table_pp)->endaddr = (*table_pp)->addr + bfd_section_size (abfd, asect);
377 bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
384 if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0)
387 if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text"))
389 vp->tstart = bfd_section_vma (abfd, sec
335 add_to_section_table(bfd *abfd, struct bfd_section *asect, void *table_pp_char) argument
375 bfdsec_to_vmap(struct bfd *abfd, struct bfd_section *sect, void *arg3) argument
405 map_vmap(bfd *abfd, bfd *arch) argument
522 print_section_info(struct target_ops *t, bfd *abfd) argument
[all...]
/haiku-fatelf/src/bin/gdb/opcodes/
H A Ddisassemble.c81 disassembler (abfd)
82 bfd *abfd;
84 enum bfd_architecture a = bfd_get_arch (abfd);
105 disassemble = arc_get_disassembler (abfd);
111 if (bfd_big_endian (abfd))
124 disassemble = cris_get_disassembler (abfd);
150 if (bfd_get_mach (abfd) == bfd_mach_h8300h
151 || bfd_get_mach (abfd) == bfd_mach_h8300hn)
153 else if (bfd_get_mach (abfd) == bfd_mach_h8300s
154 || bfd_get_mach (abfd)
[all...]

Completed in 229 milliseconds

1234567891011>>