summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-03-24 16:50:46 -0700
committerChristopher Ferris <cferris@google.com>2015-03-24 21:08:26 -0700
commitfa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3 (patch)
tree546a5eff515f97537cae2cbec5d99c68ee85844b /libc/arch-x86_64
parentee4997ecc3daeb9af110d932ddb27f969cc7271a (diff)
downloadbionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.zip
bionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.tar.gz
bionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.tar.bz2
Make gensyscalls.py use the ALIAS_SYMBOL macro.
Change-Id: Ib94c0abb6fc85126ecc5ed3f1962b2b8b90b9952
Diffstat (limited to 'libc/arch-x86_64')
-rw-r--r--libc/arch-x86_64/syscalls/_exit.S3
-rw-r--r--libc/arch-x86_64/syscalls/fallocate.S3
-rw-r--r--libc/arch-x86_64/syscalls/fstat64.S3
-rw-r--r--libc/arch-x86_64/syscalls/fstatat64.S3
-rw-r--r--libc/arch-x86_64/syscalls/ftruncate.S3
-rw-r--r--libc/arch-x86_64/syscalls/getrlimit.S3
-rw-r--r--libc/arch-x86_64/syscalls/lseek.S3
-rw-r--r--libc/arch-x86_64/syscalls/mmap.S3
-rw-r--r--libc/arch-x86_64/syscalls/pread64.S3
-rw-r--r--libc/arch-x86_64/syscalls/prlimit64.S3
-rw-r--r--libc/arch-x86_64/syscalls/pwrite64.S3
-rw-r--r--libc/arch-x86_64/syscalls/sendfile.S3
-rw-r--r--libc/arch-x86_64/syscalls/setrlimit.S3
-rw-r--r--libc/arch-x86_64/syscalls/truncate.S3
14 files changed, 14 insertions, 28 deletions
diff --git a/libc/arch-x86_64/syscalls/_exit.S b/libc/arch-x86_64/syscalls/_exit.S
index c79091d..1ab4d4f 100644
--- a/libc/arch-x86_64/syscalls/_exit.S
+++ b/libc/arch-x86_64/syscalls/_exit.S
@@ -14,5 +14,4 @@ ENTRY(_exit)
ret
END(_exit)
- .globl _Exit
- .equ _Exit, _exit
+ALIAS_SYMBOL(_Exit, _exit)
diff --git a/libc/arch-x86_64/syscalls/fallocate.S b/libc/arch-x86_64/syscalls/fallocate.S
index 8307f7e..f6f891b 100644
--- a/libc/arch-x86_64/syscalls/fallocate.S
+++ b/libc/arch-x86_64/syscalls/fallocate.S
@@ -15,5 +15,4 @@ ENTRY(fallocate)
ret
END(fallocate)
- .globl fallocate64
- .equ fallocate64, fallocate
+ALIAS_SYMBOL(fallocate64, fallocate)
diff --git a/libc/arch-x86_64/syscalls/fstat64.S b/libc/arch-x86_64/syscalls/fstat64.S
index de57668..a0d4fa1 100644
--- a/libc/arch-x86_64/syscalls/fstat64.S
+++ b/libc/arch-x86_64/syscalls/fstat64.S
@@ -14,5 +14,4 @@ ENTRY(fstat64)
ret
END(fstat64)
- .globl fstat
- .equ fstat, fstat64
+ALIAS_SYMBOL(fstat, fstat64)
diff --git a/libc/arch-x86_64/syscalls/fstatat64.S b/libc/arch-x86_64/syscalls/fstatat64.S
index 47785bb..1984d68 100644
--- a/libc/arch-x86_64/syscalls/fstatat64.S
+++ b/libc/arch-x86_64/syscalls/fstatat64.S
@@ -15,5 +15,4 @@ ENTRY(fstatat64)
ret
END(fstatat64)
- .globl fstatat
- .equ fstatat, fstatat64
+ALIAS_SYMBOL(fstatat, fstatat64)
diff --git a/libc/arch-x86_64/syscalls/ftruncate.S b/libc/arch-x86_64/syscalls/ftruncate.S
index 0365368..7917468 100644
--- a/libc/arch-x86_64/syscalls/ftruncate.S
+++ b/libc/arch-x86_64/syscalls/ftruncate.S
@@ -14,5 +14,4 @@ ENTRY(ftruncate)
ret
END(ftruncate)
- .globl ftruncate64
- .equ ftruncate64, ftruncate
+ALIAS_SYMBOL(ftruncate64, ftruncate)
diff --git a/libc/arch-x86_64/syscalls/getrlimit.S b/libc/arch-x86_64/syscalls/getrlimit.S
index 2d272a1..00ed08a 100644
--- a/libc/arch-x86_64/syscalls/getrlimit.S
+++ b/libc/arch-x86_64/syscalls/getrlimit.S
@@ -14,5 +14,4 @@ ENTRY(getrlimit)
ret
END(getrlimit)
- .globl getrlimit64
- .equ getrlimit64, getrlimit
+ALIAS_SYMBOL(getrlimit64, getrlimit)
diff --git a/libc/arch-x86_64/syscalls/lseek.S b/libc/arch-x86_64/syscalls/lseek.S
index 153b935..69d60c2 100644
--- a/libc/arch-x86_64/syscalls/lseek.S
+++ b/libc/arch-x86_64/syscalls/lseek.S
@@ -14,5 +14,4 @@ ENTRY(lseek)
ret
END(lseek)
- .globl lseek64
- .equ lseek64, lseek
+ALIAS_SYMBOL(lseek64, lseek)
diff --git a/libc/arch-x86_64/syscalls/mmap.S b/libc/arch-x86_64/syscalls/mmap.S
index 8aa4780..0c25473 100644
--- a/libc/arch-x86_64/syscalls/mmap.S
+++ b/libc/arch-x86_64/syscalls/mmap.S
@@ -15,5 +15,4 @@ ENTRY(mmap)
ret
END(mmap)
- .globl mmap64
- .equ mmap64, mmap
+ALIAS_SYMBOL(mmap64, mmap)
diff --git a/libc/arch-x86_64/syscalls/pread64.S b/libc/arch-x86_64/syscalls/pread64.S
index 3aa56e5..eaa47b1 100644
--- a/libc/arch-x86_64/syscalls/pread64.S
+++ b/libc/arch-x86_64/syscalls/pread64.S
@@ -15,5 +15,4 @@ ENTRY(pread64)
ret
END(pread64)
- .globl pread
- .equ pread, pread64
+ALIAS_SYMBOL(pread, pread64)
diff --git a/libc/arch-x86_64/syscalls/prlimit64.S b/libc/arch-x86_64/syscalls/prlimit64.S
index 63ec492..737b863 100644
--- a/libc/arch-x86_64/syscalls/prlimit64.S
+++ b/libc/arch-x86_64/syscalls/prlimit64.S
@@ -15,5 +15,4 @@ ENTRY(prlimit64)
ret
END(prlimit64)
- .globl prlimit
- .equ prlimit, prlimit64
+ALIAS_SYMBOL(prlimit, prlimit64)
diff --git a/libc/arch-x86_64/syscalls/pwrite64.S b/libc/arch-x86_64/syscalls/pwrite64.S
index 2779fb4..edb60af 100644
--- a/libc/arch-x86_64/syscalls/pwrite64.S
+++ b/libc/arch-x86_64/syscalls/pwrite64.S
@@ -15,5 +15,4 @@ ENTRY(pwrite64)
ret
END(pwrite64)
- .globl pwrite
- .equ pwrite, pwrite64
+ALIAS_SYMBOL(pwrite, pwrite64)
diff --git a/libc/arch-x86_64/syscalls/sendfile.S b/libc/arch-x86_64/syscalls/sendfile.S
index 117b0aa..c0fa4ee 100644
--- a/libc/arch-x86_64/syscalls/sendfile.S
+++ b/libc/arch-x86_64/syscalls/sendfile.S
@@ -15,5 +15,4 @@ ENTRY(sendfile)
ret
END(sendfile)
- .globl sendfile64
- .equ sendfile64, sendfile
+ALIAS_SYMBOL(sendfile64, sendfile)
diff --git a/libc/arch-x86_64/syscalls/setrlimit.S b/libc/arch-x86_64/syscalls/setrlimit.S
index ef03068..3843ff9 100644
--- a/libc/arch-x86_64/syscalls/setrlimit.S
+++ b/libc/arch-x86_64/syscalls/setrlimit.S
@@ -14,5 +14,4 @@ ENTRY(setrlimit)
ret
END(setrlimit)
- .globl setrlimit64
- .equ setrlimit64, setrlimit
+ALIAS_SYMBOL(setrlimit64, setrlimit)
diff --git a/libc/arch-x86_64/syscalls/truncate.S b/libc/arch-x86_64/syscalls/truncate.S
index 2ecd05b..4b953a3 100644
--- a/libc/arch-x86_64/syscalls/truncate.S
+++ b/libc/arch-x86_64/syscalls/truncate.S
@@ -14,5 +14,4 @@ ENTRY(truncate)
ret
END(truncate)
- .globl truncate64
- .equ truncate64, truncate
+ALIAS_SYMBOL(truncate64, truncate)