public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [alpha] cfi changes for new assembler
@ 2007-03-13 21:30 Richard Henderson
  0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2007-03-13 21:30 UTC (permalink / raw)
  To: libc-hacker

A newer assembler doesn't allow cfi regions to span subsections.
Which I thought a cute solution, but not strictly necessary.  
Fixed by using one cfi region for each subsection.

Committed.


r~


        * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
	separate cfi regions for the two subsections.

Index: sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
===================================================================
RCS file: /cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h,v
retrieving revision 1.6
diff -u -p -r1.6 sysdep-cancel.h
--- sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h	29 Oct 2006 21:48:06 -0000	1.6
+++ sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h	13 Mar 2007 21:25:58 -0000
@@ -55,6 +55,7 @@ __LABEL(name)							\
 	bne	a3, SYSCALL_ERROR_LABEL;			\
 __LABEL($pseudo_ret)						\
 	.subsection 2;						\
+	cfi_startproc;						\
 __LABEL($pseudo_cancel)						\
 	subq	sp, 64, sp;					\
 	cfi_def_cfa_offset(64);					\
@@ -90,12 +91,13 @@ __LABEL($multi_error)						\
 	cfi_def_cfa_offset(0);					\
 __LABEL($syscall_error)						\
 	SYSCALL_ERROR_HANDLER;					\
+	cfi_endproc;						\
 	.previous
 
 # undef PSEUDO_END
 # define PSEUDO_END(sym)					\
-	.subsection 2;						\
 	cfi_endproc;						\
+	.subsection 2;						\
 	.size sym, .-sym
 
 # define SAVE_ARGS_0	/* Nothing.  */

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

only message in thread, other threads:[~2007-03-13 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13 21:30 [alpha] cfi changes for new assembler Richard Henderson

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).