commit | 512bc5232689bec9c763c8247b59de970096ff87 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Aug 07 10:46:42 2014 -0700 |
committer | Dan Albert <danalbert@google.com> | Thu Aug 07 16:21:47 2014 -0700 |
tree | e51f699b4bad5d59ea915bbea29dc4801eb5409c | |
parent | d994622ebf2c4b7e918d9e1f1840f9df88ee7222 [diff] [blame] |
Fix incorrect relocations for x86. These calls were not going through the PLT like they should have been. Bug: 16853291 Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S index 543b31e..607cc07 100644 --- a/libc/arch-x86/syscalls/init_module.S +++ b/libc/arch-x86/syscalls/init_module.S
@@ -21,7 +21,7 @@ jb 1f negl %eax pushl %eax - call __set_errno + call PIC_PLT(__set_errno) addl $4, %esp 1: popl %edx