commit | 4d0f742afe4867a0064d46a5b55df33e07c02c9d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sun Aug 10 05:19:22 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Aug 09 00:52:40 2014 +0000 |
tree | 9be12a05b97b30aa6693b3b0433a7e179413676b | |
parent | a0db46418757dd1b399acb97ff42083cc274e8ae [diff] | |
parent | ca5b6a74a70924e513ae1b1a3f8718eb16ca60f2 [diff] |
Merge "Fix our x86 PIC_PROLOGUE."
diff --git a/libc/arch-x86/include/machine/asm.h b/libc/arch-x86/include/machine/asm.h index bf77525..672493d 100644 --- a/libc/arch-x86/include/machine/asm.h +++ b/libc/arch-x86/include/machine/asm.h
@@ -39,10 +39,10 @@ #define PIC_PROLOGUE \ pushl %ebx; \ - call 1f; \ -1: \ + call 666f; \ +666: \ popl %ebx; \ - addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx + addl $_GLOBAL_OFFSET_TABLE_+[.-666b], %ebx #define PIC_EPILOGUE \ popl %ebx #define PIC_PLT(x) x@PLT