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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user