/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
D | mips64r2-ill.s | 9 # dext macro position/size checks 17 # constraint: 0 < size <= 64 18 dext $4, $5, 0, 0 # error (size) 21 dext $4, $5, 0, 65 # error (size) 23 # constraint: 0 < (pos+size) <= 64 31 dext $4, $5, 1, 64 # error (size) 33 dext $4, $5, 63, 2 # error (size) 34 dext $4, $5, 63, 63 # error (size) 35 dext $4, $5, 63, 64 # error (size) 37 # dextm instruction position/size checks [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
D | bundle-lock.s | 6 .macro offset_sequence size, offset 8 sequence_\size\()_offset_\offset\(): 12 test_sequence \size 15 .macro test_offsets size argument 16 offset_sequence \size, 0 17 offset_sequence \size, 1 18 offset_sequence \size, 2 19 offset_sequence \size, 3 20 offset_sequence \size, 4 21 offset_sequence \size, 5 [all …]
|
/toolchain/binutils/binutils-2.25/gold/ |
D | x86_64.cc | 87 template<int size> 91 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, false> Reloc_section; 132 Sized_relobj_file<size, false>* relobj, 222 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_first_plt_entry() 223 typename elfcpp::Elf_types<size>::Elf_Addr plt_address) in fill_first_plt_entry() 230 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_plt_entry() 231 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_plt_entry() 243 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_tlsdesc_entry() 244 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_tlsdesc_entry() 245 typename elfcpp::Elf_types<size>::Elf_Addr got_base, in fill_tlsdesc_entry() [all …]
|
D | mips.cc | 53 template<int size, bool big_endian> 56 template<int size, bool big_endian> 59 template<int size, bool big_endian> 62 template<int size, bool big_endian> 65 template<int size, bool big_endian> 68 template<int size, bool big_endian> 71 template<int size> 74 template<int size, bool big_endian> 77 template<int size, bool big_endian> 82 template<int size, bool big_endian> [all …]
|
D | sparc.cc | 50 template<int size, bool big_endian> 53 template<int size, bool big_endian> 54 class Target_sparc : public Sized_target<size, big_endian> 57 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, big_endian> Reloc_section; 60 : Sized_target<size, big_endian>(&sparc_info), in Target_sparc() 74 Sized_relobj_file<size, big_endian>* object, 88 Sized_relobj_file<size, big_endian>* object, 108 relocate_section(const Relocate_info<size, big_endian>*, 115 typename elfcpp::Elf_types<size>::Elf_Addr view_address, 123 Sized_relobj_file<size, big_endian>* object, [all …]
|
D | aarch64.cc | 58 template<int size, bool big_endian> 61 template<int size, bool big_endian> 64 template<int size, bool big_endian> 67 template<int size, bool big_endian> 425 template<int size, bool big_endian> 426 class Output_data_got_aarch64 : public Output_data_got<size, big_endian> 429 typedef typename elfcpp::Elf_types<size>::Elf_Addr Valtype; 431 : Output_data_got<size, big_endian>(), in Output_data_got_aarch64() 448 Sized_relobj_file<size, big_endian>* relobj, in add_static_reloc() argument 461 gold_assert(this->data_size() >= size / 8); in do_write() [all …]
|
D | tilegx.cc | 64 template<int size, bool big_endian> 68 typedef Output_data_reloc<elfcpp::SHT_RELA, true,size, big_endian> 72 Output_data_got<size, big_endian>* got, in Output_data_plt_tilegx() argument 82 Output_data_got<size, big_endian>* got, in Output_data_plt_tilegx() argument 110 Sized_relobj_file<size, big_endian>*, unsigned int); 171 typename elfcpp::Elf_types<size>::Elf_Addr, 173 typename elfcpp::Elf_types<size>::Elf_Addr, 202 Output_data_got<size, big_endian>* got_; 229 template<int size, bool big_endian> 230 class Target_tilegx : public Sized_target<size, big_endian> [all …]
|
D | powerpc.cc | 50 template<int size, bool big_endian> 53 template<int size, bool big_endian> 56 template<int size, bool big_endian> 59 template<int size, bool big_endian> 62 template<int size, bool big_endian> 65 template<int size, bool big_endian> 77 template<int size, bool big_endian> 78 class Powerpc_relobj : public Sized_relobj_file<size, big_endian> 81 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; 86 const typename elfcpp::Ehdr<size, big_endian>& ehdr) in Powerpc_relobj() argument [all …]
|
D | target-reloc.h | 42 template<int size, bool big_endian, typename Target_type, int sh_type, 49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument 58 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; in scan_relocs() 59 const int reloc_size = Reloc_types<sh_type, size, big_endian>::reloc_size; in scan_relocs() 60 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocs() 72 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info(); in scan_relocs() 73 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in scan_relocs() 74 unsigned int r_type = elfcpp::elf_r_type<size>(r_info); in scan_relocs() 79 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms in scan_relocs() 256 template<int size, bool big_endian, typename Target_type, int sh_type, [all …]
|
D | copy-relocs.cc | 36 template<int sh_type, int size, bool big_endian> 38 Copy_relocs<sh_type, size, big_endian>::copy_reloc( in copy_reloc() argument 41 Sized_symbol<size>* sym, in copy_reloc() 42 Sized_relobj_file<size, big_endian>* object, in copy_reloc() argument 46 Output_data_reloc<sh_type, true, size, big_endian>* reloc_section) in copy_reloc() 61 template<int sh_type, int size, bool big_endian> 63 Copy_relocs<sh_type, size, big_endian>::need_copy_reloc( in need_copy_reloc() 64 Sized_symbol<size>* sym, in need_copy_reloc() 65 Sized_relobj_file<size, big_endian>* object, in need_copy_reloc() argument 86 template<int sh_type, int size, bool big_endian> [all …]
|
D | symtab.h | 44 template<int size, bool big_endian> 46 template<int size, bool big_endian> 49 template<int size, bool big_endian> 51 template<int size, bool big_endian> 885 template<int size, bool big_endian> 888 const elfcpp::Sym<size, big_endian>&, unsigned int st_shndx, 920 template<int size, bool big_endian> 922 override_base(const elfcpp::Sym<size, big_endian>&, unsigned int st_shndx, 1072 template<int size> 1076 typedef typename elfcpp::Elf_types<size>::Elf_Addr Value_type; [all …]
|
D | incremental.cc | 52 template<int size, bool big_endian> 58 : Output_section_data(size / 8), inputs_(inputs), symtab_(symtab) in Output_section_incremental_inputs() 108 typedef elfcpp::Swap<size, big_endian> Swap; 114 static const int sizeof_addr = size / 8; 116 Incremental_inputs_reader<size, big_endian>::header_size; 118 Incremental_inputs_reader<size, big_endian>::input_entry_size; 120 Incremental_inputs_reader<size, big_endian>::object_info_size; 122 Incremental_inputs_reader<size, big_endian>::input_section_entry_size; 124 Incremental_inputs_reader<size, big_endian>::global_sym_entry_size; 126 Incremental_relocs_reader<size, big_endian>::reloc_size; [all …]
|
D | reloc-types.h | 37 template<int sh_type, int size, bool big_endian> 40 template<int size, bool big_endian> 41 struct Reloc_types<elfcpp::SHT_REL, size, big_endian> 43 typedef typename elfcpp::Rel<size, big_endian> Reloc; 44 typedef typename elfcpp::Rel_write<size, big_endian> Reloc_write; 45 static const int reloc_size = elfcpp::Elf_sizes<size>::rel_size; 47 static inline typename elfcpp::Elf_types<size>::Elf_Swxword 51 static inline typename elfcpp::Elf_types<size>::Elf_Swxword 57 typename elfcpp::Elf_types<size>::Elf_Swxword) 65 template<int size, bool big_endian> [all …]
|
D | reloc.h | 46 template<int size> 49 template<int size, bool big_endian> 52 template<int size> 55 template<int sh_type, bool dynamic, int size, bool big_endian> 295 gold_assert(i < this->reloc_strategies_.size()); in strategy() 319 template<int size, bool big_endian> 354 const Sized_relobj_file<size, big_endian>* object, in rel() argument 355 const Symbol_value<size>* psymval) in rel() 368 const Sized_relobj_file<size, big_endian>* object, in rel_unaligned() argument 369 const Symbol_value<size>* psymval) in rel_unaligned() [all …]
|
D | binary.cc | 49 Binary_to_elf::Binary_to_elf(elfcpp::EM machine, int size, bool big_endian, in Binary_to_elf() argument 51 : elf_machine_(machine), size_(size), big_endian_(big_endian), in Binary_to_elf() 120 template<int size, bool big_endian> 142 if (size == 32) in sized_convert() 144 else if (size == 64) in sized_convert() 181 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in sized_convert() 183 size_t output_size = (elfcpp::Elf_sizes<size>::ehdr_size in sized_convert() 184 + 5 * elfcpp::Elf_sizes<size>::shdr_size); in sized_convert() 200 this->write_file_header<size, big_endian>(&pout); in sized_convert() 202 this->write_section_header<size, big_endian>("", &shstrtab, elfcpp::SHT_NULL, in sized_convert() [all …]
|
D | copy-relocs.h | 49 template<int sh_type, int size, bool big_endian> 53 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reloc; 68 copy_reloc(Symbol_table*, Layout*, Sized_symbol<size>* sym, 69 Sized_relobj_file<size, big_endian>* object, 72 Output_data_reloc<sh_type, true, size, big_endian>*); 82 emit(Output_data_reloc<sh_type, true, size, big_endian>*); 86 emit_copy_reloc(Symbol_table*, Sized_symbol<size>*, 88 Output_data_reloc<sh_type, true, size, big_endian>*); 91 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; 92 typedef typename elfcpp::Elf_types<size>::Elf_Addr Addend; [all …]
|
/toolchain/binutils/binutils-2.25/elfcpp/ |
D | elfcpp.h | 57 template<int size> 611 template<int size> 613 elf_r_sym(typename Elf_types<size>::Elf_WXword); 629 template<int size> 631 elf_r_type(typename Elf_types<size>::Elf_WXword); 647 template<int size> 648 typename Elf_types<size>::Elf_WXword 991 template<int size> 995 static const int ehdr_size = sizeof(internal::Ehdr_data<size>); 997 static const int phdr_size = sizeof(internal::Phdr_data<size>); [all …]
|
D | elfcpp_file.h | 82 is_elf_file(const unsigned char* ehdr_buf, int size); 93 int* size, bool* big_endian, 102 template<int size, bool big_endian, typename File> 106 typedef Elf_file<size, big_endian, File> This; 109 static const int ehdr_size = Elf_sizes<size>::ehdr_size; 110 static const int phdr_size = Elf_sizes<size>::phdr_size; 111 static const int shdr_size = Elf_sizes<size>::shdr_size; 112 static const int sym_size = Elf_sizes<size>::sym_size; 113 static const int rel_size = Elf_sizes<size>::rel_size; 114 static const int rela_size = Elf_sizes<size>::rela_size; [all …]
|
D | elfcpp_internal.h | 46 template<int size> 53 typename Elf_types<size>::Elf_Addr e_entry; 54 typename Elf_types<size>::Elf_Off e_phoff; 55 typename Elf_types<size>::Elf_Off e_shoff; 67 template<int size> 72 typename Elf_types<size>::Elf_WXword sh_flags; 73 typename Elf_types<size>::Elf_Addr sh_addr; 74 typename Elf_types<size>::Elf_Off sh_offset; 75 typename Elf_types<size>::Elf_WXword sh_size; 78 typename Elf_types<size>::Elf_WXword sh_addralign; [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
D | bundle-lock.s | 10 .macro offset_sequence which, size, offset 12 \which\()_sequence_\size\()_offset_\offset\(): 16 test_sequence \size 19 .macro test_offsets_arm size argument 21 offset_sequence arm, \size, 0 22 offset_sequence arm, \size, 4 23 offset_sequence arm, \size, 8 24 offset_sequence arm, \size, 12 27 .macro test_offsets_thumb size argument 29 offset_sequence thumb, \size, 0 [all …]
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | w65-opc.h | 411 size += M==0 ? 2:1;\ 416 size += 1;\ 421 size += X==0 ? 2:1;\ 425 size += 0;\ 430 size += 1;\ 435 size += 2;\ 438 size += 0;\ 441 size += 0;\ 446 size += 1;\ 451 size += 1;\ [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
D | sections-1.d | 5 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 10 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 15 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 20 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 25 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 30 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 35 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 40 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 45 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 50 addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 [all …]
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | libbfd.c | 171 bfd_malloc (bfd_size_type size) in bfd_malloc() argument 175 if (size != (size_t) size) in bfd_malloc() 181 ptr = malloc ((size_t) size); in bfd_malloc() 182 if (ptr == NULL && (size_t) size != 0) in bfd_malloc() 191 bfd_malloc2 (bfd_size_type nmemb, bfd_size_type size) in bfd_malloc2() argument 195 if ((nmemb | size) >= HALF_BFD_SIZE_TYPE in bfd_malloc2() 196 && size != 0 in bfd_malloc2() 197 && nmemb > ~(bfd_size_type) 0 / size) in bfd_malloc2() 203 size *= nmemb; in bfd_malloc2() 205 if (size != (size_t) size) in bfd_malloc2() [all …]
|
D | vms-misc.c | 100 _bfd_hexdump (int level, unsigned char *ptr, int size, int offset) in _bfd_hexdump() argument 106 while (size-- > 0) in _bfd_hexdump() 113 if (size == 0) in _bfd_hexdump() 142 _bfd_vms_save_sized_string (unsigned char *str, int size) in _bfd_vms_save_sized_string() argument 144 char *newstr = bfd_malloc ((bfd_size_type) size + 1); in _bfd_vms_save_sized_string() 148 memcpy (newstr, (char *) str, (size_t) size); in _bfd_vms_save_sized_string() 149 newstr[size] = 0; in _bfd_vms_save_sized_string() 176 BFD_ASSERT (recwr->size == 0); in _bfd_vms_output_begin() 196 recwr->subrec_offset = recwr->size; in _bfd_vms_output_begin_subrec() 221 unsigned int real_size = recwr->size; in _bfd_vms_output_align() [all …]
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
D | testfile.cc | 38 template<int size, bool big_endian> 39 class Target_test : public Sized_target<size, big_endian> 43 : Sized_target<size, big_endian>(&test_target_info) in Target_test() 48 Sized_relobj_file<size, big_endian>*, in gc_process_relocs() argument 54 scan_relocs(Symbol_table*, Layout*, Sized_relobj_file<size, big_endian>*, in scan_relocs() argument 60 relocate_section(const Relocate_info<size, big_endian>*, unsigned int, in relocate_section() argument 62 unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, in relocate_section() 68 Sized_relobj_file<size, big_endian>*, unsigned int, in scan_relocatable_relocs() argument 75 relocate_relocs(const Relocate_info<size, big_endian>*, in relocate_relocs() argument 77 Output_section*, typename elfcpp::Elf_types<size>::Elf_Off, in relocate_relocs() [all …]
|