summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorcltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-20 14:49:51 +0000
committercltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-20 14:49:51 +0000
commitc46389f0ac560e67a438f70620a9340456778eb9 (patch)
treef52044c174fb3d9f216f4b1f50a3a749b46669cd /libgcc
parent0d0f1868a46b0830d09804198b8075d232a8bd28 (diff)
downloadgcc-c46389f0ac560e67a438f70620a9340456778eb9.tar.gz
2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
gcc/ * config/nios2/nios2.c (nios2_asm_file_end): Implement TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when needed. (TARGET_ASM_FILE_END): Define. libgcc/ * config/nios2/linux-unwind.h (nios2_fallback_frame_state): Update rt_sigframe format and address for current Nios II Linux conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/nios2/linux-unwind.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 84ebcc5c098..e7837d7e9a8 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
+ Update rt_sigframe format and address for current Nios II
+ Linux conventions.
+
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
* config.host (arm*-*-freebsd*): Add new configuration for
diff --git a/libgcc/config/nios2/linux-unwind.h b/libgcc/config/nios2/linux-unwind.h
index 0f1a405def6..dff1c20076e 100644
--- a/libgcc/config/nios2/linux-unwind.h
+++ b/libgcc/config/nios2/linux-unwind.h
@@ -67,10 +67,9 @@ nios2_fallback_frame_state (struct _Unwind_Context *context,
if (pc[0] == (0x00800004 | (__NR_rt_sigreturn << 6)))
{
struct rt_sigframe {
- char retcode[12];
siginfo_t info;
struct nios2_ucontext uc;
- } *rt_ = context->ra;
+ } *rt_ = context->cfa;
struct nios2_mcontext *regs = &rt_->uc.uc_mcontext;
int i;