From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10729 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix x86_64 sigreturn call so gdb recognizes it Date: Sat, 12 Nov 2016 18:07:13 +0100 Message-ID: <20161112170712.GP5749@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1478970472 6609 195.159.176.226 (12 Nov 2016 17:07:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2016 17:07:52 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-10742-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 12 18:07:48 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1c5bm4-00078j-1N for gllmg-musl@m.gmane.org; Sat, 12 Nov 2016 18:07:28 +0100 Original-Received: (qmail 18250 invoked by uid 550); 12 Nov 2016 17:07:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18215 invoked from network); 12 Nov 2016 17:07:25 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:10729 Archived-At: gdb cannot unwind across signal handlers if __restore{_rt} is not aligned. --- other targets may be affected as well, i only tried x86_64 and i386. src/signal/x86_64/restore.s | 1 + 1 file changed, 1 insertion(+) diff --git a/src/signal/x86_64/restore.s b/src/signal/x86_64/restore.s index 682af2d..179f3ef 100644 --- a/src/signal/x86_64/restore.s +++ b/src/signal/x86_64/restore.s @@ -1,3 +1,4 @@ +.align 16 .global __restore_rt .global __restore .type __restore_rt,@function -- 2.10.2