Line
Link Here
|
0 |
-- a/libgcc/config/aarch64/linux-unwind.h |
0 |
++ b/libgcc/config/aarch64/linux-unwind.h |
Lines 55-61
aarch64_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
55 |
struct rt_sigframe |
55 |
struct rt_sigframe |
56 |
{ |
56 |
{ |
57 |
siginfo_t info; |
57 |
siginfo_t info; |
58 |
struct ucontext uc; |
58 |
ucontext_t uc; |
59 |
}; |
59 |
}; |
60 |
|
60 |
|
61 |
struct rt_sigframe *rt_; |
61 |
struct rt_sigframe *rt_; |
62 |
-- a/libgcc/config/alpha/linux-unwind.h |
62 |
++ b/libgcc/config/alpha/linux-unwind.h |
Lines 51-57
alpha_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
51 |
{ |
51 |
{ |
52 |
struct rt_sigframe { |
52 |
struct rt_sigframe { |
53 |
siginfo_t info; |
53 |
siginfo_t info; |
54 |
struct ucontext uc; |
54 |
ucontext_t uc; |
55 |
} *rt_ = context->cfa; |
55 |
} *rt_ = context->cfa; |
56 |
sc = &rt_->uc.uc_mcontext; |
56 |
sc = &rt_->uc.uc_mcontext; |
57 |
} |
57 |
} |
58 |
-- a/libgcc/config/bfin/linux-unwind.h |
58 |
++ b/libgcc/config/bfin/linux-unwind.h |
Lines 52-58
bfin_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
52 |
void *puc; |
52 |
void *puc; |
53 |
char retcode[8]; |
53 |
char retcode[8]; |
54 |
siginfo_t info; |
54 |
siginfo_t info; |
55 |
struct ucontext uc; |
55 |
ucontext_t uc; |
56 |
} *rt_ = context->cfa; |
56 |
} *rt_ = context->cfa; |
57 |
|
57 |
|
58 |
/* The void * cast is necessary to avoid an aliasing warning. |
58 |
/* The void * cast is necessary to avoid an aliasing warning. |
59 |
-- a/libgcc/config/i386/linux-unwind.h |
59 |
++ b/libgcc/config/i386/linux-unwind.h |
Lines 58-64
x86_64_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
58 |
if (*(unsigned char *)(pc+0) == 0x48 |
58 |
if (*(unsigned char *)(pc+0) == 0x48 |
59 |
&& *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL) |
59 |
&& *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL) |
60 |
{ |
60 |
{ |
61 |
struct ucontext *uc_ = context->cfa; |
61 |
ucontext_t *uc_ = context->cfa; |
62 |
/* The void * cast is necessary to avoid an aliasing warning. |
62 |
/* The void * cast is necessary to avoid an aliasing warning. |
63 |
The aliasing warning is correct, but should not be a problem |
63 |
The aliasing warning is correct, but should not be a problem |
64 |
because it does not alias anything. */ |
64 |
because it does not alias anything. */ |
Lines 138-144
x86_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
138 |
siginfo_t *pinfo; |
138 |
siginfo_t *pinfo; |
139 |
void *puc; |
139 |
void *puc; |
140 |
siginfo_t info; |
140 |
siginfo_t info; |
141 |
struct ucontext uc; |
141 |
ucontext_t uc; |
142 |
} *rt_ = context->cfa; |
142 |
} *rt_ = context->cfa; |
143 |
/* The void * cast is necessary to avoid an aliasing warning. |
143 |
/* The void * cast is necessary to avoid an aliasing warning. |
144 |
The aliasing warning is correct, but should not be a problem |
144 |
The aliasing warning is correct, but should not be a problem |
145 |
-- a/libgcc/config/m68k/linux-unwind.h |
145 |
++ b/libgcc/config/m68k/linux-unwind.h |
Lines 33-39
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
Link Here
|
33 |
/* <sys/ucontext.h> is unfortunately broken right now. */ |
33 |
/* <sys/ucontext.h> is unfortunately broken right now. */ |
34 |
struct uw_ucontext { |
34 |
struct uw_ucontext { |
35 |
unsigned long uc_flags; |
35 |
unsigned long uc_flags; |
36 |
struct ucontext *uc_link; |
36 |
ucontext_t *uc_link; |
37 |
stack_t uc_stack; |
37 |
stack_t uc_stack; |
38 |
mcontext_t uc_mcontext; |
38 |
mcontext_t uc_mcontext; |
39 |
unsigned long uc_filler[80]; |
39 |
unsigned long uc_filler[80]; |
40 |
-- a/libgcc/config/nios2/linux-unwind.h |
40 |
++ b/libgcc/config/nios2/linux-unwind.h |
Lines 38-44
struct nios2_mcontext {
Link Here
|
38 |
|
38 |
|
39 |
struct nios2_ucontext { |
39 |
struct nios2_ucontext { |
40 |
unsigned long uc_flags; |
40 |
unsigned long uc_flags; |
41 |
struct ucontext *uc_link; |
41 |
ucontext_t *uc_link; |
42 |
stack_t uc_stack; |
42 |
stack_t uc_stack; |
43 |
struct nios2_mcontext uc_mcontext; |
43 |
struct nios2_mcontext uc_mcontext; |
44 |
sigset_t uc_sigmask; /* mask last for extensibility */ |
44 |
sigset_t uc_sigmask; /* mask last for extensibility */ |
45 |
-- a/libgcc/config/pa/linux-unwind.h |
45 |
++ b/libgcc/config/pa/linux-unwind.h |
Lines 80-86
pa32_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
80 |
struct sigcontext *sc; |
80 |
struct sigcontext *sc; |
81 |
struct rt_sigframe { |
81 |
struct rt_sigframe { |
82 |
siginfo_t info; |
82 |
siginfo_t info; |
83 |
struct ucontext uc; |
83 |
ucontext_t uc; |
84 |
} *frame; |
84 |
} *frame; |
85 |
|
85 |
|
86 |
/* rt_sigreturn trampoline: |
86 |
/* rt_sigreturn trampoline: |
87 |
-- a/libgcc/config/sh/linux-unwind.h |
87 |
++ b/libgcc/config/sh/linux-unwind.h |
Lines 82-88
sh_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
82 |
{ |
82 |
{ |
83 |
struct rt_sigframe { |
83 |
struct rt_sigframe { |
84 |
siginfo_t info; |
84 |
siginfo_t info; |
85 |
struct ucontext uc; |
85 |
ucontext_t uc; |
86 |
} *rt_ = context->cfa; |
86 |
} *rt_ = context->cfa; |
87 |
/* The void * cast is necessary to avoid an aliasing warning. |
87 |
/* The void * cast is necessary to avoid an aliasing warning. |
88 |
The aliasing warning is correct, but should not be a problem |
88 |
The aliasing warning is correct, but should not be a problem |
89 |
-- a/libgcc/config/tilepro/linux-unwind.h |
89 |
++ b/libgcc/config/tilepro/linux-unwind.h |
Lines 61-67
tile_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
61 |
struct rt_sigframe { |
61 |
struct rt_sigframe { |
62 |
unsigned char save_area[C_ABI_SAVE_AREA_SIZE]; |
62 |
unsigned char save_area[C_ABI_SAVE_AREA_SIZE]; |
63 |
siginfo_t info; |
63 |
siginfo_t info; |
64 |
struct ucontext uc; |
64 |
ucontext_t uc; |
65 |
} *rt_; |
65 |
} *rt_; |
66 |
|
66 |
|
67 |
/* Return if this is not a signal handler. */ |
67 |
/* Return if this is not a signal handler. */ |
68 |
-- a/libgcc/config/xtensa/linux-unwind.h |
68 |
++ b/libgcc/config/xtensa/linux-unwind.h |
Lines 67-73
xtensa_fallback_frame_state (struct _Unwind_Context *context,
Link Here
|
67 |
|
67 |
|
68 |
struct rt_sigframe { |
68 |
struct rt_sigframe { |
69 |
siginfo_t info; |
69 |
siginfo_t info; |
70 |
struct ucontext uc; |
70 |
ucontext_t uc; |
71 |
} *rt_; |
71 |
} *rt_; |
72 |
|
72 |
|
73 |
/* movi a2, __NR_rt_sigreturn; syscall */ |
73 |
/* movi a2, __NR_rt_sigreturn; syscall */ |