/toolchain/binutils/binutils-2.27/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.27/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.27/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 | s390.cc | 51 template<int size> 56 : Output_section_data_build(size/8), in Output_data_got_plt_s390() 61 : Output_section_data_build(data_size, size/8), in Output_data_got_plt_s390() 83 template<int size> 87 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, true> 91 Output_data_got<size, true>* got, in Output_data_plt_s390() argument 92 Output_data_got_plt_s390<size>* got_plt, in Output_data_plt_s390() 101 Output_data_got<size, true>* got, in Output_data_plt_s390() argument 102 Output_data_got_plt_s390<size>* got_plt, in Output_data_plt_s390() 129 Sized_relobj_file<size, true>*, unsigned int); [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) 61 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() 70 Sized_symbol<size>* 78 Sized_relobj_file<size, big_endian>* object, 92 Sized_relobj_file<size, big_endian>* object, 112 relocate_section(const Relocate_info<size, big_endian>*, 119 typename elfcpp::Elf_types<size>::Elf_Addr view_address, [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> 429 template<int size, bool big_endian> 430 class Output_data_got_aarch64 : public Output_data_got<size, big_endian> 433 typedef typename elfcpp::Elf_types<size>::Elf_Addr Valtype; 435 : Output_data_got<size, big_endian>(), in Output_data_got_aarch64() 452 Sized_relobj_file<size, big_endian>* relobj, in add_static_reloc() argument 465 gold_assert(this->data_size() >= size / 8); in do_write() [all …]
|
D | mips.cc | 54 template<int size, bool big_endian> 57 template<int size, bool big_endian> 60 template<int size, bool big_endian> 63 template<int size, bool big_endian> 66 template<int size, bool big_endian> 69 template<int size, bool big_endian> 72 template<int size> 75 template<int size, bool big_endian> 78 template<int size, bool big_endian> 83 template<int size, bool big_endian> [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 | 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 typename elfcpp::Elf_types<size>::Elf_Addr r_offset, in copy_reloc() 47 typename elfcpp::Elf_types<size>::Elf_Swxword r_addend, in copy_reloc() 48 Output_data_reloc<sh_type, true, size, big_endian>* reloc_section) in copy_reloc() 64 template<int sh_type, int size, bool big_endian> 66 Copy_relocs<sh_type, size, big_endian>::need_copy_reloc( in need_copy_reloc() 67 Sized_symbol<size>* sym, in need_copy_reloc() [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; 70 Sized_symbol<size>* sym, 71 Sized_relobj_file<size, big_endian>* object, 75 typename elfcpp::Elf_types<size>::Elf_Addr r_offset, 76 typename elfcpp::Elf_types<size>::Elf_Swxword r_addend, 77 Output_data_reloc<sh_type, true, size, big_endian>*); 87 emit(Output_data_reloc<sh_type, true, size, big_endian>*); 91 emit_copy_reloc(Symbol_table*, Sized_symbol<size>*, 93 Output_data_reloc<sh_type, true, size, 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> 901 template<int size, bool big_endian> 904 const elfcpp::Sym<size, big_endian>&, unsigned int st_shndx, 936 template<int size, bool big_endian> 938 override_base(const elfcpp::Sym<size, big_endian>&, unsigned int st_shndx, 1092 template<int size> 1096 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.cc | 259 template<int size, bool big_endian> 261 Sized_relobj_file<size, big_endian>::do_read_relocs(Read_relocs_data* rd) in do_read_relocs() 330 reloc_size = elfcpp::Elf_sizes<size>::rel_size; in do_read_relocs() 332 reloc_size = elfcpp::Elf_sizes<size>::rela_size; in do_read_relocs() 384 template<int size, bool big_endian> 386 Sized_relobj_file<size, big_endian>::do_gc_process_relocs(Symbol_table* symtab, in do_gc_process_relocs() 390 Sized_target<size, big_endian>* target = in do_gc_process_relocs() 391 parameters->sized_target<size, big_endian>(); in do_gc_process_relocs() 424 template<int size, bool big_endian> 426 Sized_relobj_file<size, big_endian>::do_scan_relocs(Symbol_table* symtab, in do_scan_relocs() [all …]
|
/toolchain/binutils/binutils-2.27/elfcpp/ |
D | elfcpp.h | 57 template<int size> 629 template<int size> 631 elf_r_sym(typename Elf_types<size>::Elf_WXword); 647 template<int size> 649 elf_r_type(typename Elf_types<size>::Elf_WXword); 665 template<int size> 666 typename Elf_types<size>::Elf_WXword 1018 template<int size> 1022 static const int ehdr_size = sizeof(internal::Ehdr_data<size>); 1024 static const int phdr_size = sizeof(internal::Phdr_data<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 …]
|
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 …]
|
/toolchain/binutils/binutils-2.27/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.27/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.27/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.27/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 76 Sized_relobj_file<size, big_endian>*, unsigned int, in emit_relocs_scan() argument 83 relocate_relocs(const Relocate_info<size, big_endian>*, in relocate_relocs() argument [all …]
|
/toolchain/binutils/binutils-2.27/bfd/ |
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 …]
|
D | bfdwin.c | 66 windowp->size = 0; in bfd_init_window() 80 windowp, windowp->data, (unsigned long) windowp->size, windowp->i); in bfd_free_window() 87 munmap (i->data, i->size); in bfd_free_window() 94 mprotect (i->data, i->size, PROT_READ | PROT_WRITE); in bfd_free_window() 110 bfd_size_type size, in bfd_get_file_window() argument 116 bfd_size_type size_to_alloc = size; in bfd_get_file_window() 120 abfd, (long) offset, (long) size, in bfd_get_file_window() 121 windowp, windowp->data, (unsigned long) windowp->size, in bfd_get_file_window() 166 real_size = offset + size - file_offset; in bfd_get_file_window() 171 if (i->data != NULL && i->size < size) in bfd_get_file_window() [all …]
|
D | elf-strtab.c | 51 size_t size; member 112 table->size = 1; in _bfd_elf_strtab_init() 166 if (tab->size == tab->alloced) in _bfd_elf_strtab_add() 176 entry->u.index = tab->size++; in _bfd_elf_strtab_add() 188 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_addref() 198 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_delref() 214 for (idx = 1; idx < tab->size; idx++) in _bfd_elf_strtab_clear_all_refs() 222 size_t size; member 230 size_t idx, size; in _bfd_elf_strtab_save() local 232 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0]); in _bfd_elf_strtab_save() [all …]
|
/toolchain/binutils/binutils-2.27/libiberty/ |
D | xmalloc.c | 119 xmalloc_failed (size_t size) in xmalloc_failed() argument 131 (unsigned long) size, (unsigned long) allocated); in xmalloc_failed() 136 (unsigned long) size); in xmalloc_failed() 142 xmalloc (size_t size) in xmalloc() argument 146 if (size == 0) in xmalloc() 147 size = 1; in xmalloc() 148 newmem = malloc (size); in xmalloc() 150 xmalloc_failed (size); in xmalloc() 171 xrealloc (PTR oldmem, size_t size) in xrealloc() argument 175 if (size == 0) in xrealloc() [all …]
|