summaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-15 18:18:58 -0700
committerElliott Hughes <enh@google.com>2013-10-15 18:18:58 -0700
commitc9da332cce903ebd4bec97da1d78d363fcf41f6d (patch)
tree8b89ff33d2f5a9405f7bf43a4ec8e4fab44e6d6b /libc/tools
parent608c65f6955213179db4140cc57c40a2a88d5846 (diff)
downloadbionic-c9da332cce903ebd4bec97da1d78d363fcf41f6d.zip
bionic-c9da332cce903ebd4bec97da1d78d363fcf41f6d.tar.gz
bionic-c9da332cce903ebd4bec97da1d78d363fcf41f6d.tar.bz2
Remove support for the useless 'custom' option in SYSCALLS.TXT.
This cruft dates from a time when bionic would only output syscall contants for the syscalls mentioned in SYSCALLS.TXT. I fixed that a long time ago, but never followed through with the removal of what was then confusingly called "stub" and was recently renamed "custom". Change-Id: I8f3872a200b2dc8325e357cc5ee505ea4212ef95
Diffstat (limited to 'libc/tools')
-rw-r--r--libc/tools/bionic_utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/tools/bionic_utils.py b/libc/tools/bionic_utils.py
index 0ca2178..f8d8897 100644
--- a/libc/tools/bionic_utils.py
+++ b/libc/tools/bionic_utils.py
@@ -122,9 +122,7 @@ class SysCallsTxtParser:
# Parse the architecture list.
arch_list = line[pos_rparen+1:].strip()
- if arch_list == "custom":
- pass
- elif arch_list == "all":
+ if arch_list == "all":
for arch in all_arches:
t[arch] = True
else: