aboutsummaryrefslogtreecommitdiff
path: root/libgloss/xtensa/crt0.S
blob: 67c359c5b42e5ac689f662b80deb848dd847db54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) 2023 Espressif Systems (Shanghai) CO LTD
 * SPDX-License-Identifier: BSD-2-Clause
 */

/* crt0.S
 * Dummy startup file which calls main() function.
 * It can be used for compilation tests only.
 */

	.text

	/*
	 *  Simple jump to main().
	 */

	.global	_start
	_start:
	movi	a4, main
	jx	a4		/* jump to main */