public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] arm: sigrestorer: fix cfi errors
@ 2012-01-02 22:50 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2012-01-02 22:50 UTC (permalink / raw)
  To: libc-ports

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-02 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-02 22:50 [PATCH] arm: sigrestorer: fix cfi errors Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).