浏览代码

Mark _start as function

Currently marked as NOTYPE

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer 1 年之前
父节点
当前提交
64027ee986
共有 5 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      gnuefi/crt0-efi-aarch64.S
  2. 1 0
      gnuefi/crt0-efi-arm.S
  3. 1 0
      gnuefi/crt0-efi-ia32.S
  4. 1 0
      gnuefi/crt0-efi-riscv64.S
  5. 1 0
      gnuefi/crt0-efi-x86_64.S

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

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

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

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

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

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

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

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

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

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