forked from reswitched/switch-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrocrt_Init_nro.arm.S
45 lines (38 loc) · 1.55 KB
/
rocrt_Init_nro.arm.S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*--------------------------------------------------------------------------------*
Copyright (C)Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
information of Nintendo and/or its licensed developers and are protected
by national and international copyright laws.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*--------------------------------------------------------------------------------*/
#include "rocrt.AssemblyOffset.h"
.section ".rocrt_nro.init", "a"
.align 2
.hidden __bss_start
.hidden __bss_end
.hidden __exidx_start
.hidden __exidx_end
.hidden _ZN2nn5rocrt10g_RoModuleE
.global __rocrt
.hidden __rocrt
1: .word 0
.word __rocrt - 1b
.section ".rocrt_nro.info", "a"
__rocrt:
.word NN_ROCRT_MODULE_HEADER_VERSION
.word _DYNAMIC - __rocrt
.word __bss_start - __rocrt
.word __bss_end - __rocrt
.word __exidx_start - __rocrt
.word __exidx_end - __rocrt
.word _ZN2nn5rocrt10g_RoModuleE - __rocrt
.section ".bss"
.align 2
_ZN2nn5rocrt10g_RoModuleE:
.skip NN_ROCRT_ROMODULE_SIZE