summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2020-10-19 17:57:41 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2020-10-19 17:57:41 +0000
commit6456e6e4155883e99c0a5af69f853348060db220 (patch)
tree86adaa0c198a9e12989818786533ead885598929 /lib/csu
parentd5e8e4fcde2236801b1a54cb94da4ffc4ad95f24 (diff)
replace ad-hoc illegal instruction with the architecturally defined one
("permanently undefined") ok deraadt@ kettenis@
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/aarch64/md_init.h4
-rw-r--r--lib/csu/arm/md_init.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/csu/aarch64/md_init.h b/lib/csu/aarch64/md_init.h
index de8b2512c0c..c8420cabeb8 100644
--- a/lib/csu/aarch64/md_init.h
+++ b/lib/csu/aarch64/md_init.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.9 2020/10/15 16:30:21 deraadt Exp $ */
+/* $OpenBSD: md_init.h,v 1.10 2020/10/19 17:57:40 naddy Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -115,5 +115,5 @@
" svc #0 \n" \
" dsb nsh \n" \
" isb \n" \
- " .word 0xa000f7f0 /* illegal */ \n" \
+ " udf #0 \n" \
".previous");
diff --git a/lib/csu/arm/md_init.h b/lib/csu/arm/md_init.h
index d80c0cccbb5..3a9b581b6dc 100644
--- a/lib/csu/arm/md_init.h
+++ b/lib/csu/arm/md_init.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.16 2020/10/15 16:30:23 deraadt Exp $ */
+/* $OpenBSD: md_init.h,v 1.17 2020/10/19 17:57:40 naddy Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -159,5 +159,5 @@
" swi #0 \n" \
" dsb nsh \n" \
" isb \n" \
- " .word 0xa000f7f0 /* illegal */ \n" \
+ " udf #0 \n" \
".previous");