[PATCH]: i386 compile fix for sigreturn.S
Kristian Van Der Vliet
vanders@liqwyd.com
Sun Jul 24 14:33:00 GMT 2005
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
More information about the Libc-alpha
mailing list