summaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-08-08 15:15:29 -0700
committerDan Albert <danalbert@google.com>2014-08-08 22:26:47 +0000
commit3726f9c38b4b27b492e378e20c52be859225e5f3 (patch)
tree23112c6c1380ee88e4762b749a1a883acc530cf1 /libc/tools
parent1c5e415f8c4cd2cb10ad1d1cf660d17161132772 (diff)
downloadbionic-3726f9c38b4b27b492e378e20c52be859225e5f3.zip
bionic-3726f9c38b4b27b492e378e20c52be859225e5f3.tar.gz
bionic-3726f9c38b4b27b492e378e20c52be859225e5f3.tar.bz2
Revert "Fix incorrect relocations for x86."
Bug: 16853291 This reverts commit 512bc5232689bec9c763c8247b59de970096ff87.
Diffstat (limited to 'libc/tools')
-rwxr-xr-xlibc/tools/gensyscalls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 2b7bec7..42f2c91 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -175,7 +175,7 @@ x86_call = """\
jb 1f
negl %%eax
pushl %%eax
- call PIC_PLT(__set_errno)
+ call __set_errno
addl $4, %%esp
1:
"""
@@ -197,7 +197,7 @@ x86_64_call = """\
jb 1f
negl %%eax
movl %%eax, %%edi
- call PIC_PLT(__set_errno)
+ call __set_errno
1:
ret
END(%(func)s)