summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/efi64/run_i386.S
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 01:25:47 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 01:25:47 +0000
commit99f092cb54970a4a2f138ab15c178ba402c6cb20 (patch)
tree33e206da5f6ee96bfb2b8b41acc6d5b3cc135e1c /sys/arch/amd64/stand/efi64/run_i386.S
parent7276046ee3e5ed97bbac25157fd0d675281cac9b (diff)
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code. ok deraadt@ jca@ krw@
Diffstat (limited to 'sys/arch/amd64/stand/efi64/run_i386.S')
-rw-r--r--sys/arch/amd64/stand/efi64/run_i386.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/stand/efi64/run_i386.S b/sys/arch/amd64/stand/efi64/run_i386.S
index 6f79230fe2d..82bc512b2cc 100644
--- a/sys/arch/amd64/stand/efi64/run_i386.S
+++ b/sys/arch/amd64/stand/efi64/run_i386.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: run_i386.S,v 1.2 2022/01/02 05:49:50 jsg Exp $ */
+/* $OpenBSD: run_i386.S,v 1.3 2022/12/08 01:25:44 guenther Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -22,14 +22,14 @@
#define CODE_SEGMENT 0x10
#define DATA_SEGMENT 0x18
- .globl _C_LABEL(run_i386_size)
-_C_LABEL(run_i386_size):
- .long run_i386_end - _C_LABEL(run_i386_start)
+ .globl run_i386_size
+run_i386_size:
+ .long run_i386_end - run_i386_start
.align 4
.text
- .globl _C_LABEL(run_i386_start)
-_C_LABEL(run_i386_start):
+ .globl run_i386_start
+run_i386_start:
start:
/*
* run_i386(_start) is to call the loaded kernel's start() with