Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 105) sorted by relevance

12345

/glibc-2.36/sysdeps/microblaze/
Dbacktrace.c27 _identify_sighandler (unsigned long fp, unsigned long pc,
38 find_frame_creation (unsigned long *pc) in find_frame_creation() argument
46 for (i = 0; i < 1000; i++, pc--) in find_frame_creation()
51 instr = *pc; in find_frame_creation()
63 return pc; in find_frame_creation()
69 lookup_prev_stack_frame (unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument
75 int is_signalhandler = _identify_sighandler (fp, pc, pprev_fp, in lookup_prev_stack_frame()
80 prologue = find_frame_creation ((unsigned long *) pc); in lookup_prev_stack_frame()
108 unsigned long pc, fp; in __backtrace() local
122 : "=r"(pc)); in __backtrace()
[all …]
Dbacktrace_linux.c26 _identify_sighandler (unsigned long fp, unsigned long pc, in _identify_sighandler() argument
37 tramp = (unsigned long *) pc; in _identify_sighandler()
48 *pprev_pc = uc->uc_mcontext.regs.pc; in _identify_sighandler()
/glibc-2.36/sysdeps/posix/
Dsprofil.c74 pc_to_index (size_t pc, size_t offset, unsigned int scale, int prof_uint) in pc_to_index() argument
76 size_t i = (pc - offset) / (prof_uint ? sizeof (int) : sizeof (short)); in pc_to_index()
88 size_t pc, bin_size = (prof_uint ? sizeof (int) : sizeof (short)); in index_to_pc() local
91 pc = offset + (unsigned long long int) n * bin_size * 65536ull / scale; in index_to_pc()
93 pc = (offset + n * bin_size / scale * 65536 in index_to_pc()
96 if (pc_to_index (pc, offset, scale, prof_uint) < n) in index_to_pc()
98 ++pc; in index_to_pc()
100 assert (pc_to_index (pc - 1, offset, scale, prof_uint) < n in index_to_pc()
101 && pc_to_index (pc, offset, scale, prof_uint) >= n); in index_to_pc()
103 return pc; in index_to_pc()
[all …]
/glibc-2.36/iconv/
Dgconv_charset.c73 gconv_parse_code (struct gconv_parsed_code *pc) in gconv_parse_code() argument
75 pc->translit = false; in gconv_parse_code()
76 pc->ignore = false; in gconv_parse_code()
81 size_t len = strlen (pc->code); in gconv_parse_code()
83 && (isspace (pc->code[len - 1]) in gconv_parse_code()
84 || pc->code[len - 1] == ',' in gconv_parse_code()
85 || pc->code[len - 1] == '/')) in gconv_parse_code()
88 pc->code[len] = '\0'; in gconv_parse_code()
93 char * suffix = find_suffix (pc->code); in gconv_parse_code()
132 pc->translit = true; in gconv_parse_code()
[all …]
/glibc-2.36/sysdeps/generic/
Dunwind-dw2-fde-glibc.c38 extern fde * _Unwind_Find_registered_FDE (void *pc,
44 _Unwind_Ptr pc; member
114 if (data->pc >= vaddr && data->pc < vaddr + phdr->p_memsz) in _Unwind_IteratePhdrCallback()
190 if (data->pc < table[0].initial_loc + data_base) in _Unwind_IteratePhdrCallback()
192 else if (data->pc < table[mid].initial_loc + data_base) in _Unwind_IteratePhdrCallback()
200 if (data->pc < table[mid].initial_loc + data_base) in _Unwind_IteratePhdrCallback()
202 else if (data->pc >= table[mid + 1].initial_loc + data_base) in _Unwind_IteratePhdrCallback()
217 if (data->pc < table[mid].initial_loc + data_base + range) in _Unwind_IteratePhdrCallback()
233 data->ret = linear_search_fdes (&ob, (fde *) eh_frame, (void *) data->pc); in _Unwind_IteratePhdrCallback()
251 _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases) in _Unwind_Find_FDE() argument
[all …]
Dframestate.c28 typedef struct frame_state * (*framesf)(void *pc, struct frame_state *);
29 struct frame_state *__frame_state_for (void *pc,
33 __frame_state_for (void *pc, struct frame_state *frame_state) in __frame_state_for() argument
37 return UNWIND_LINK_PTR (unwind_link, __frame_state_for) (pc, frame_state); in __frame_state_for()
41 return fallback_frame_state_for (pc, frame_state); in __frame_state_for()
Dunwind-dw2-fde.c816 linear_search_fdes (struct object *ob, fde *this_fde, void *pc) in linear_search_fdes() argument
874 if ((_Unwind_Ptr) pc - pc_begin < pc_range) in linear_search_fdes()
885 binary_search_unencoded_fdes (struct object *ob, void *pc) in binary_search_unencoded_fdes() argument
900 if (pc < pc_begin) in binary_search_unencoded_fdes()
902 else if (pc >= pc_begin + pc_range) in binary_search_unencoded_fdes()
912 binary_search_single_encoding_fdes (struct object *ob, void *pc) in binary_search_single_encoding_fdes() argument
930 if ((_Unwind_Ptr) pc < pc_begin) in binary_search_single_encoding_fdes()
932 else if ((_Unwind_Ptr) pc >= pc_begin + pc_range) in binary_search_single_encoding_fdes()
942 binary_search_mixed_encoding_fdes (struct object *ob, void *pc) in binary_search_mixed_encoding_fdes() argument
961 if ((_Unwind_Ptr) pc < pc_begin) in binary_search_mixed_encoding_fdes()
[all …]
Dunwind-dw2.c118 void *pc; member
217 _Unwind_FindEnclosingFunction (void *pc) in _Unwind_FindEnclosingFunction() argument
220 struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases); in _Unwind_FindEnclosingFunction()
741 while (insn_ptr < insn_end && fs->pc < context->ra) in execute_cfa_program()
748 fs->pc += (insn & 0x3f) * fs->code_align; in execute_cfa_program()
766 _Unwind_Ptr pc; in execute_cfa_program() local
768 insn_ptr, &pc); in execute_cfa_program()
769 fs->pc = (void *) pc; in execute_cfa_program()
774 fs->pc += read_1u (insn_ptr) * fs->code_align; in execute_cfa_program()
778 fs->pc += read_2u (insn_ptr) * fs->code_align; in execute_cfa_program()
[all …]
/glibc-2.36/sysdeps/mips/
Dunwind-arch.h46 uint32_t *pc = (uint32_t *) prev; in unwind_arch_adjustment() local
48 if (pc == NULL) in unwind_arch_adjustment()
52 if ((uintptr_t) pc & 0x3) in unwind_arch_adjustment()
62 if (pc[1] != 0x0000000c) in unwind_arch_adjustment()
65 if (pc[0] == (0x24020000 | __NR_sigreturn)) in unwind_arch_adjustment()
68 if (pc[0] == (0x24020000 | __NR_rt_sigreturn)) in unwind_arch_adjustment()
/glibc-2.36/sysdeps/arm/
Dfind_exidx.c23 _Unwind_Ptr pc; member
51 if (data->pc >= vaddr && data->pc < vaddr + phdr->p_memsz) in find_exidx_callback()
68 __gnu_Unwind_Find_exidx (_Unwind_Ptr pc, int * pcount) in __gnu_Unwind_Find_exidx() argument
72 data.pc = pc; in __gnu_Unwind_Find_exidx()
Dsysdep.h81 # define BLX(R) mov lr, pc; bx R
84 # define BX(R) mov pc, R
85 # define BXC(C, R) mov##C pc, R
86 # define BLX(R) mov lr, pc; mov pc, R
161 # define LDST_PC_INDEXED(OP, R, T, X) LDST_INDEXED_NOINDEX (OP, R, T, pc, X)
166 # define LDST_PC_INDEXED(OP, R, T, X) LDST_INDEXED_NOINDEX (OP, R, T, pc, X)
168 # define LDST_PC_INDEXED(OP, R, T, X) LDST_INDEXED_INDEX (OP, R, pc, X)
179 99: add T, T, pc; \
192 99: OP R, [pc, T]
211 97: add R, R, pc; \
[all …]
Dmemcpy.S93 CALGN( add pc, r4, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2))
116 addne pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
123 0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
149 add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
152 0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
208 pop {r0, r4, pc}
Dmemmove.S109 CALGN( add pc, r4, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2))
132 addne pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
139 0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
165 add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
168 0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
224 pop {r0, r4, pc}
Dcrtn.S48 pop {r3, pc}
56 pop {r3, pc}
/glibc-2.36/elf/
Ddl-find_object.c36 _dl_find_object_slow (void *pc, struct dl_find_object *result) in _dl_find_object_slow() argument
38 ElfW(Addr) addr = (ElfW(Addr)) pc; in _dl_find_object_slow()
319 _dlfo_lookup (uintptr_t pc, struct dl_find_object_internal *first1, size_t size) in _dlfo_lookup() argument
329 if (atomic_load_relaxed (&middle->map_start) < pc) in _dlfo_lookup()
338 if (first != end && pc == atomic_load_relaxed (&first->map_start)) in _dlfo_lookup()
340 if (pc < atomic_load_relaxed (&first->map_end)) in _dlfo_lookup()
350 if (pc < atomic_load_relaxed (&first->map_end)) in _dlfo_lookup()
361 uintptr_t pc = (uintptr_t) pc1; in _dl_find_object() local
372 if (pc >= _dlfo_main.map_start && pc < _dlfo_main.map_end) in _dl_find_object()
379 if (pc >= _dlfo_nodelete_mappings->map_start in _dl_find_object()
[all …]
/glibc-2.36/scripts/
Dconfig.guess430 GUESS=i386-pc-auroraux$UNAME_RELEASE
447 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
885 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
918 GUESS=$UNAME_MACHINE-pc-cygwin
921 GUESS=$UNAME_MACHINE-pc-mingw64
924 GUESS=$UNAME_MACHINE-pc-mingw32
927 GUESS=$UNAME_MACHINE-pc-msys
930 GUESS=$UNAME_MACHINE-pc-pw32
933 GUESS=$UNAME_MACHINE-pc-serenity
938 GUESS=i586-pc-interix$UNAME_RELEASE
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/mips/mips32/
Dbug-getcontext-mips-gp.c52 if (ctx.uc_mcontext.pc == 0 in do_test()
53 || ctx.uc_mcontext.pc > 0xffffffff) in do_test()
56 ctx.uc_mcontext.pc); in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-sigcontext-get_pc.c39 uintptr_t pc = sigcontext_get_pc (ctx); in handler() local
40 printf ("info: address in signal handler: 0x%" PRIxPTR "\n", pc); in handler()
50 if ((uintptr_t) callstack[i] == pc) in handler()
/glibc-2.36/sysdeps/sparc/sparc32/
Ddl-machine.h57 do { register Elf32_Addr pc __asm("o7"); \
62 : "=r" (pc), "=r" (PIC_REG)); \
82 register Elf32_Addr *pc __asm ("%o7"), *got __asm ("%l7"); in elf_machine_load_address()
89 "1:\tadd %1, %0, %1\n\t" : "=r" (pc), "=r" (got)); in elf_machine_load_address()
95 return (Elf32_Addr) got - *got + (pc[2] - pc[3]) * 4 - 4; in elf_machine_load_address()
/glibc-2.36/sysdeps/unix/sysv/linux/m68k/m680x0/
Dswapcontext.S40 cfi_offset (%pc, oPC)
84 cfi_offset (%pc, oPC)
101 cfi_register (%pc, %a0)
105 cfi_offset (%pc, -4)
Dsetcontext.S72 cfi_offset (%pc, oPC)
87 cfi_register (%pc, %a1)
91 cfi_offset (%pc, -4)
/glibc-2.36/sysdeps/alpha/
D_mcount.S43 mov ra, a0 # a0 = caller-pc
45 mov $at, a1 # a1 = self-pc
77 ldq $at, 0x10(sp) # restore self-pc
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc32/
Dsigcontextinfo.h43 unsigned int pc; member
52 return ctx->pc; in sigcontext_get_pc()
/glibc-2.36/sysdeps/m68k/m680x0/
Dsysdep.h26 OP SRC(%pc), DST
30 lea _GLOBAL_OFFSET_TABLE_@GOTPC (%pc), R
/glibc-2.36/sysdeps/mach/i386/
Dsysdep.h42 #define RETURN_TO(sp, pc, retval) \ argument
44 : : "g" (sp), "r" (pc), "a" (retval))

12345