summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-01 00:26:16 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-01 00:26:16 +0000
commitfae2e911e92b52b7c27fab6a883c826eb8962b3c (patch)
tree2a144ff472c6814635ab72b809ac6cbc1a1ac1b4 /sys/lib
parent4e4b1886af0747a922f14ed00884cea8b1b1964f (diff)
_C_LABEL() is no longer useful in the "everything is ELF" world.
Start eliminating it. ok mpi@ mlarkin@ krw@
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/arch/amd64/htonl.S6
-rw-r--r--sys/lib/libkern/arch/amd64/htons.S6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/lib/libkern/arch/amd64/htonl.S b/sys/lib/libkern/arch/amd64/htonl.S
index 07965cd1fd9..6073506bfaa 100644
--- a/sys/lib/libkern/arch/amd64/htonl.S
+++ b/sys/lib/libkern/arch/amd64/htonl.S
@@ -40,9 +40,9 @@
#include <machine/asm.h>
-_ENTRY(_C_LABEL(htonl))
-_NENTRY(_C_LABEL(ntohl))
-_NENTRY(_C_LABEL(bswap32))
+_ENTRY(htonl)
+_NENTRY(ntohl)
+_NENTRY(bswap32)
_PROF_PROLOGUE
RETGUARD_SETUP(htonl, r11)
movl %edi,%eax
diff --git a/sys/lib/libkern/arch/amd64/htons.S b/sys/lib/libkern/arch/amd64/htons.S
index 3a702594733..189bcba3c54 100644
--- a/sys/lib/libkern/arch/amd64/htons.S
+++ b/sys/lib/libkern/arch/amd64/htons.S
@@ -40,9 +40,9 @@
#include <machine/asm.h>
-_ENTRY(_C_LABEL(htons))
-_NENTRY(_C_LABEL(ntohs))
-_NENTRY(_C_LABEL(bswap16))
+_ENTRY(htons)
+_NENTRY(ntohs)
+_NENTRY(bswap16)
_PROF_PROLOGUE
RETGUARD_SETUP(htons, r11)
movl %edi,%eax