Home
last modified time | relevance | path

Searched refs:in_attr (Results 1 – 8 of 8) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Delf-attrs.c344 obj_attribute *in_attr; in _bfd_elf_copy_obj_attributes() local
356 in_attr in _bfd_elf_copy_obj_attributes()
362 out_attr->type = in_attr->type; in _bfd_elf_copy_obj_attributes()
363 out_attr->i = in_attr->i; in _bfd_elf_copy_obj_attributes()
364 if (in_attr->s && *in_attr->s) in _bfd_elf_copy_obj_attributes()
365 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s); in _bfd_elf_copy_obj_attributes()
366 in_attr++; in _bfd_elf_copy_obj_attributes()
374 in_attr = &list->attr; in _bfd_elf_copy_obj_attributes()
375 switch (in_attr->type & (ATTR_TYPE_FLAG_INT_VAL | ATTR_TYPE_FLAG_STR_VAL)) in _bfd_elf_copy_obj_attributes()
378 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i); in _bfd_elf_copy_obj_attributes()
[all …]
Delf-s390-common.c264 obj_attribute *in_attr, *in_attrs; in elf_s390_merge_obj_attributes() local
284 in_attr = &in_attrs[Tag_GNU_S390_ABI_Vector]; in elf_s390_merge_obj_attributes()
287 if (in_attr->i > 2) in elf_s390_merge_obj_attributes()
290 in_attr->i); in elf_s390_merge_obj_attributes()
295 else if (in_attr->i != out_attr->i) in elf_s390_merge_obj_attributes()
299 if (in_attr->i && out_attr->i) in elf_s390_merge_obj_attributes()
305 ibfd, obfd, abi_str[in_attr->i], abi_str[out_attr->i]); in elf_s390_merge_obj_attributes()
307 if (in_attr->i > out_attr->i) in elf_s390_merge_obj_attributes()
308 out_attr->i = in_attr->i; in elf_s390_merge_obj_attributes()
Delf32-tic6x.c3736 obj_attribute *in_attr; in elf32_tic6x_merge_attributes() local
3755 in_attr = elf_known_obj_attributes_proc (ibfd); in elf32_tic6x_merge_attributes()
3762 < in_attr[Tag_ABI_stack_align_needed].i) in elf32_tic6x_merge_attributes()
3769 if (in_attr[Tag_ABI_stack_align_preserved].i in elf32_tic6x_merge_attributes()
3779 (in_attr[Tag_ABI_array_object_alignment].i); in elf32_tic6x_merge_attributes()
3797 (in_attr[Tag_ABI_array_object_align_expected].i); in elf32_tic6x_merge_attributes()
3835 out_attr[i].i = elf32_tic6x_merge_arch_attributes (in_attr[i].i, in elf32_tic6x_merge_attributes()
3841 out_attr[i].i = in_attr[i].i; in elf32_tic6x_merge_attributes()
3843 && in_attr[i].i != 0 in elf32_tic6x_merge_attributes()
3844 && out_attr[i].i != in_attr[i].i) in elf32_tic6x_merge_attributes()
[all …]
Delf32-msp430.c2411 obj_attribute *in_attr; in elf32_msp430_merge_mspabi_attributes() local
2435 in_attr = elf_known_obj_attributes_proc (ibfd); in elf32_msp430_merge_mspabi_attributes()
2439 if (in_attr[OFBA_MSPABI_Tag_ISA].i != out_attr[OFBA_MSPABI_Tag_ISA].i) in elf32_msp430_merge_mspabi_attributes()
2444 isa_type (in_attr[OFBA_MSPABI_Tag_ISA].i), in elf32_msp430_merge_mspabi_attributes()
2450 if (in_attr[OFBA_MSPABI_Tag_Code_Model].i != in elf32_msp430_merge_mspabi_attributes()
2456 code_model (in_attr[OFBA_MSPABI_Tag_Code_Model].i), in elf32_msp430_merge_mspabi_attributes()
2462 if (in_attr[OFBA_MSPABI_Tag_Code_Model].i == 2 in elf32_msp430_merge_mspabi_attributes()
2472 if (in_attr[OFBA_MSPABI_Tag_Data_Model].i != in elf32_msp430_merge_mspabi_attributes()
2478 data_model (in_attr[OFBA_MSPABI_Tag_Data_Model].i), in elf32_msp430_merge_mspabi_attributes()
2484 if (in_attr[OFBA_MSPABI_Tag_Code_Model].i == 1 in elf32_msp430_merge_mspabi_attributes()
[all …]
Delfxx-mips.c14187 obj_attribute *in_attr; in infer_mips_abiflags() local
14199 in_attr = elf_known_obj_attributes (abfd)[OBJ_ATTR_GNU]; in infer_mips_abiflags()
14200 abiflags->fp_abi = in_attr[Tag_GNU_MIPS_ABI_FP].i; in infer_mips_abiflags()
15112 obj_attribute *in_attr; in mips_elf_merge_obj_attributes() local
15118 in_attr = elf_known_obj_attributes (ibfd)[OBJ_ATTR_GNU]; in mips_elf_merge_obj_attributes()
15119 if (!abi_fp_bfd && in_attr[Tag_GNU_MIPS_ABI_FP].i != Val_GNU_MIPS_ABI_FP_ANY) in mips_elf_merge_obj_attributes()
15124 && in_attr[Tag_GNU_MIPS_ABI_MSA].i != Val_GNU_MIPS_ABI_MSA_ANY) in mips_elf_merge_obj_attributes()
15142 if (in_attr[Tag_GNU_MIPS_ABI_FP].i != out_attr[Tag_GNU_MIPS_ABI_FP].i) in mips_elf_merge_obj_attributes()
15147 in_fp = in_attr[Tag_GNU_MIPS_ABI_FP].i; in mips_elf_merge_obj_attributes()
15157 out_attr[Tag_GNU_MIPS_ABI_FP].i = in_attr[Tag_GNU_MIPS_ABI_FP].i; in mips_elf_merge_obj_attributes()
[all …]
Delf32-ppc.c4655 obj_attribute *in_attr, *in_attrs; in _bfd_elf_ppc_merge_fp_attributes() local
4661 in_attr = &in_attrs[Tag_GNU_Power_ABI_FP]; in _bfd_elf_ppc_merge_fp_attributes()
4664 if (in_attr->i != out_attr->i) in _bfd_elf_ppc_merge_fp_attributes()
4666 int in_fp = in_attr->i & 3; in _bfd_elf_ppc_merge_fp_attributes()
4691 in_fp = in_attr->i & 0xc; in _bfd_elf_ppc_merge_fp_attributes()
4724 obj_attribute *in_attr, *in_attrs; in ppc_elf_merge_obj_attributes() local
4734 in_attr = &in_attrs[Tag_GNU_Power_ABI_Vector]; in ppc_elf_merge_obj_attributes()
4736 if (in_attr->i != out_attr->i) in ppc_elf_merge_obj_attributes()
4738 int in_vec = in_attr->i & 3; in ppc_elf_merge_obj_attributes()
4772 in_attr = &in_attrs[Tag_GNU_Power_ABI_Struct_Return]; in ppc_elf_merge_obj_attributes()
[all …]
Delfxx-sparc.c4949 obj_attribute *in_attr, *in_attrs; in _bfd_sparc_elf_merge_private_bfd_data() local
4967 in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS]; in _bfd_sparc_elf_merge_private_bfd_data()
4970 out_attr->i |= in_attr->i; in _bfd_sparc_elf_merge_private_bfd_data()
4973 in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS2]; in _bfd_sparc_elf_merge_private_bfd_data()
4976 out_attr->i |= in_attr->i; in _bfd_sparc_elf_merge_private_bfd_data()
/toolchain/binutils/binutils-2.27/gold/
Dattributes.cc402 const Object_attribute* in_attr = in merge() local
407 if (in_attr->int_value() > 0 in merge()
408 && in_attr->string_value() != "gnu") in merge()
411 name, in_attr->string_value().c_str()); in merge()
415 if (in_attr->int_value() != out_attr->int_value() in merge()
416 || in_attr->string_value() != out_attr->string_value()) in merge()
420 name, in_attr->int_value(), in merge()
421 in_attr->string_value().c_str(), in merge()