summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-30 20:07:49 +0000
committerjhb <jhb@FreeBSD.org>2000-11-30 20:07:49 +0000
commita76f7b5509c7c9ba078d24a09da8ec078aaa635c (patch)
tree654887936e099c9822a36c65e0a4906d09bd042c
parent69ecf492a62855b29a6ffc300a3df3c98a8cce35 (diff)
downloadFreeBSD-src-a76f7b5509c7c9ba078d24a09da8ec078aaa635c.zip
FreeBSD-src-a76f7b5509c7c9ba078d24a09da8ec078aaa635c.tar.gz
Revert the previous change to this file. We have to hardcode in the opcode
for return because we do Evil Things(tm) with a 'ret' macro in asmacros.h. Noticed by: markm
-rw-r--r--sys/amd64/amd64/support.S2
-rw-r--r--sys/amd64/amd64/support.s2
-rw-r--r--sys/i386/i386/support.s2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index f51a3be..1187c19 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -1670,4 +1670,4 @@ NON_GPROF_ENTRY(__bb_init_func)
movl bbhead,%edx
movl %edx,16(%eax)
movl %eax,bbhead
- ret
+ .byte 0xc3 /* avoid macro for `ret' */
diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s
index f51a3be..1187c19 100644
--- a/sys/amd64/amd64/support.s
+++ b/sys/amd64/amd64/support.s
@@ -1670,4 +1670,4 @@ NON_GPROF_ENTRY(__bb_init_func)
movl bbhead,%edx
movl %edx,16(%eax)
movl %eax,bbhead
- ret
+ .byte 0xc3 /* avoid macro for `ret' */
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index f51a3be..1187c19 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -1670,4 +1670,4 @@ NON_GPROF_ENTRY(__bb_init_func)
movl bbhead,%edx
movl %edx,16(%eax)
movl %eax,bbhead
- ret
+ .byte 0xc3 /* avoid macro for `ret' */
OpenPOWER on IntegriCloud