summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2019-02-03 03:44:07 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2019-02-03 03:44:07 +0000
commit49a0bca4736436b81a8076307598b93babd3aa25 (patch)
tree23501a69c357a0bb8a725c8561e323449112afcf
parent675743755ae0e656694b669d509fcdf132ef3b59 (diff)
_dl_cerror is trivial on powerpc; just inline the handling into the stubs
based on a diff from miod@
-rw-r--r--libexec/ld.so/powerpc/SYS.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ld.so/powerpc/SYS.h b/libexec/ld.so/powerpc/SYS.h
index 6128c3cfd77..ea30a339c9d 100644
--- a/libexec/ld.so/powerpc/SYS.h
+++ b/libexec/ld.so/powerpc/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.1 2017/08/27 21:59:52 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.2 2019/02/03 03:44:06 guenther Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -35,7 +35,5 @@ ENTRY(_dl_##n) \
sc ;\
cmpwi 0, 0 ;\
beqlr+ ;\
- b _dl_cerror
-_dl_cerror:
- neg 3, 3
+ neg 3, 3 ;\
blr