/toolchain/binutils/binutils-2.27/gprof/ |
D | basic_blocks.c | 124 Sym *sym; in bb_read_rec() local 166 sym = sym_lookup (&symtab, addr); in bb_read_rec() 168 if (sym) in bb_read_rec() 174 (unsigned long) addr, (unsigned long) sym->addr, in bb_read_rec() 175 sym->name, sym->line_num, (unsigned long) ncalls)); in bb_read_rec() 179 if (! sym->bb_addr[i] || sym->bb_addr[i] == addr) in bb_read_rec() 181 sym->bb_addr[i] = addr; in bb_read_rec() 182 sym->bb_calls[i] += ncalls; in bb_read_rec() 211 Sym *sym; in bb_write_blocks() local 215 for (sym = symtab.base; sym < symtab.limit; ++sym) in bb_write_blocks() [all …]
|
D | sym_ids.c | 37 Sym sym; member 118 parse_spec (char *spec, Sym *sym) in parse_spec() argument 122 sym_init (sym); in parse_spec() 131 sym->file = source_file_lookup_name (spec); in parse_spec() 133 if (!sym->file) in parse_spec() 134 sym->file = &non_existent_file; in parse_spec() 142 sym->line_num = atoi (spec); in parse_spec() 144 sym->name = spec; in parse_spec() 152 sym->file = source_file_lookup_name (spec); in parse_spec() 154 if (!sym->file) in parse_spec() [all …]
|
D | symtab.c | 37 sym_init (Sym *sym) in sym_init() argument 39 memset (sym, 0, sizeof (*sym)); in sym_init() 43 sym->hist.time = 0.0; in sym_init() 44 sym->cg.child_time = 0.0; in sym_init() 45 sym->cg.prop.fract = 0.0; in sym_init() 46 sym->cg.prop.self = 0.0; in sym_init() 47 sym->cg.prop.child = 0.0; in sym_init() 181 Sym *sym; in dbg_sym_lookup() local 186 sym = sym_tab->base; in dbg_sym_lookup() 194 (unsigned long) sym[mid].addr, in dbg_sym_lookup() [all …]
|
D | hist.c | 294 Sym *sym; in scale_and_align_entries() local 298 for (sym = symtab.base; sym < symtab.limit; sym++) in scale_and_align_entries() 300 histogram *r = find_histogram_for_pc (sym->addr); in scale_and_align_entries() 302 sym->hist.scaled_addr = sym->addr / sizeof (UNIT); in scale_and_align_entries() 306 bin_of_entry = (sym->hist.scaled_addr - r->lowpc) / hist_scale; in scale_and_align_entries() 307 bin_of_code = ((sym->hist.scaled_addr + UNITS_TO_CODE - r->lowpc) in scale_and_align_entries() 313 (unsigned long) sym->hist.scaled_addr, in scale_and_align_entries() 314 (unsigned long) (sym->hist.scaled_addr in scale_and_align_entries() 316 sym->hist.scaled_addr += UNITS_TO_CODE; in scale_and_align_entries() 501 print_line (Sym *sym, double scale) in print_line() argument [all …]
|
/toolchain/binutils/binutils-2.27/gas/config/ |
D | obj-aout.c | 28 obj_aout_frob_symbol (symbolS *sym, int *punt ATTRIBUTE_UNUSED) in obj_aout_frob_symbol() argument 34 flags = symbol_get_bfdsym (sym)->flags; in obj_aout_frob_symbol() 35 type = aout_symbol (symbol_get_bfdsym (sym))->type; in obj_aout_frob_symbol() 36 sec = S_GET_SEGMENT (sym); in obj_aout_frob_symbol() 45 S_SET_SEGMENT (sym, sec); in obj_aout_frob_symbol() 68 symbol_get_bfdsym (sym)->flags |= BSF_DEBUGGING; in obj_aout_frob_symbol() 80 if (S_IS_COMMON (sym)) in obj_aout_frob_symbol() 82 S_GET_NAME (sym)); in obj_aout_frob_symbol() 84 else if (! S_IS_DEFINED (sym)) in obj_aout_frob_symbol() 86 S_GET_NAME (sym)); in obj_aout_frob_symbol() [all …]
|
D | tc-hppa.h | 102 #define tc_frob_label(sym) pa_define_label (sym) argument 140 #define tc_frob_symbol(sym,punt) \ argument 141 if ((S_GET_SEGMENT (sym) == bfd_und_section_ptr && ! symbol_used_p (sym)) \ 142 || (S_GET_SEGMENT (sym) == bfd_abs_section_ptr \ 143 && ! S_IS_EXTERNAL (sym))) \ 172 #define md_elf_symbol_type(name, sym, elf) \ argument 180 #define tc_frob_symbol(sym,punt) \ argument 182 if ((S_GET_SEGMENT (sym) == bfd_und_section_ptr \ 183 && ! symbol_used_p (sym) \ 184 && ELF_ST_VISIBILITY (S_GET_OTHER (sym)) == STV_DEFAULT) \ [all …]
|
D | tc-ppc.c | 2243 symbolS *sym; in ppc_elf_localentry() local 2268 sym = symbol_find_or_make (name); in ppc_elf_localentry() 2278 "is not a valid power of 2"), S_GET_NAME (sym)); in ppc_elf_localentry() 2281 bfdsym = symbol_get_bfdsym (sym); in ppc_elf_localentry() 2292 "does not evaluate to a constant"), S_GET_NAME (sym)); in ppc_elf_localentry() 2558 ppc_is_toc_sym (symbolS *sym) in ppc_is_toc_sym() argument 2561 return (symbol_get_tc (sym)->symbol_class == XMC_TC in ppc_is_toc_sym() 2562 || symbol_get_tc (sym)->symbol_class == XMC_TC0); in ppc_is_toc_sym() 2565 const char *sname = segment_name (S_GET_SEGMENT (sym)); in ppc_is_toc_sym() 3650 symbolS *sym; in ppc_comm() local [all …]
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
D | group-reloc-ldc-parsing-bad.l | 2 …r: this group relocation is not allowed on this instruction -- `ldc 0,c0,\[r0,#:pc_g0_nc:\(sym\)\]' 4 …r: this group relocation is not allowed on this instruction -- `ldc 0,c0,\[r0,#:sb_g0_nc:\(sym\)\]' 6 [^:]*:25: Error: unknown group relocation -- `ldc 0,c0,\[r0,#:foo:\(sym\)\]' 8 …: this group relocation is not allowed on this instruction -- `ldcl 0,c0,\[r0,#:pc_g1_nc:\(sym\)\]' 10 …: this group relocation is not allowed on this instruction -- `ldcl 0,c0,\[r0,#:sb_g1_nc:\(sym\)\]' 12 …: this group relocation is not allowed on this instruction -- `ldc2 0,c0,\[r0,#:pc_g0_nc:\(sym\)\]' 14 …: this group relocation is not allowed on this instruction -- `ldc2 0,c0,\[r0,#:sb_g0_nc:\(sym\)\]' 16 [^:]*:27: Error: unknown group relocation -- `ldc2 0,c0,\[r0,#:foo:\(sym\)\]' 18 … this group relocation is not allowed on this instruction -- `ldc2l 0,c0,\[r0,#:pc_g1_nc:\(sym\)\]' 20 … this group relocation is not allowed on this instruction -- `ldc2l 0,c0,\[r0,#:sb_g1_nc:\(sym\)\]' [all …]
|
D | group-reloc-ldr-encoding-bad.s | 6 .macro ldrtest load store sym offset 8 \load r0, [r0, #:pc_g0:(\sym \offset)] 9 \load r0, [r0, #:pc_g1:(\sym \offset)] 10 \load r0, [r0, #:pc_g2:(\sym \offset)] 11 \load r0, [r0, #:sb_g0:(\sym \offset)] 12 \load r0, [r0, #:sb_g1:(\sym \offset)] 13 \load r0, [r0, #:sb_g2:(\sym \offset)] 15 \store r0, [r0, #:pc_g0:(\sym \offset)] 16 \store r0, [r0, #:pc_g1:(\sym \offset)] 17 \store r0, [r0, #:pc_g2:(\sym \offset)] [all …]
|
D | group-reloc-ldr.s | 5 .macro ldrtest load store sym offset 7 \load r0, [r0, #:pc_g0:(\sym \offset)] 8 \load r0, [r0, #:pc_g1:(\sym \offset)] 9 \load r0, [r0, #:pc_g2:(\sym \offset)] 10 \load r0, [r0, #:sb_g0:(\sym \offset)] 11 \load r0, [r0, #:sb_g1:(\sym \offset)] 12 \load r0, [r0, #:sb_g2:(\sym \offset)] 14 \store r0, [r0, #:pc_g0:(\sym \offset)] 15 \store r0, [r0, #:pc_g1:(\sym \offset)] 16 \store r0, [r0, #:pc_g2:(\sym \offset)] [all …]
|
D | group-reloc-alu-encoding-bad.s | 5 .macro alutest insn sym offset 7 \insn r0, r0, #:pc_g0:(\sym + \offset) 8 \insn r0, r0, #:pc_g1:(\sym + \offset) 9 \insn r0, r0, #:pc_g2:(\sym + \offset) 11 \insn r0, r0, #:pc_g0_nc:(\sym + \offset) 12 \insn r0, r0, #:pc_g1_nc:(\sym + \offset) 14 \insn r0, r0, #:sb_g0:(\sym + \offset) 15 \insn r0, r0, #:sb_g1:(\sym + \offset) 16 \insn r0, r0, #:sb_g2:(\sym + \offset) 18 \insn r0, r0, #:sb_g0_nc:(\sym + \offset) [all …]
|
D | group-reloc-ldrs.s | 5 .macro ldrtest2 load sym offset 7 \load r0, [r0, #:pc_g1:(\sym \offset)] 8 \load r0, [r0, #:pc_g2:(\sym \offset)] 9 \load r0, [r0, #:sb_g0:(\sym \offset)] 10 \load r0, [r0, #:sb_g1:(\sym \offset)] 11 \load r0, [r0, #:sb_g2:(\sym \offset)] 15 .macro ldrtest load store sym offset 17 ldrtest2 \load \sym \offset 19 \store r0, [r0, #:pc_g1:(\sym \offset)] 20 \store r0, [r0, #:pc_g2:(\sym \offset)] [all …]
|
D | group-reloc-ldrs-encoding-bad.s | 5 .macro ldrtest2 load sym offset 7 \load r0, [r0, #:pc_g1:(\sym \offset)] 8 \load r0, [r0, #:pc_g2:(\sym \offset)] 9 \load r0, [r0, #:sb_g0:(\sym \offset)] 10 \load r0, [r0, #:sb_g1:(\sym \offset)] 11 \load r0, [r0, #:sb_g2:(\sym \offset)] 15 .macro ldrtest load store sym offset 17 ldrtest2 \load \sym \offset 19 \store r0, [r0, #:pc_g1:(\sym \offset)] 20 \store r0, [r0, #:pc_g2:(\sym \offset)] [all …]
|
D | group-reloc-alu.s | 5 .macro alutest insn sym offset 7 \insn r0, r0, #:pc_g0:(\sym \offset) 8 \insn r0, r0, #:pc_g1:(\sym \offset) 11 \insn r0, r0, :pc_g2:(\sym \offset) 13 \insn r0, r0, #:pc_g0_nc:(\sym \offset) 14 \insn r0, r0, #:pc_g1_nc:(\sym \offset) 16 \insn r0, r0, #:sb_g0:(\sym \offset) 17 \insn r0, r0, #:sb_g1:(\sym \offset) 18 \insn r0, r0, #:sb_g2:(\sym \offset) 20 \insn r0, r0, #:sb_g0_nc:(\sym \offset) [all …]
|
/toolchain/binutils/binutils-2.27/gold/ |
D | symtab.cc | 117 const elfcpp::Sym<size, big_endian>& sym, in init_base_object() argument 120 this->init_fields(name, version, sym.get_st_type(), sym.get_st_bind(), in init_base_object() 121 sym.get_st_visibility(), sym.get_st_nonvis()); in init_base_object() 219 const elfcpp::Sym<size, big_endian>& sym, in init_object() argument 222 this->init_base_object(name, version, object, sym, st_shndx, is_ordinary); in init_object() 223 this->value_ = sym.get_st_value(); in init_object() 224 this->symsize_ = sym.get_st_size(); in init_object() 609 Symbol* sym = this->lookup(name); in gc_mark_undef_symbols() local 610 gold_assert(sym != NULL); in gc_mark_undef_symbols() 611 if (sym->source() == Symbol::FROM_OBJECT in gc_mark_undef_symbols() [all …]
|
D | copy-relocs.cc | 41 Sized_symbol<size>* sym, in copy_reloc() argument 50 if (this->need_copy_reloc(sym, object, shndx)) in copy_reloc() 51 this->make_copy_reloc(symtab, layout, sym, object, reloc_section); in copy_reloc() 56 this->save(sym, object, shndx, output_section, in copy_reloc() 67 Sized_symbol<size>* sym, in need_copy_reloc() argument 74 if (sym->symsize() == 0) in need_copy_reloc() 93 Sized_symbol<size>* sym, in emit_copy_reloc() argument 99 symtab->define_with_copy_reloc(sym, posd, offset); in emit_copy_reloc() 102 reloc_section->add_global_generic(sym, this->copy_reloc_type_, posd, in emit_copy_reloc() 113 Sized_symbol<size>* sym, in make_copy_reloc() argument [all …]
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-powerpc/ |
D | tocopt6-inc.s | 1 .macro start, sym argument 2 .type \sym, @function 4 \sym: .quad .L.\sym, .TOC.@tocbase, 0 6 .L.\sym: 15 .macro end, sym argument 21 .size \sym, . - .L.\sym 33 .macro usegot, sym argument 35 \sym\@: .quad \@ 38 .LT\@: .tc \sym\@[TC], \sym\@ 77 .macro gobblegot, sym argument [all …]
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/all/ |
D | redef2.s | 3 .set sym, here define 4 .long sym 5 .set sym, 0x11111111 define 6 .long sym 7 .set sym, xtrn define 8 .long sym 9 .set sym, 0x22222222 define 10 .long sym 11 sym: label 12 .long sym
|
D | redef3.s | 3 .set sym, here define 4 .long sym 5 .set sym, 0x11111111 define 6 .long sym 7 .set sym, xtrn define 8 .long sym 9 .set sym, 0x22222222 define 10 .long sym 11 .comm sym, 1 12 .long sym
|
/toolchain/binutils/binutils-2.27/zlib/ |
D | inftrees.c | 41 unsigned sym; /* index of code symbols */ local 109 for (sym = 0; sym < codes; sym++) 110 count[lens[sym]]++; 146 for (sym = 0; sym < codes; sym++) 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 201 sym = 0; /* starting code symbol */ 219 if ((int)(work[sym]) < end) { 221 here.val = work[sym]; 223 else if ((int)(work[sym]) > end) { 224 here.op = (unsigned char)(extra[work[sym]]); [all …]
|
/toolchain/binutils/binutils-2.27/zlib/contrib/infback9/ |
D | inftree9.c | 41 unsigned sym; /* index of code symbols */ local 111 for (sym = 0; sym < codes; sym++) 112 count[lens[sym]]++; 140 for (sym = 0; sym < codes; sym++) 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 195 sym = 0; /* starting code symbol */ 213 if ((int)(work[sym]) < end) { 215 this.val = work[sym]; 217 else if ((int)(work[sym]) > end) { 218 this.op = (unsigned char)(extra[work[sym]]); [all …]
|
/toolchain/binutils/binutils-2.27/bfd/ |
D | nlm32-i386.c | 70 nlmNAME (symbol_type) *sym, in nlm_i386_read_reloc() 101 if (sym == NULL) in nlm_i386_read_reloc() 145 asymbol *sym; in nlm_i386_write_import() local 166 sym = *rel->sym_ptr_ptr; in nlm_i386_write_import() 185 if (! bfd_is_und_section (bfd_get_section (sym))) in nlm_i386_write_import() 196 if (bfd_get_section_flags (abfd, bfd_get_section (sym)) & SEC_CODE) in nlm_i386_write_import() 246 asymbol *sym; in nlm_i386_mangle_relocs() local 250 sym = *rel->sym_ptr_ptr; in nlm_i386_mangle_relocs() 264 addend = rel->addend + sym->value; in nlm_i386_mangle_relocs() 271 if (((bfd_get_section_flags (abfd, bfd_get_section (sym)) in nlm_i386_mangle_relocs() [all …]
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/elf/ |
D | redef.s | 3 .set sym, here define 4 .long sym 5 .set sym, 0x11111111 define 6 .long sym 7 .set sym, xtrn define 8 .long sym 9 .set sym, 0x22222222 define 10 .long sym
|
/toolchain/binutils/binutils-2.27/cpu/ |
D | m32c.cpu | 160 (MACH (.sym m size c)) (ISA (.sym m size c))) 2173 …(dnop (.sym cond mach - offset) "condition" ((.sym m mach c-isa)) (.sym h-cond mach) (.sym f-dsp- … 2254 ((.sym mem mach) mode address)) 2265 (name (.sym src16-Rn-direct- xmode)) 2269 (args ((.sym Src16Rn xmode))) 2272 (encoding (+ (f-8-2 0) (.sym Src16Rn xmode))) 2274 (getter (trunc xmode (.sym Src16Rn xmode))) 2275 (setter (set (.sym Src16Rn xmode) newval)) 2285 (name (.sym src32-Rn-direct- group - xmode)) 2289 (args ((.sym Src32Rn group xmode))) [all …]
|
/toolchain/binutils/binutils-2.27/binutils/ |
D | coffgrok.c | 210 struct internal_syment *sym; in do_where() local 217 sym = &rawsyms[i].u.syment; in do_where() 218 where->offset = sym->n_value; in do_where() 220 if (sym->n_scnum == -1) in do_where() 221 sym->n_scnum = 0; in do_where() 223 switch (sym->n_sclass) in do_where() 227 where->offset = sym->n_value / 8; in do_where() 228 where->bitoffset = sym->n_value % 8; in do_where() 249 if (sym->n_scnum >= ofile->nsections || sym->n_scnum < 0) in do_where() 252 sym->n_scnum); in do_where() [all …]
|