diff options
author | Chung-Lin Tang <cltang@codesourcery.com> | 2015-01-20 14:49:51 +0000 |
---|---|---|
committer | Chung-Lin Tang <cltang@gcc.gnu.org> | 2015-01-20 14:49:51 +0000 |
commit | a9ce4e4a70e10377a3033ded9392d67a92a0e2c1 (patch) | |
tree | f52044c174fb3d9f216f4b1f50a3a749b46669cd /libgcc | |
parent | 3b6444f0aa353487b263e444f2cc5e7ff7b3571a (diff) | |
download | gcc-a9ce4e4a70e10377a3033ded9392d67a92a0e2c1.zip gcc-a9ce4e4a70e10377a3033ded9392d67a92a0e2c1.tar.gz gcc-a9ce4e4a70e10377a3033ded9392d67a92a0e2c1.tar.bz2 |
nios2.c (nios2_asm_file_end): Implement TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when needed.
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.
From-SVN: r219898
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/nios2/linux-unwind.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 84ebcc5..e7837d7 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 0f1a405..dff1c20 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; |