summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-28 22:59:14 +0000
committerjhb <jhb@FreeBSD.org>2000-11-28 22:59:14 +0000
commit09e0dbdcd9bc82c9f8cf86886ceea3e8c4d460d3 (patch)
treeb9499f26f087d267469dc4daa2e2032f24b1d3df /lib
parentd36784b7165269287fb8955cdc9b4e22278590d4 (diff)
downloadFreeBSD-src-09e0dbdcd9bc82c9f8cf86886ceea3e8c4d460d3.zip
FreeBSD-src-09e0dbdcd9bc82c9f8cf86886ceea3e8c4d460d3.tar.gz
Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
happy.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/amd64/sys/vfork.S2
-rw-r--r--lib/libc/i386/gen/alloca.S2
-rw-r--r--lib/libc/i386/sys/Ovfork.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/amd64/sys/vfork.S b/lib/libc/amd64/sys/vfork.S
index 30d7fd1..8ec99ae 100644
--- a/lib/libc/amd64/sys/vfork.S
+++ b/lib/libc/amd64/sys/vfork.S
@@ -65,7 +65,7 @@ ENTRY(vfork)
je 1f /* yes */
movl $0,%eax
1:
- jmp %ecx
+ jmp *%ecx
2:
pushl %ecx
PIC_PROLOGUE
diff --git a/lib/libc/i386/gen/alloca.S b/lib/libc/i386/gen/alloca.S
index 4aa0e32..76108fe 100644
--- a/lib/libc/i386/gen/alloca.S
+++ b/lib/libc/i386/gen/alloca.S
@@ -57,4 +57,4 @@ ENTRY(alloca)
pushl 4(%ecx)
pushl 0(%ecx)
pushl %eax /* dummy to pop at callsite */
- jmp %edx /* "return" */
+ jmp *%edx /* "return" */
diff --git a/lib/libc/i386/sys/Ovfork.S b/lib/libc/i386/sys/Ovfork.S
index 30d7fd1..8ec99ae 100644
--- a/lib/libc/i386/sys/Ovfork.S
+++ b/lib/libc/i386/sys/Ovfork.S
@@ -65,7 +65,7 @@ ENTRY(vfork)
je 1f /* yes */
movl $0,%eax
1:
- jmp %ecx
+ jmp *%ecx
2:
pushl %ecx
PIC_PROLOGUE
OpenPOWER on IntegriCloud