diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-28 22:59:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-28 22:59:14 +0000 |
commit | 09e0dbdcd9bc82c9f8cf86886ceea3e8c4d460d3 (patch) | |
tree | b9499f26f087d267469dc4daa2e2032f24b1d3df | |
parent | d36784b7165269287fb8955cdc9b4e22278590d4 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | lib/libc/amd64/sys/vfork.S | 2 | ||||
-rw-r--r-- | lib/libc/i386/gen/alloca.S | 2 | ||||
-rw-r--r-- | lib/libc/i386/sys/Ovfork.S | 2 |
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 |