Home
last modified time | relevance | path

Searched refs:xvec (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd-12.1/contrib/binutils/bfd/
H A Dlibpei.h303 #define bfd_target_pei_p(xvec) \ argument
304 (CONST_STRNEQ ((xvec)->name, "pei-"))
307 #define bfd_target_pei_arch(xvec) \ argument
308 ((xvec)->name + sizeof ("pei-") - 1)
311 #define bfd_target_efi_p(xvec) \ argument
312 (CONST_STRNEQ ((xvec)->name, "efi-app-"))
315 #define bfd_target_efi_arch(xvec) \ argument
316 ((xvec)->name + sizeof ("efi-app-") - 1)
321 (bfd_target_pei_p ((abfd)->xvec) \
322 || bfd_target_efi_p ((abfd)->xvec))
H A Dformat.c138 save_targ = abfd->xvec; in bfd_check_format_matches()
173 abfd->xvec = right_targ; /* Set the target as returned. */ in bfd_check_format_matches()
203 abfd->xvec = save_targ; in bfd_check_format_matches()
225 abfd->xvec = *target; /* Change BFD's target temporarily. */ in bfd_check_format_matches()
275 abfd->xvec = save_targ; in bfd_check_format_matches()
329 abfd->xvec = right_targ; /* Change BFD's target permanently. */ in bfd_check_format_matches()
345 abfd->xvec = save_targ; /* Restore original target type. */ in bfd_check_format_matches()
H A Dbfd-in.h287 #define bfd_asymbol_flavour(x) (bfd_asymbol_bfd(x)->xvec->flavour)
535 #define bfd_get_target(abfd) ((abfd)->xvec->name)
536 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
540 #define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG)
541 #define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE)
543 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
545 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
547 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
548 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
552 #define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types)
[all …]
H A Delfcore.h40 if (core_bfd->xvec != exec_bfd->xvec) in elf_core_file_matches_executable_p()
123 if (! (*abfd->xvec->_bfd_set_format[bfd_core]) (abfd)) in elf_core_file_p()
233 return abfd->xvec; in elf_core_file_p()
H A Dbfd.c870 if (abfd->xvec->flavour == bfd_target_elf_flavour) in bfd_get_arch_size()
962 if (abfd->xvec->flavour == bfd_target_ecoff_flavour) in bfd_get_gp_size()
964 else if (abfd->xvec->flavour == bfd_target_elf_flavour) in bfd_get_gp_size()
990 if (abfd->xvec->flavour == bfd_target_ecoff_flavour) in bfd_set_gp_size()
992 else if (abfd->xvec->flavour == bfd_target_elf_flavour) in bfd_set_gp_size()
1008 if (abfd->xvec->flavour == bfd_target_ecoff_flavour) in _bfd_get_gp_value()
1010 else if (abfd->xvec->flavour == bfd_target_elf_flavour) in _bfd_get_gp_value()
1026 if (abfd->xvec->flavour == bfd_target_ecoff_flavour) in _bfd_set_gp_value()
1028 else if (abfd->xvec->flavour == bfd_target_elf_flavour) in _bfd_set_gp_value()
1329 fn = abfd2->xvec->_bfd_get_relocated_section_contents; in bfd_get_relocated_section_contents()
H A Dreloc.c709 if (abfd->xvec->flavour == bfd_target_coff_flavour in bfd_perform_relocation()
710 && strcmp (abfd->xvec->name, "coff-Intel-little") != 0 in bfd_perform_relocation()
711 && strcmp (abfd->xvec->name, "coff-Intel-big") != 0) in bfd_perform_relocation()
1092 if (abfd->xvec->flavour == bfd_target_coff_flavour in bfd_install_relocation()
1093 && strcmp (abfd->xvec->name, "coff-Intel-little") != 0 in bfd_install_relocation()
1094 && strcmp (abfd->xvec->name, "coff-Intel-big") != 0) in bfd_install_relocation()
1167 if (strcmp (abfd->xvec->name, "coff-z8k") != 0) in bfd_install_relocation()
H A Dlibbfd.c848 if (abfd->xvec->_bfd_get_section_contents in _bfd_generic_get_section_contents_in_window()
941 if (ibfd->xvec->byteorder != obfd->xvec->byteorder in _bfd_generic_verify_endian_match()
942 && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN in _bfd_generic_verify_endian_match()
943 && obfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN) in _bfd_generic_verify_endian_match()
H A Dbfd-in2.h294 #define bfd_asymbol_flavour(x) (bfd_asymbol_bfd(x)->xvec->flavour)
542 #define bfd_get_target(abfd) ((abfd)->xvec->name)
543 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
550 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
552 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
4589 const struct bfd_target *xvec; member
4969 ((*((bfd)->xvec->message)) arglist)
4974 (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
4975 ((*((bfd)->xvec->message)) arglist) : \
4979 (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist)
[all …]
H A Delf64-sparc.c378 && (*ptr->sym_ptr_ptr)->the_bfd->xvec != abfd->xvec in elf64_sparc_write_relocs()
443 if (info->hash->creator != abfd->xvec in elf64_sparc_add_symbol_hook()
512 && info->hash->creator == abfd->xvec) in elf64_sparc_add_symbol_hook()
H A Dsco5-core.c186 return abfd->xvec; /* Done for version 1 */
314 return abfd->xvec;
H A Dpeicode.h1149 if (abfd->xvec == & TARGET_LITTLE_SYM) in pe_ILF_object_p()
1234 return abfd->xvec; in pe_ILF_object_p()
1338 if (bfd_target_efi_p (abfd->xvec)) in pe_bfd_object_p()
1339 arch = pe_arch (bfd_target_efi_arch (abfd->xvec)); in pe_bfd_object_p()
1341 arch = pe_arch (bfd_target_pei_arch (abfd->xvec)); in pe_bfd_object_p()
H A Dopncls.c105 nbfd->xvec = obfd->xvec; in _bfd_new_bfd_contained_in()
765 nbfd->xvec = templ->xvec; in bfd_create()
H A Daoutf1.h678 return abfd->xvec; in sunos4_core_file_p()
696 if (core_bfd->xvec != exec_bfd->xvec) in sunos4_core_file_matches_executable_p()
H A Dfreebsd.h118 if (strcmp (abfd->xvec->name, "a.out-m68k4k-netbsd") == 0) in MY()
H A Darchive.c156 #define ar_padchar(abfd) ((abfd)->xvec->ar_pad_char)
157 #define ar_maxnamelen(abfd) ((abfd)->xvec->ar_max_namelen)
671 && first->xvec != abfd->xvec) in bfd_generic_archive_p()
681 return abfd->xvec; in bfd_generic_archive_p()
1229 unsigned int maxname = abfd->xvec->ar_max_namelen; in _bfd_construct_extended_name_table()
H A Di386linux.c358 && abfd->xvec == info->hash->creator)
367 && abfd->xvec == info->hash->creator)
561 if (output_bfd->xvec != &MY(vec))
H A Dsparclinux.c359 && abfd->xvec == info->hash->creator)
368 && abfd->xvec == info->hash->creator)
561 if (output_bfd->xvec != &MY(vec))
H A Dxcofflink.c562 if (info->hash->creator != abfd->xvec) in xcoff_link_add_dynamic_symbols()
788 if (info->hash->creator == abfd->xvec) in xcoff_link_create_extra_sections()
1296 && info->hash->creator == abfd->xvec in xcoff_link_add_symbols()
1666 if (info->hash->creator == abfd->xvec) in xcoff_link_add_symbols()
1791 if (info->hash->creator == abfd->xvec) in xcoff_link_add_symbols()
2068 && info->hash->creator == abfd->xvec) in xcoff_link_check_ar_symbols()
2182 && (info->hash->creator == member->xvec) in _bfd_xcoff_bfd_link_add_symbols()
2760 || (h->root.u.def.section->owner->xvec in xcoff_build_ldsyms()
3561 BFD_ASSERT (impbfd->xvec == finfo->output_bfd->xvec); in xcoff_link_input_bfd()
4705 BFD_ASSERT (impbfd->xvec == output_bfd->xvec); in xcoff_write_global_symbol()
[all …]
H A Dptrace-core.c128 return abfd->xvec;
H A Dosf-core.c151 return abfd->xvec;
/freebsd-12.1/gnu/usr.bin/binutils/libbfd/
H A Dbfd.h300 #define bfd_asymbol_flavour(x) (bfd_asymbol_bfd(x)->xvec->flavour)
548 #define bfd_get_target(abfd) ((abfd)->xvec->name)
549 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
556 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
558 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
4596 const struct bfd_target *xvec; member
4976 ((*((bfd)->xvec->message)) arglist)
4981 (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
4982 ((*((bfd)->xvec->message)) arglist) : \
4986 (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist)
[all …]
/freebsd-12.1/contrib/binutils/binutils/
H A Dar.c298 && strlen (filename) > abfd->xvec->ar_max_namelen) in normalize()
303 s = (char *) xmalloc (abfd->xvec->ar_max_namelen + 1); in normalize()
304 memcpy (s, filename, abfd->xvec->ar_max_namelen); in normalize()
305 s[abfd->xvec->ar_max_namelen] = '\0'; in normalize()
H A Dobjdump.c1947 struct bfd_target *xvec; in disassemble_data() local
1949 xvec = xmalloc (sizeof (struct bfd_target)); in disassemble_data()
1950 memcpy (xvec, abfd->xvec, sizeof (struct bfd_target)); in disassemble_data()
1951 xvec->byteorder = endian; in disassemble_data()
1952 abfd->xvec = xvec; in disassemble_data()
2851 abfd->xvec->name); in dump_bfd()
/freebsd-12.1/contrib/diff/src/
H A Danalyze.c42 static lin *xvec, *yvec; /* Vectors being compared. */ variable
97 lin const *const xv = xvec; /* Still more help for the compiler. */ in diag()
332 lin const *xv = xvec; /* Help the compiler. */ in compareseq()
883 xvec = cmp->file[0].undiscarded; in diff_2_files()
/freebsd-12.1/contrib/binutils/ld/emultempl/
H A Delf-generic.em49 if (output_bfd->xvec->flavour == bfd_target_elf_flavour

1234