Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/toolchain/binutils/binutils-2.25/binutils/
Delfcomm.c440 process_archive_index_and_symbols (struct archive_info * arch, in process_archive_index_and_symbols() argument
447 size = strtoul (arch->arhdr.ar_size, NULL, 10); in process_archive_index_and_symbols()
450 arch->next_arhdr_offset += sizeof arch->arhdr + size; in process_archive_index_and_symbols()
454 if (fseek (arch->file, size, SEEK_CUR) != 0) in process_archive_index_and_symbols()
457 arch->file_name); in process_archive_index_and_symbols()
467 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
475 error (_("%s: the archive index is empty\n"), arch->file_name); in process_archive_index_and_symbols()
480 got = fread (integer_buffer, 1, sizeof_ar_index, arch->file); in process_archive_index_and_symbols()
483 error (_("%s: failed to read archive index\n"), arch->file_name); in process_archive_index_and_symbols()
487 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
[all …]
Dar.c175 map_over_members (bfd *arch, void (*function)(bfd *), char **files, int count) in map_over_members() argument
182 for (head = arch->archive_next; head; head = head->archive_next) in map_over_members()
196 for (head = arch->archive_next; head; head = head->archive_next) in map_over_members()
204 for (head = arch->archive_next; head; head = head->archive_next) in map_over_members()
225 else if (bfd_is_thin_archive (arch)) in map_over_members()
228 filename = normalize (filename, arch); in map_over_members()
232 && !FILENAME_CMP (normalize (*files, arch), filename)) in map_over_members()
747 bfd *arch; in main() local
796 arch = open_inarch (inarch_filename, in main()
799 if (operation == extract && bfd_is_thin_archive (arch)) in main()
[all …]
Delfedit.c290 struct archive_info arch; in process_archive() local
296 arch.file_name = NULL; in process_archive()
297 arch.file = NULL; in process_archive()
298 arch.index_array = NULL; in process_archive()
299 arch.sym_table = NULL; in process_archive()
300 arch.longnames = NULL; in process_archive()
311 if (setup_archive (&arch, file_name, file, is_thin_archive, FALSE) != 0) in process_archive()
326 if (fseek (file, arch.next_arhdr_offset, SEEK_SET) != 0) in process_archive()
332 got = fread (&arch.arhdr, 1, sizeof arch.arhdr, file); in process_archive()
333 if (got != sizeof arch.arhdr) in process_archive()
[all …]
Darsup.c48 map_over_list (bfd *arch, void (*function) (bfd *, bfd *), struct list *list) in map_over_list() argument
56 head = arch->archive_next; in map_over_list()
76 bfd *prev = arch; in map_over_list()
78 for (head = arch->archive_next; head; head = head->archive_next) in map_over_list()
105 bfd *arch; in ar_directory() local
107 arch = open_inarch (ar_name, (char *) NULL); in ar_directory()
121 map_over_list (arch, ar_directory_doer, list); in ar_directory()
123 bfd_close (arch); in ar_directory()
235 bfd *arch; in ar_addlib() local
237 arch = open_inarch (name, (char *) NULL); in ar_addlib()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/arch/
Darch.exp72 proc test_arch { file opt arch resultfile } {
88 if {$result == $arch} then {
89 pass "$rootname file with $opt should assemble to arch $arch"
93 fail "$rootname file with $opt should assemble to arch $arch"
97 untested "$rootname file with $opt should assemble to arch $arch"
140 set arch [file rootname [file tail $file]]
141 lappend optlist "-isa=$arch" "-isa=${arch}-up"
306 arch # look for 'arch' anywhere before closing brace
404 if {[regexp {^arch-(.*)-up$} $word match arch] == 1} then {
407 lappend archtree($arch) $arches($a)
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Darchures.c844 if (abfd->arch_info->arch == bfd_arch_unknown) in bfd_arch_get_compatible()
846 else if (bbfd->arch_info->arch == bfd_arch_unknown) in bfd_arch_get_compatible()
919 enum bfd_architecture arch, in bfd_default_set_arch_mach() argument
922 abfd->arch_info = bfd_lookup_arch (arch, mach); in bfd_default_set_arch_mach()
946 return abfd->arch_info->arch; in bfd_get_arch()
1019 if (a->arch != b->arch) in bfd_default_compatible()
1053 enum bfd_architecture arch; in bfd_default_scan() local
1154 arch = bfd_arch_m68k; in bfd_default_scan()
1157 arch = bfd_arch_m68k; in bfd_default_scan()
1161 arch = bfd_arch_m68k; in bfd_default_scan()
[all …]
Darchive.c413 get_extended_arelt_filename (bfd *arch, const char *name, file_ptr *originp) in get_extended_arelt_filename() argument
423 if (errno != 0 || table_index >= bfd_ardata (arch)->extended_names_size) in get_extended_arelt_filename()
430 if (bfd_is_thin_archive (arch) && endp != NULL && *endp == ':') in get_extended_arelt_filename()
444 return bfd_ardata (arch)->extended_names + table_index; in get_extended_arelt_filename()
601 _bfd_append_relative_path (bfd *arch, char *elt_name) in _bfd_append_relative_path() argument
603 const char *arch_name = arch->filename; in _bfd_append_relative_path()
612 filename = (char *) bfd_alloc (arch, prefix_len + strlen (elt_name) + 1); in _bfd_append_relative_path()
2109 _bfd_write_archive_contents (bfd *arch) in _bfd_write_archive_contents() argument
2115 bfd_boolean makemap = bfd_has_map (arch); in _bfd_write_archive_contents()
2125 for (current = arch->archive_head; in _bfd_write_archive_contents()
[all …]
Dsparclynx.c75 enum bfd_architecture arch; in NAME() local
83 arch = bfd_arch_m68k; in NAME()
89 arch = bfd_arch_m68k; in NAME()
95 arch = bfd_arch_m68k; in NAME()
100 arch = bfd_arch_sparc; in NAME()
106 arch = bfd_arch_i386; in NAME()
111 arch = bfd_arch_m68k; in NAME()
116 arch = bfd_arch_obscure; in NAME()
120 bfd_set_arch_mach (abfd, arch, machine); in NAME()
Dgen-aout.c34 char * arch = "unknown"; in main() local
94 arch = "vax"; in main()
97 arch = "m68k"; in main()
99 if (arch[0] == '1') in main()
103 arch = "unknown"; in main()
105 printf ("#define DEFAULT_ARCH bfd_arch_%s\n\n", arch); in main()
Darchive64.c144 bfd_elf64_archive_write_armap (bfd *arch, in bfd_elf64_archive_write_armap() argument
154 bfd *current = arch->archive_head; in bfd_elf64_archive_write_armap()
183 if (bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch) in bfd_elf64_archive_write_armap()
188 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap()
197 for (current = arch->archive_head; in bfd_elf64_archive_write_armap()
209 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap()
215 if (! bfd_is_thin_archive (arch)) in bfd_elf64_archive_write_armap()
226 if (bfd_bwrite (*map[count].name, len, arch) != len) in bfd_elf64_archive_write_armap()
234 if (bfd_bwrite ("", 1, arch) != 1) in bfd_elf64_archive_write_armap()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/
Dnops-5.s2 .arch i386
7 .arch i486
12 .arch i586
17 .arch i686
22 .arch pentium4
27 .arch nocona
32 .arch core
37 .arch core2
42 .arch k6
47 .arch athlon
[all …]
Dno87.s1 # Test .arch .no87
3 .arch generic32
5 .arch .287
8 .arch .387
11 .arch i686
14 .arch prescott
16 .arch .no87
Dno87.l10 [ ]*[1-9][0-9]*[ ]+\.arch generic32
12 [ ]*[1-9][0-9]*[ ]+\.arch \.287
15 [ ]*[1-9][0-9]*[ ]+\.arch \.387
18 [ ]*[1-9][0-9]*[ ]+\.arch i686
21 [ ]*[1-9][0-9]*[ ]+\.arch prescott
23 [ ]*[1-9][0-9]*[ ]+\.arch \.no87
Datt-regs.s4 .arch i286
22 .arch generic32
38 .arch .387
41 .arch .mmx
44 .arch .sse
47 .arch .avx
50 .arch generic64
Dintel-regs.s4 .arch i286
24 .arch generic32
42 .arch .387
45 .arch .mmx
48 .arch .sse
51 .arch .avx
54 .arch generic64
Dno87-2.s4 .arch .287
7 .arch .387
10 .arch i686
13 .arch prescott
Dno87-2.l9 [ ]*[1-9][0-9]*[ ]+\.arch \.287
12 [ ]*[1-9][0-9]*[ ]+\.arch \.387
15 [ ]*[1-9][0-9]*[ ]+\.arch i686
18 [ ]*[1-9][0-9]*[ ]+\.arch prescott
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/
Dmips.exp132 proc mips_arch_create {arch gprsize extends props as_flags objdump_flags
136 if { [info exists mips_arches($arch)] } {
137 error "mips_arch_create: arch \"$arch\" already exists"
143 set archdata(displayname) $arch
147 set archdata(props) $arch
153 set mips_arches($arch) [array get archdata]
162 set archdata(displayname) "default = $arch"
177 proc mips_arch_destroy {arch} { argument
180 if { [info exists mips_arches($arch)] } {
181 unset mips_arches($arch)
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/
DChangeLog-2008345 * gas/i386/arch-10.s: Likewise.
347 * gas/i386/x86-64-arch-2.s: Likewise.
351 * gas/i386/arch-10.d: Updated.
352 * gas/i386/arch-10-1.l: Likewise.
353 * gas/i386/arch-10-2.l: Likewise.
354 * gas/i386/arch-10-3.l: Likewise.
355 * gas/i386/arch-10-4.l: Likewise.
359 * gas/i386/x86-64-arch-2.d: Likewise.
364 * gas/i386/i386.exp: Run arch-avx-1, arch-avx-1-1 and
365 arch-avx-1-2.
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Dcgen.sh53 arch=$6
71 ARCH=`echo ${arch} | tr "${lowercase}" "${uppercase}"`
116 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < ${tmp}-desc.h1 > ${tmp}-desc.h
119 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
123 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < ${tmp}-opc.h1 > ${tmp}-opc.h
126 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
132 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
139 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
144 | sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
149 | sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
/toolchain/binutils/binutils-2.25/ld/
Dldfile.c351 ldfile_open_file_search (const char *arch, in ldfile_open_file_search() argument
386 if (ldemul_open_dynamic_archive (arch, search, entry)) in ldfile_open_file_search()
392 arch, suffix, (const char *) NULL); in ldfile_open_file_search()
436 search_arch_type *arch; in ldfile_open_file() local
440 for (arch = search_arch_head; arch != NULL; arch = arch->next) in ldfile_open_file()
442 found = ldfile_open_file_search (arch->name, entry, "lib", ".a"); in ldfile_open_file()
446 found = ldfile_open_file_search (arch->name, entry, ":lib", ".a"); in ldfile_open_file()
450 found = ldemul_find_potential_libraries (arch->name, entry); in ldfile_open_file()
676 const bfd_arch_info_type *arch = bfd_scan_arch (string); in ldfile_set_output_arch() local
678 if (arch) in ldfile_set_output_arch()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/
Dalign-2.s7 .arch c62x
22 .arch c64x
41 .arch c64x+
60 .arch c674x
79 .arch c67x+
98 .arch c67x
Dinsns-bad-2.s10 .arch c64x
16 .arch c64x+
22 .arch c67x
28 .arch c67x+
34 .arch c674x
40 .arch c62x
Dattr-arch-directive-2.s1 # .arch directives override previous attributes before instructions
6 .arch c67x
7 .arch c62x
9 .arch c64x+
Dpredicate-bad-2.s17 .arch c64x
30 .arch c64x+
43 .arch c67x
56 .arch c67x+
69 .arch c674x
82 .arch c62x

12345678910>>...26