This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: i386 compile fix for sigreturn.S


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]