/toolchain/binutils/binutils-2.25/bfd/ |
D | binary.c | 152 asymbol *syms; in binary_canonicalize_symtab() local 156 syms = (asymbol *) bfd_alloc (abfd, amt); in binary_canonicalize_symtab() 157 if (syms == NULL) in binary_canonicalize_symtab() 161 syms[0].the_bfd = abfd; in binary_canonicalize_symtab() 162 syms[0].name = mangle_name (abfd, "start"); in binary_canonicalize_symtab() 163 syms[0].value = 0; in binary_canonicalize_symtab() 164 syms[0].flags = BSF_GLOBAL; in binary_canonicalize_symtab() 165 syms[0].section = sec; in binary_canonicalize_symtab() 166 syms[0].udata.p = NULL; in binary_canonicalize_symtab() 169 syms[1].the_bfd = abfd; in binary_canonicalize_symtab() [all …]
|
D | ppcboot.c | 277 asymbol *syms; in ppcboot_canonicalize_symtab() local 281 syms = (asymbol *) bfd_alloc (abfd, amt); in ppcboot_canonicalize_symtab() 282 if (syms == NULL) in ppcboot_canonicalize_symtab() 286 syms[0].the_bfd = abfd; in ppcboot_canonicalize_symtab() 287 syms[0].name = mangle_name (abfd, "start"); in ppcboot_canonicalize_symtab() 288 syms[0].value = 0; in ppcboot_canonicalize_symtab() 289 syms[0].flags = BSF_GLOBAL; in ppcboot_canonicalize_symtab() 290 syms[0].section = sec; in ppcboot_canonicalize_symtab() 291 syms[0].udata.p = NULL; in ppcboot_canonicalize_symtab() 294 syms[1].the_bfd = abfd; in ppcboot_canonicalize_symtab() [all …]
|
D | coff-i960.c | 218 asymbol **syms, **sym_end; in coff_i960_relocate() local 221 syms = bfd_get_outsymbols (output_bfd); in coff_i960_relocate() 222 sym_end = syms + bfd_get_symcount (output_bfd); in coff_i960_relocate() 223 for (; syms < sym_end; syms++) in coff_i960_relocate() 225 if (bfd_asymbol_name (*syms) != NULL in coff_i960_relocate() 226 && (*syms)->value == 0 in coff_i960_relocate() 227 && strcmp ((*syms)->section->output_section->name, in coff_i960_relocate() 232 if (syms >= sym_end) in coff_i960_relocate() 235 reloc_entry->sym_ptr_ptr = syms; in coff_i960_relocate() 244 coff_section_data (output_bfd, osec)->tdata = syms; in coff_i960_relocate() [all …]
|
D | plugin.c | 135 const struct ld_plugin_symbol * syms) in add_symbols() argument 142 plugin_data->syms = syms; in add_symbols() 426 const struct ld_plugin_symbol *syms = plugin_data->syms; in bfd_plugin_canonicalize_symtab() local 442 s->name = syms[i].name; in bfd_plugin_canonicalize_symtab() 444 s->flags = convert_flags (&syms[i]); in bfd_plugin_canonicalize_symtab() 445 switch (syms[i].def) in bfd_plugin_canonicalize_symtab() 462 s->udata.p = (void *) &syms[i]; in bfd_plugin_canonicalize_symtab()
|
D | hp300hpux.c | 472 long syms; in NAME() local 483 syms = H_GET_32 (abfd, bytes->e_drelocs); in NAME() 484 if (syms == 0) in NAME() 488 execp->a_syms = syms; in NAME() 529 struct external_nlist *syms; in MY() local 546 syms = (struct external_nlist *) (strings + SYM_EXTRA_BYTES); in MY() 548 || bfd_bread (syms, symbol_bytes, abfd) != symbol_bytes) in MY() 550 bfd_release (abfd, syms); in MY() 554 sym_end = (struct external_nlist *) (((char *) syms) + symbol_bytes); in MY() 557 for (sym_pointer = syms; sym_pointer < sym_end; sym_pointer++, num_syms++) in MY() [all …]
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | simple-object-coff.c | 623 } syms[2]; in simple_object_coff_write_to_file() local 697 memset (&syms[0], 0, sizeof (syms)); in simple_object_coff_write_to_file() 698 strcpy ((char *)&syms[0].sym.e.e_name[0], ".file"); in simple_object_coff_write_to_file() 699 set_16 (&syms[0].sym.e_scnum[0], IMAGE_SYM_DEBUG); in simple_object_coff_write_to_file() 700 set_16 (&syms[0].sym.e_type[0], IMAGE_SYM_TYPE); in simple_object_coff_write_to_file() 701 syms[0].sym.e_sclass[0] = IMAGE_SYM_CLASS_FILE; in simple_object_coff_write_to_file() 702 syms[0].sym.e_numaux[0] = 1; in simple_object_coff_write_to_file() 707 memcpy (&syms[1].aux.x_file.x_fname[0], source_filename, sflen); in simple_object_coff_write_to_file() 710 set_32 (&syms[1].aux.x_file.x_n.x_offset[0], name_offset); in simple_object_coff_write_to_file() 719 (const unsigned char *) &syms[0], in simple_object_coff_write_to_file() [all …]
|
D | simple-object-xcoff.c | 720 } syms[2]; in simple_object_xcoff_write_to_file() local 790 memset (&syms[0], 0, sizeof (syms)); in simple_object_xcoff_write_to_file() 792 strcpy ((char *)&syms[0].sym.u.xcoff32.n.n_name[0], ".file"); in simple_object_xcoff_write_to_file() 793 set_16 (&syms[0].sym.n_scnum[0], N_DEBUG); in simple_object_xcoff_write_to_file() 794 set_16 (&syms[0].sym.n_type[0], IMAGE_SYM_TYPE); in simple_object_xcoff_write_to_file() 795 syms[0].sym.n_sclass[0] = C_FILE; in simple_object_xcoff_write_to_file() 796 syms[0].sym.n_numaux[0] = 1; in simple_object_xcoff_write_to_file() 801 memcpy (&syms[1].aux.x_file.x_fname[0], source_filename, sflen); in simple_object_xcoff_write_to_file() 804 set_32 (&syms[1].aux.x_file._x.x_offset[0], name_offset); in simple_object_xcoff_write_to_file() 813 (const unsigned char *) &syms[0], in simple_object_xcoff_write_to_file() [all …]
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
D | plugin_test.c | 37 struct ld_plugin_symbol* syms; member 256 struct ld_plugin_symbol* syms; in claim_file_hook() local 311 syms = (struct ld_plugin_symbol*)malloc(sizeof(struct ld_plugin_symbol) * 8); in claim_file_hook() 312 if (syms == NULL) in claim_file_hook() 355 syms = (struct ld_plugin_symbol*) in claim_file_hook() 356 realloc(syms, sizeof(struct ld_plugin_symbol) * maxsyms * 2); in claim_file_hook() 357 if (syms == NULL) in claim_file_hook() 363 syms[nsyms].name = NULL; in claim_file_hook() 367 syms[nsyms].name = malloc(len + 1); in claim_file_hook() 368 strncpy(syms[nsyms].name, info.name, len + 1); in claim_file_hook() [all …]
|
D | ver_test_4.sh | 38 check ver_test_4.syms "t1_2@@VER2" 39 check ver_test_4.syms "t2_2@VER1" 40 check ver_test_4.syms "t2_2@@VER2" 41 check ver_test_4.syms "GLOBAL.*ABS.*VER1" 42 check ver_test_4.syms "GLOBAL.*ABS.*VER2"
|
D | ver_test_1.sh | 25 syms=`grep ' HIDDEN ' ver_test_1.syms | grep ' GLOBAL '` 26 if test -n "$syms"; then 28 echo $syms
|
D | Makefile.am | 79 MOSTLYCLEANFILES = *.so *.syms *.stdout 1270 check_DATA += ver_test_1.syms 1271 ver_test_1.syms: ver_test_1.so 1281 check_DATA += ver_test_2.syms 1282 ver_test_2.syms: ver_test_2 1286 check_DATA += ver_test_4.syms 1287 ver_test_4.syms: ver_test_4.so 1295 check_DATA += ver_test_5.syms 1296 ver_test_5.syms: ver_test_5.so 1310 check_DATA += ver_test_7.syms [all …]
|
D | ver_test_7.sh | 41 check ver_test_7.syms "t2_2@@VER2" 42 check ver_test_7.syms "t2_2@VER1"
|
D | ver_test_5.sh | 41 check ver_test_5.syms "t3_2@@VER5" 42 check ver_test_5.syms "t2_2@VER2"
|
D | ver_test_10.sh | 41 check ver_test_10.syms "GLOBAL.*t3_2" 42 check ver_test_10.syms "LOCAL.*t4_2"
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | addr2line.c | 51 static asymbol **syms; /* Symbol table. */ variable 125 syms = (asymbol **) xmalloc (storage); in slurp_symtab() 127 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); in slurp_symtab() 129 symcount = bfd_canonicalize_symtab (abfd, syms); in slurp_symtab() 139 free (syms); in slurp_symtab() 140 syms = xmalloc (storage); in slurp_symtab() 141 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); in slurp_symtab() 179 found = bfd_find_nearest_line_discriminator (abfd, section, syms, pc - vma, in find_address_in_section() 201 found = bfd_find_nearest_line_discriminator (abfd, section, syms, pc, in find_offset_in_section() 396 if (syms != NULL) in process_file() [all …]
|
D | rddbg.c | 47 read_debugging_info (bfd *abfd, asymbol **syms, long symcount, bfd_boolean no_messages) in read_debugging_info() argument 56 if (! read_section_stabs_debugging_info (abfd, syms, symcount, dhandle, in read_debugging_info() 62 if (! read_symbol_stabs_debugging_info (abfd, syms, symcount, dhandle, in read_debugging_info() 79 if (! parse_coff (abfd, syms, symcount, dhandle)) in read_debugging_info() 98 read_section_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount, in read_section_stabs_debugging_info() argument 154 shandle = start_stab (dhandle, abfd, TRUE, syms, symcount); in read_section_stabs_debugging_info() 273 read_symbol_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount, in read_symbol_stabs_debugging_info() argument 280 symend = syms + symcount; in read_symbol_stabs_debugging_info() 281 for (ps = syms; ps < symend; ps++) in read_symbol_stabs_debugging_info() 294 shandle = start_stab (dhandle, abfd, FALSE, syms, symcount); in read_symbol_stabs_debugging_info()
|
/toolchain/binutils/binutils-2.25/ld/ |
D | plugin.c | 413 add_symbols (void *handle, int nsyms, const struct ld_plugin_symbol *syms) in add_symbols() argument 428 rv = asymbol_from_plugin_symbol (abfd, bfdsym, syms + n); in add_symbols() 501 get_symbols (const void *handle, int nsyms, struct ld_plugin_symbol *syms, in get_symbols() argument 514 if (syms[n].def != LDPK_UNDEF) in get_symbols() 515 blhe = bfd_link_hash_lookup (link_info.hash, syms[n].name, in get_symbols() 519 syms[n].name, FALSE, FALSE, TRUE); in get_symbols() 552 if (syms[n].def == LDPK_UNDEF in get_symbols() 553 || syms[n].def == LDPK_WEAKUNDEF in get_symbols() 554 || syms[n].def == LDPK_COMMON) in get_symbols() 591 else if (is_visible_from_outside (&syms[n], blhe)) in get_symbols() [all …]
|
/toolchain/binutils/binutils-2.25/gprof/ |
D | sym_ids.c | 62 Sym_Table syms[NUM_TABLES]; variable 292 extend_match (&id->left, sym, &syms[id->which_table], FALSE); in sym_id_parse() 300 for (tab = syms; tab < &syms[NUM_TABLES]; ++tab) in sym_id_parse() 323 extend_match (&id->left, sym, &syms[id->which_table], TRUE); in sym_id_parse() 359 for (tab = &syms[0]; tab < &syms[NUM_TABLES]; ++tab) in sym_id_parse() 362 table_name[tab - &syms[0]])); in sym_id_parse()
|
D | basic_blocks.c | 270 if (sym_lookup (&syms[INCL_EXEC], sym->addr) in print_exec_counts() 271 || (syms[INCL_EXEC].len == 0 in print_exec_counts() 272 && !sym_lookup (&syms[EXCL_EXEC], sym->addr))) in print_exec_counts() 478 && (sym_lookup (&syms[INCL_ANNO], sym->addr) in print_annotated_source() 479 || (syms[INCL_ANNO].len == 0 in print_annotated_source() 480 && !sym_lookup (&syms[EXCL_ANNO], sym->addr)))) in print_annotated_source() 500 && (sym_lookup (&syms[INCL_ANNO], sym->addr) in print_annotated_source() 501 || (syms[INCL_ANNO].len == 0 in print_annotated_source() 502 && !sym_lookup (&syms[EXCL_ANNO], sym->addr)))) in print_annotated_source()
|
D | cg_arcs.c | 470 if (sym_lookup (&syms[INCL_GRAPH], child->addr) in propagate_flags() 471 || (syms[INCL_GRAPH].len == 0 in propagate_flags() 472 && !sym_lookup (&syms[EXCL_GRAPH], child->addr))) in propagate_flags() 484 if (!sym_lookup (&syms[INCL_GRAPH], child->addr) in propagate_flags() 485 && sym_lookup (&syms[EXCL_GRAPH], child->addr)) in propagate_flags() 497 if (sym_lookup (&syms[INCL_TIME], child->addr) in propagate_flags() 498 || (syms[INCL_TIME].len == 0 in propagate_flags() 499 && !sym_lookup (&syms[EXCL_TIME], child->addr))) in propagate_flags() 512 if (!sym_lookup (&syms[INCL_TIME], child->addr) in propagate_flags() 513 && sym_lookup (&syms[EXCL_TIME], child->addr)) in propagate_flags()
|
D | call_graph.c | 62 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child) in cg_tally() 63 || (syms[INCL_ARCS].len == 0 in cg_tally() 64 && !sym_id_arc_is_present (&syms[EXCL_ARCS], parent, child))) in cg_tally()
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | mmix-dis.c | 98 asymbol **syms = malloc (symsize); in initialize_mmix_dis_info() local 101 if (syms == NULL) in initialize_mmix_dis_info() 107 nsyms = bfd_canonicalize_symtab (abfd, syms); in initialize_mmix_dis_info() 112 for (i = 0; i < nsyms && syms[i] != NULL; i++) in initialize_mmix_dis_info() 114 if (syms[i]->section == reg_section in initialize_mmix_dis_info() 115 && syms[i]->value < 256 in initialize_mmix_dis_info() 116 && minfop->reg_name[syms[i]->value] == NULL) in initialize_mmix_dis_info() 117 minfop->reg_name[syms[i]->value] = syms[i]->name; in initialize_mmix_dis_info()
|
/toolchain/binutils/binutils-2.25/bfd/doc/ |
D | Makefile.am | 27 syms.texi targets.texi init.texi hash.texi linker.texi \ 35 section.p syms.p targets.p \ 51 $(srcdir)/../syms.c $(srcdir)/../targets.c \ 60 $(srcdir)/../section.c $(srcdir)/../syms.c \ 201 syms.texi: syms.stamp ; @true 202 syms.stamp: $(srcdir)/../syms.c $(srcdir)/doc.str $(MKDOC) 203 ./$(MKDOC) -f $(srcdir)/doc.str < $< >syms.tmp 204 $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi 286 $(srcdir)/../syms.c \
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-spu/ |
D | ear.s | 6 #test old-style toe _EAR_ syms 14 #test new-style _EAR_ syms
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-powerpc/ |
D | tls32.s | 24 #extern syms 33 #global syms 57 #local syms, use a different got reg too.
|