This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH]: i386 compile fix for sigreturn.S
- From: Kristian Van Der Vliet <vanders at liqwyd dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Sun, 24 Jul 2005 15:33:28 +0100
- Subject: [PATCH]: i386 compile fix for sigreturn.S
- Reply-to: vanders at liqwyd dot com
Hi,
sysdeps/unix/sysv/i386/sigreturn.S uses the ENTRY macro but does not have a
corresponding END macro. The ENTRY macro provides a cfi_startproc directive
but there is no matching cfi_endproc. This patch adds an implicit
cfi_endproc to the end of __sigreturn to fix the assembler error.
2005-07-24 Kristian Van Der Vliet <vanders@liqwyd.com>
* sysdeps/unix/sysv/i386/sigreturn.S (__sigreturn): Add missing
cfi_endproc.
Index: sigreturn.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/i386/sigreturn.S,v
retrieving revision 1.5
diff -u -r1.5 sigreturn.S
--- sigreturn.S 6 Jul 2001 04:56:12 -0000 1.5
+++ sigreturn.S 24 Jul 2005 11:03:43 -0000
@@ -23,5 +23,6 @@
addl $4, %esp /* Pop the return PC. */
lcall $0xf, $0 /* Do the magic sigreturn trap. */
/* NOTREACHED */
+ cfi_endproc;
weak_alias (__sigreturn, sigreturn)
--
Vanders
http://www.syllable.org
http://www.liqwyd.com