Searched refs:obfd (Results 1 - 25 of 152) sorted by relevance

1234567

/haiku-buildtools/binutils/bfd/
H A Delf32-rx.h21 void rx_additional_link_map_text (bfd *obfd, struct bfd_link_info *info, FILE *mapfile);
H A Delf-linux-core.h56 swap_linux_prpsinfo32_out (bfd *obfd, argument
60 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
61 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
62 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
63 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
64 bfd_put_32 (obfd, from->pr_flag, to->pr_flag);
65 bfd_put_16 (obfd, from->pr_uid, to->pr_uid);
66 bfd_put_16 (obfd, from->pr_gid, to->pr_gid);
67 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
68 bfd_put_32 (obfd, fro
104 swap_linux_prpsinfo64_out(bfd *obfd, const struct elf_internal_linux_prpsinfo *from, struct elf_external_linux_prpsinfo64 *to) argument
[all...]
H A Delf32-sh64.c190 sh64_elf_copy_private_data (bfd * ibfd, bfd * obfd) argument
193 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
196 BFD_ASSERT (!elf_flags_init (obfd)
197 || (elf_elfheader (obfd)->e_flags
200 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
202 return _bfd_elf_copy_private_bfd_data (ibfd, obfd);
208 bfd *obfd = info->output_bfd; local
215 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
218 if (bfd_get_arch_size (ibfd) != bfd_get_arch_size (obfd))
223 && bfd_get_arch_size (obfd)
316 sh64_bfd_elf_copy_private_section_data(bfd *ibfd, asection *isec, bfd *obfd, asection *osec) argument
[all...]
H A Dcpu-arm.c159 bfd_arm_merge_machines (bfd *ibfd, bfd *obfd) argument
162 unsigned int out = bfd_get_mach (obfd);
166 bfd_set_arch_mach (obfd, bfd_arch_arm, in);
173 bfd_set_arch_mach (obfd, bfd_arch_arm, bfd_mach_arm_unknown);
194 ibfd, obfd);
206 obfd, ibfd);
211 bfd_set_arch_mach (obfd, bfd_arch_arm, in);
H A Delf-s390-common.c264 bfd *obfd = info->output_bfd; local
268 if (!elf_known_obj_attributes_proc (obfd)[0].i)
271 _bfd_elf_copy_obj_attributes (ibfd, obfd);
275 elf_known_obj_attributes_proc (obfd)[0].i = 1;
281 out_attrs = elf_known_obj_attributes (obfd)[OBJ_ATTR_GNU];
296 (_("Warning: %B uses unknown vector ABI %d"), obfd,
309 ibfd, obfd, abi_str[in_attr->i], abi_str[out_attr->i]);
H A Delf-attrs.c342 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) argument
351 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
359 = &elf_known_obj_attributes (obfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE];
365 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s);
378 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i);
381 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag,
385 bfd_elf_add_obj_attr_int_string (obfd, vendor, list->tag,
576 bfd *obfd = info->output_bfd; local
589 out_attr = &elf_known_obj_attributes (obfd)[vendor][Tag_compatibility];
622 _bfd_elf_merge_unknown_attribute_low (bfd *ibfd, bfd *obfd, in argument
659 _bfd_elf_merge_unknown_attribute_list(bfd *ibfd, bfd *obfd) argument
[all...]
H A Dcoff-stgo32.c379 to the new obfd. */
382 go32_stubbed_coff_bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd) argument
385 if (ibfd->xvec != obfd->xvec)
394 if (coff_data (obfd)->go32stub == NULL)
395 coff_data (obfd)->go32stub = bfd_alloc (obfd,
399 if (coff_data (obfd)->go32stub != NULL)
400 memcpy (coff_data (obfd)->go32stub, coff_data (ibfd)->go32stub,
H A Delf32-sparc.c72 bfd *obfd = info->output_bfd; local
79 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
93 if (bfd_get_mach (obfd) < ibfd_mach)
94 bfd_set_arch_mach (obfd, bfd_arch_sparc, ibfd_mach);
275 bfd *obfd ATTRIBUTE_UNUSED,
H A Delf32-visium.c744 visium_elf_copy_private_bfd_data (bfd *ibfd, bfd *obfd) argument
747 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
750 BFD_ASSERT (!elf_flags_init (obfd)
751 || elf_elfheader (obfd)->e_flags ==
754 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
755 elf_flags_init (obfd) = TRUE;
758 _bfd_elf_copy_obj_attributes (ibfd, obfd);
769 bfd *obfd = info->output_bfd; local
783 old_flags = elf_elfheader (obfd)->e_flags;
785 if (!elf_flags_init (obfd))
[all...]
H A Delf32-mt.c509 bfd *obfd = info->output_bfd;
521 if (strcmp (obfd->arch_info->arch_name, "mt") != 0)
525 old_flags = elf_elfheader (obfd)->e_flags;
529 ibfd, old_flags, new_flags, elf_flags_init (obfd) ? "yes" : "no");
532 if (!elf_flags_init (obfd))
535 elf_flags_init (obfd) = TRUE;
546 obfd->arch_info = ibfd->arch_info;
547 elf_elfheader (obfd)->e_flags = old_flags;
508 bfd *obfd = info->output_bfd; local
/haiku-buildtools/binutils/binutils/
H A Darsup.c43 static bfd *obfd; variable
159 obfd = bfd_openw (tname, NULL);
161 if (!obfd)
196 ptr = &(obfd->archive_head);
207 bfd_set_format (obfd, bfd_archive);
209 obfd->has_armap = 1;
210 obfd->is_thin_archive = 0;
221 abfd->archive_next = obfd->archive_head;
222 obfd->archive_head = abfd;
228 if (obfd
[all...]
H A Dobjcopy.c1366 create_new_symbol (struct addsym_node *ptr, bfd *obfd)
1368 asymbol *sym = bfd_make_empty_symbol (obfd);
1375 asection *sec = bfd_get_section_by_name (obfd, ptr->section);
1390 filter_symbols (bfd *abfd, bfd *obfd, asymbol **osyms,
1415 to[dst_count++] = create_new_symbol (ptr, obfd);
1442 && (bfd_get_symbol_leading_char (obfd) != '\0')
1449 name[0] = bfd_get_symbol_leading_char (obfd);
1467 *ptr++ = bfd_get_symbol_leading_char (obfd);
1588 to[dst_count++] = create_new_symbol (ptr, obfd);
1757 copy_unknown_object (bfd *ibfd, bfd *obfd)
1364 create_new_symbol(struct addsym_node *ptr, bfd *obfd) argument
1388 filter_symbols(bfd *abfd, bfd *obfd, asymbol **osyms, asymbol **isyms, long symcount) argument
1755 copy_unknown_object(bfd *ibfd, bfd *obfd) argument
1825 copy_object(bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch) argument
2553 copy_archive(bfd *ibfd, bfd *obfd, const char *output_target, bfd_boolean force_output_target, const bfd_arch_info_type *input_arch) argument
2561 bfd *obfd; member in struct:name_list
2835 bfd *obfd; local
2861 bfd *obfd; local
2990 setup_bfd_headers(bfd *ibfd, bfd *obfd) argument
3012 bfd *obfd = (bfd *) obfdarg; local
3262 bfd *obfd = (bfd *) obfdarg; local
3352 bfd *obfd = (bfd *) obfdarg; local
3570 write_debugging_info(bfd *obfd, void *dhandle, long *symcountp ATTRIBUTE_UNUSED, asymbol ***symppp ATTRIBUTE_UNUSED) argument
[all...]
/haiku-buildtools/legacy/binutils/binutils/
H A Darsup.c41 static bfd *obfd; variable
157 obfd = bfd_openw (tname, NULL);
159 if (!obfd)
194 ptr = &(obfd->archive_head);
205 bfd_set_format (obfd, bfd_archive);
207 obfd->has_armap = 1;
218 abfd->next = obfd->archive_head;
219 obfd->archive_head = abfd;
225 if (obfd == NULL)
245 if (!obfd)
[all...]
H A Dobjcopy.c819 filter_symbols (bfd *abfd, bfd *obfd, asymbol **osyms,
861 && (bfd_get_symbol_leading_char (obfd) != '\0')
868 name[0] = bfd_get_symbol_leading_char (obfd);
886 *ptr++ = bfd_get_symbol_leading_char (obfd);
1141 copy_unknown_object (bfd *ibfd, bfd *obfd)
1171 bfd_get_archive_filename (ibfd), bfd_get_filename (obfd));
1189 if (bfd_bwrite (cbuf, (bfd_size_type) tocopy, obfd)
1192 bfd_nonfatal (bfd_get_filename (obfd));
1200 chmod (bfd_get_filename (obfd), buf.st_mode);
1209 copy_object (bfd *ibfd, bfd *obfd)
817 filter_symbols(bfd *abfd, bfd *obfd, asymbol **osyms, asymbol **isyms, long symcount) argument
1139 copy_unknown_object(bfd *ibfd, bfd *obfd) argument
1207 copy_object(bfd *ibfd, bfd *obfd) argument
1700 copy_archive(bfd *ibfd, bfd *obfd, const char *output_target) argument
1706 bfd *obfd; member in struct:name_list
1879 bfd *obfd; local
1894 bfd *obfd; local
2011 setup_bfd_headers(bfd *ibfd, bfd *obfd) argument
2039 bfd *obfd = obfdarg; local
2184 bfd *obfd = obfdarg; local
2412 write_debugging_info(bfd *obfd, void *dhandle, long *symcountp ATTRIBUTE_UNUSED, asymbol ***symppp ATTRIBUTE_UNUSED) argument
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020404-1.c52 bfd *obfd; local
55 obfd = bfd_openw_with_cleanup (filename, target, mode);
56 osection = bfd_make_section_anyway (obfd, ".newsec");
57 bfd_set_section_size (obfd, osection, len);
60 bfd_set_section_flags (obfd, osection, 0x203);
62 bfd_set_section_contents (obfd, osection, buf, 0, len);
/haiku-buildtools/legacy/binutils/bfd/
H A Delf32-mt.c531 mt_elf_copy_private_bfd_data (bfd * ibfd, bfd * obfd)
534 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
537 BFD_ASSERT (!elf_flags_init (obfd)
538 || elf_elfheader (obfd)->e_flags == elf_elfheader (ibfd)->e_flags);
540 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
541 elf_flags_init (obfd) = TRUE;
549 mt_elf_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
555 if (_bfd_generic_verify_endian_match (ibfd, obfd) == FALSE)
562 if (strcmp (obfd->arch_info->arch_name, "mt") != 0)
566 old_flags = elf_elfheader (obfd)
530 mt_elf_copy_private_bfd_data(bfd * ibfd, bfd * obfd) argument
548 mt_elf_merge_private_bfd_data(bfd * ibfd, bfd * obfd) argument
[all...]
H A Delf32-sh64.c186 sh64_elf_copy_private_data (bfd * ibfd, bfd * obfd) argument
189 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
192 BFD_ASSERT (!elf_flags_init (obfd)
193 || (elf_elfheader (obfd)->e_flags
196 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
201 sh64_elf_merge_private_data (bfd *ibfd, bfd *obfd) argument
205 if (! _bfd_generic_verify_endian_match (ibfd, obfd))
209 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
212 if (bfd_get_arch_size (ibfd) != bfd_get_arch_size (obfd))
217 && bfd_get_arch_size (obfd)
307 sh64_bfd_elf_copy_private_section_data(bfd *ibfd, asection *isec, bfd *obfd, asection *osec) argument
[all...]
H A Dcpu-arm.c154 bfd_arm_merge_machines (bfd *ibfd, bfd *obfd) argument
157 unsigned int out = bfd_get_mach (obfd);
161 bfd_set_arch_mach (obfd, bfd_arch_arm, in);
168 bfd_set_arch_mach (obfd, bfd_arch_arm, bfd_mach_arm_unknown);
186 ibfd, obfd);
195 obfd, ibfd);
200 bfd_set_arch_mach (obfd, bfd_arch_arm, in);
H A Delf32-sparc.c70 elf32_sparc_merge_private_bfd_data (bfd *ibfd, bfd *obfd) argument
78 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
92 if (bfd_get_mach (obfd) < ibfd_mach)
93 bfd_set_arch_mach (obfd, bfd_arch_sparc, ibfd_mach);
H A Dcpu-sh.c488 sh_merge_bfd_arch (bfd *ibfd, bfd *obfd) argument
492 if (! _bfd_generic_verify_endian_match (ibfd, obfd))
495 old_arch = sh_get_arch_up_from_bfd_mach (bfd_get_mach (obfd));
514 bfd_printable_name (obfd),
520 bfd_default_set_arch_mach (obfd, bfd_arch_sh,
H A Delf32-iq2000.c733 iq2000_elf_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
736 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
739 BFD_ASSERT (!elf_flags_init (obfd)
740 || elf_elfheader (obfd)->e_flags == elf_elfheader (ibfd)->e_flags);
742 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
743 elf_flags_init (obfd) = TRUE; argument
751 iq2000_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
761 old_flags = elf_elfheader (obfd)->e_flags;
763 if (!elf_flags_init (obfd))
766 elf_flags_init (obfd)
725 iq2000_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd) argument
[all...]
H A Delf32-mcore.c52 mcore_elf_merge_private_bfd_data (bfd * ibfd, bfd * obfd) argument
58 if (! _bfd_generic_verify_endian_match (ibfd, obfd))
62 || bfd_get_flavour (obfd) != bfd_target_elf_flavour)
66 old_flags = elf_elfheader (obfd)->e_flags;
68 if (! elf_flags_init (obfd))
71 elf_flags_init (obfd) = TRUE;
72 elf_elfheader (obfd)->e_flags = new_flags;
H A Dcoff-stgo32.c393 to the new obfd. */
396 go32_stubbed_coff_bfd_copy_private_bfd_data (ibfd, obfd)
398 bfd *obfd;
401 if (ibfd->xvec != obfd->xvec)
406 || bfd_coff_go32stub (obfd) == NULL)
410 memcpy (bfd_coff_go32stub (obfd), bfd_coff_go32stub (ibfd), STUBSIZE);
/haiku-buildtools/binutils/ld/
H A Dldmain.c934 bfd *obfd;
946 obfd = h->u.def.section->owner;
951 obfd = NULL;
981 nbfd = obfd;
984 obfd = NULL;
988 if (obfd != NULL)
989 einfo (_("%D: first defined here\n"), obfd, osec, oval);
1011 bfd *obfd;
1022 obfd = h->u.c.p->section->owner;
1028 obfd
932 bfd *obfd; local
1009 bfd *obfd; local
[all...]
/haiku-buildtools/legacy/binutils/ld/
H A Dldmain.c996 bfd *obfd,
1018 if (obfd != NULL)
1019 einfo (_("%D: first defined here\n"), obfd, osec, oval);
1038 bfd *obfd,
1055 if (obfd != NULL)
1056 einfo (_("%B: warning: common is here\n"), obfd);
1065 if (obfd != NULL)
1066 einfo (_("%B: warning: defined here\n"), obfd);
1075 if (obfd != NULL)
1076 einfo (_("%B: warning: larger common is here\n"), obfd);
992 multiple_definition(struct bfd_link_info *info ATTRIBUTE_UNUSED, const char *name, bfd *obfd, asection *osec, bfd_vma oval, bfd *nbfd, asection *nsec, bfd_vma nval) argument
1034 multiple_common(struct bfd_link_info *info ATTRIBUTE_UNUSED, const char *name, bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize, bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize) argument
[all...]

Completed in 306 milliseconds

1234567