* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
.init and .fini processing. * m32c/crtn.S: Likewise. * m32c/exit.S: Likewise.
This commit is contained in:
		| @@ -32,4 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
|  | ||||
| #include "m32csys.h" | ||||
|  | ||||
| S(_exit) | ||||
| 	.global	__exit | ||||
| __exit: | ||||
| 	jsr.a	__m32c_fini | ||||
| 	SYSCALL(SYS_exit) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user