This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PR target/47534] Fix


Committed patch for fix PR target/47534


2011-02-07  Denis Chertykov  <chertykov@gmail.com>

	PR target/47534
	* config/avr/libgcc.S (exit): Move .endfunc


Index: libgcc.S
===================================================================
--- libgcc.S	(revision 147817)
+++ libgcc.S	(working copy)
@@ -645,6 +645,7 @@ __epilogue_restores__:
 _exit:
 	.weak	exit
 exit:
+	.endfunc

 	/* Code from .fini8 ... .fini1 sections inserted by ld script.  */

@@ -652,7 +653,6 @@ exit:
 	cli
 __stop_program:
 	rjmp	__stop_program
-	.endfunc
 #endif /* defined (L_exit) */

 #ifdef L_cleanup


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