summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-09-22 16:13:03 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-09-22 16:13:03 +0000
commit0e2f7c53a998678fbe1a6152c3cb398a02263983 (patch)
tree5a3e9789d0aafb6f386cca2d974f608485f9f134 /libexec/ld.so
parent6165559d81753441a4c7468239a3cfa131b997c4 (diff)
Correct the token used.
Pointed out by LLVM. ldasm.S:111:74: error: unexpected token in '.type' directive .section ".text" ; .align 4 ; .global _dl_issetugid ; .type _dl_issetugid%function ;_dl_issetugid: ; movl $253,%eax; int $0x80 ; jb .L_cerr ; ret ^ ok guenther@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/i386/ldasm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/i386/ldasm.S b/libexec/ld.so/i386/ldasm.S
index 7750a8f0dd5..9a7f0b85a31 100644
--- a/libexec/ld.so/i386/ldasm.S
+++ b/libexec/ld.so/i386/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.19 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: ldasm.S,v 1.20 2014/09/22 16:13:02 brad Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -90,7 +90,7 @@ _dl_start:
.section ".text" ;\
.align 4 ;\
.global __CONCAT(_dl_,n) ;\
- .type __CONCAT(_dl_,n)%function ;\
+ .type __CONCAT(_dl_,n),@function ;\
__CONCAT(_dl_,n): ;\
__DO_SYSCALL(c) ;\
jb .L_cerr ;\