diff mbox

[PR,target/47534] Fix

Message ID AANLkTik49KwX==Q7x7+5ECUkW9B-UQuX6qBDgr4TNLpU@mail.gmail.com
State New
Headers show

Commit Message

Denis Chertykov Feb. 7, 2011, 8:22 p.m. UTC
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
diff mbox

Patch

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