Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
happy.
This commit is contained in:
parent
17aa4afba3
commit
9a51cfcde1
@ -65,7 +65,7 @@ ENTRY(vfork)
|
||||
je 1f /* yes */
|
||||
movl $0,%eax
|
||||
1:
|
||||
jmp %ecx
|
||||
jmp *%ecx
|
||||
2:
|
||||
pushl %ecx
|
||||
PIC_PROLOGUE
|
||||
|
@ -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" */
|
||||
|
@ -65,7 +65,7 @@ ENTRY(vfork)
|
||||
je 1f /* yes */
|
||||
movl $0,%eax
|
||||
1:
|
||||
jmp %ecx
|
||||
jmp *%ecx
|
||||
2:
|
||||
pushl %ecx
|
||||
PIC_PROLOGUE
|
||||
|
Loading…
Reference in New Issue
Block a user