Kaynağa Gözat

Mark _start as function

Currently marked as NOTYPE

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer 1 yıl önce
ebeveyn
işleme
64027ee986

+ 1 - 0
gnuefi/crt0-efi-aarch64.S

@@ -20,6 +20,7 @@
 	.align		12
 
 	.globl _start
+	.type _start,%function
 _start:
 	stp		x29, x30, [sp, #-32]!
 	mov		x29, sp

+ 1 - 0
gnuefi/crt0-efi-arm.S

@@ -133,6 +133,7 @@ section_table:
 	.4byte	0xe0500020	// Characteristics (section flags)
 
 .globl	_start
+.type _start,%function
 _start:
 	stmfd		sp!, {r0-r2, lr}
 

+ 1 - 0
gnuefi/crt0-efi-ia32.S

@@ -37,6 +37,7 @@
 	.align 4
 
 	.globl _start
+	.type _start,%function
 _start:
 	pushl %ebp
 	movl %esp,%ebp

+ 1 - 0
gnuefi/crt0-efi-riscv64.S

@@ -129,6 +129,7 @@ section_table:
 
 	.align	12
 	.globl _start
+	.type _start,%function
 _start:
 	addi		sp, sp, -24
 	sd		a0, 0(sp)

+ 1 - 0
gnuefi/crt0-efi-x86_64.S

@@ -38,6 +38,7 @@
 	.align 4
 
 	.globl _start
+	.type _start,%function
 _start:
 	subq $8, %rsp
 	pushq %rcx