Skip to content

Commit 00f7aa9

Browse files
committed
added missing .type *, @function to crt0.S
1 parent 9a59931 commit 00f7aa9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/crt/crt0.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ __header:
6666
.equ ti.ClrTxtShd, 0x020818
6767

6868
.global __start
69+
.type __start, @function
6970
__start:
7071
ld iy, ti.flags
7172
ld sp, (ti.onSP) ; reset stacks
@@ -100,6 +101,7 @@ __start:
100101
___app_start:
101102
#else
102103
.global __start
104+
.type __start, @function
103105
__start:
104106
ld iy, ti.flags
105107
#endif
@@ -321,6 +323,7 @@ ___libload_libs_ret:
321323
#endif
322324
.equ __start._main, $ - 3
323325
.global ___exithl
326+
.type ___exithl, @function
324327
___exithl:
325328
#if HAS_ATEXIT || HAS_FINI_ARRAY || HAS_ABORT
326329
push hl

0 commit comments

Comments
 (0)