This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/23125] riscv64: endless loop when throwing an exception from a constructor
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 15 Dec 2018 22:30:32 +0000
- Subject: [Bug libc/23125] riscv64: endless loop when throwing an exception from a constructor
- Auto-submitted: auto-generated
- References: <bug-23125-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23125
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.28/master has been updated
via b4ce4476fc5d14fff413abe130b2ea7a7554f8d3 (commit)
from 1a8db070fa42276f290e20c294a51b4fc9c51f83 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b4ce4476fc5d14fff413abe130b2ea7a7554f8d3
commit b4ce4476fc5d14fff413abe130b2ea7a7554f8d3
Author: Andreas Schwab <schwab@suse.de>
Date: Tue Sep 25 11:11:27 2018 +0200
RISC-V: properly terminate call chain (bug 23125)
Mark the ra register as undefined in _start, so that unwinding through
main works correctly. Also, don't use a tail call so that ra points after
the call to __libc_start_main, not after the previous call.
(cherry picked from commit 2dd12baa045f25c52b30a34b10f72d51f2605413)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 ++++++
elf/Makefile | 5 +++-
elf/{tst-absolute-zero.c => tst-unwind-main.c} | 32 ++++++++++++------------
sysdeps/riscv/start.S | 7 ++++-
4 files changed, 35 insertions(+), 18 deletions(-)
copy elf/{tst-absolute-zero.c => tst-unwind-main.c} (61%)
--
You are receiving this mail because:
You are on the CC list for the bug.