diff mbox series

[2/5] Remove p{read,write}{v} and fallocate from x86 auto-generation list

Message ID 1495563960-669-3-git-send-email-adhemerval.zanella@linaro.org
State Superseded
Headers show
Series Remove sysdep-cancel assembly macro | expand

Commit Message

Adhemerval Zanella May 23, 2017, 6:25 p.m. UTC
With {INLINE,INTERNAL}_SYSCALL macros fixed for 64-bits arguments on x32,
we can remove the p{read,write}{v} from auto-generation list.

Tested on x86_64 and x32.

	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
	(preadv64): Likewise.
	(pwrite64(: Likewise.
	(pwritev64): Likewise.
---
 ChangeLog                                        | 5 +++++
 sysdeps/unix/sysv/linux/x86_64/syscalls.list     | 4 ----
 sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list | 1 -
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4

Comments

Adhemerval Zanella June 29, 2017, 2:15 p.m. UTC | #1
Ping, x86 is the only target AFAIK preventing the sysdep-cancel asm
macro removal.

On 23/05/2017 15:25, Adhemerval Zanella wrote:
> With {INLINE,INTERNAL}_SYSCALL macros fixed for 64-bits arguments on x32,

> we can remove the p{read,write}{v} from auto-generation list.

> 

> Tested on x86_64 and x32.

> 

> 	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.

> 	(preadv64): Likewise.

> 	(pwrite64(: Likewise.

> 	(pwritev64): Likewise.

> ---

>  ChangeLog                                        | 5 +++++

>  sysdeps/unix/sysv/linux/x86_64/syscalls.list     | 4 ----

>  sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list | 1 -

>  3 files changed, 5 insertions(+), 5 deletions(-)

> 

> diff --git a/sysdeps/unix/sysv/linux/x86_64/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/syscalls.list

> index 889193b..d46524e 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/syscalls.list

> +++ b/sysdeps/unix/sysv/linux/x86_64/syscalls.list

> @@ -2,10 +2,6 @@

>  

>  arch_prctl	EXTRA	arch_prctl	i:ii	__arch_prctl	arch_prctl

>  modify_ldt	EXTRA	modify_ldt	i:ipi	__modify_ldt	modify_ldt

> -pread64		-	pread64		Ci:ipii	__libc_pread	__libc_pread64 __pread64 pread64 __pread pread

> -preadv64	-	preadv		Ci:ipii	preadv64	preadv

> -pwrite64	-	pwrite64	Ci:ipii	__libc_pwrite	__libc_pwrite64 __pwrite64 pwrite64 __pwrite pwrite

> -pwritev64	-	pwritev		Ci:ipii	pwritev64	pwritev

>  syscall_clock_gettime	EXTRA	clock_gettime	Ei:ip		__syscall_clock_gettime

>  

>  

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list

> index a41c8ac..b44f6f9 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list

> @@ -1,6 +1,5 @@

>  # File name	Caller	Syscall name	# args	Strong name	Weak names

>  

> -fallocate	-	fallocate	Ci:iiii	fallocate	fallocate64

>  gettimeofday	-	gettimeofday:__vdso_gettimeofday@LINUX_2.6	i:pP	__gettimeofday	gettimeofday

>  personality	EXTRA	personality	Ei:i	__personality	personality

>  posix_fadvise64	-	fadvise64	Vi:iiii	posix_fadvise	posix_fadvise64

>
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/x86_64/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/syscalls.list
index 889193b..d46524e 100644
--- a/sysdeps/unix/sysv/linux/x86_64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/x86_64/syscalls.list
@@ -2,10 +2,6 @@ 
 
 arch_prctl	EXTRA	arch_prctl	i:ii	__arch_prctl	arch_prctl
 modify_ldt	EXTRA	modify_ldt	i:ipi	__modify_ldt	modify_ldt
-pread64		-	pread64		Ci:ipii	__libc_pread	__libc_pread64 __pread64 pread64 __pread pread
-preadv64	-	preadv		Ci:ipii	preadv64	preadv
-pwrite64	-	pwrite64	Ci:ipii	__libc_pwrite	__libc_pwrite64 __pwrite64 pwrite64 __pwrite pwrite
-pwritev64	-	pwritev		Ci:ipii	pwritev64	pwritev
 syscall_clock_gettime	EXTRA	clock_gettime	Ei:ip		__syscall_clock_gettime
 
 
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
index a41c8ac..b44f6f9 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
@@ -1,6 +1,5 @@ 
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 
-fallocate	-	fallocate	Ci:iiii	fallocate	fallocate64
 gettimeofday	-	gettimeofday:__vdso_gettimeofday@LINUX_2.6	i:pP	__gettimeofday	gettimeofday
 personality	EXTRA	personality	Ei:i	__personality	personality
 posix_fadvise64	-	fadvise64	Vi:iiii	posix_fadvise	posix_fadvise64