[PR target/47534] Fix

Denis Chertykov chertykov@gmail.com
Mon Feb 7 20:22:00 GMT 2011


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



More information about the Gcc-patches mailing list