Fix incorrect relocations for x86.

These calls were not going through the PLT like they should have been.

Bug: 16853291
Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
This commit is contained in:
Dan Albert
2014-08-07 10:46:42 -07:00
parent d994622ebf
commit 512bc52326
389 changed files with 390 additions and 390 deletions

View File

@@ -170,7 +170,7 @@ x86_call = """\
jb 1f
negl %%eax
pushl %%eax
call __set_errno
call PIC_PLT(__set_errno)
addl $4, %%esp
1:
"""
@@ -192,7 +192,7 @@ x86_64_call = """\
jb 1f
negl %%eax
movl %%eax, %%edi
call __set_errno
call PIC_PLT(__set_errno)
1:
ret
END(%(func)s)