This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] arm: sigrestorer: fix cfi errors
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-ports at sourceware dot org
- Date: Mon, 2 Jan 2012 17:50:23 -0500
- Subject: [PATCH] arm: sigrestorer: fix cfi errors
Building the sigrestorer code with newer binutils fails like so:
.../arm/sigrestorer.S: Assembler messages:
.../arm/sigrestorer.S:30: Error: previous CFI entry not closed (missing .cfi_endproc)
.../arm/sigrestorer.S:31: Error: open CFI at the end of file; missing .cfi_endproc directive
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=12354
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-02 Mike Frysinger <vapier@gentoo.org>
PR glibc/12354
* sysdeps/unix/sysv/linux/arm/sigrestorer.S (__default_sa_restorer):
Add END(__default_sa_restorer).
(__default_rt_sa_restorer): Add END(__default_rt_sa_restorer).
---
sysdeps/unix/sysv/linux/arm/sigrestorer.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/arm/sigrestorer.S b/sysdeps/unix/sysv/linux/arm/sigrestorer.S
index 98e33cb..2b811d1 100644
--- a/sysdeps/unix/sysv/linux/arm/sigrestorer.S
+++ b/sysdeps/unix/sysv/linux/arm/sigrestorer.S
@@ -24,10 +24,12 @@
ENTRY(__default_sa_restorer)
swi SYS_ify(sigreturn)
+END(__default_sa_restorer)
#ifdef __NR_rt_sigreturn
ENTRY(__default_rt_sa_restorer)
swi SYS_ify(rt_sigreturn)
+END(__default_rt_sa_restorer)
#endif
--
1.7.6.1