[v2,02/16] x86: Make x32 use x86 time implementation

Message ID 20191217214728.2886-2-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • [v2,01/16] linux: Fix vDSO macros build with time64 interfaces
Related show

Commit Message

Adhemerval Zanella Dec. 17, 2019, 9:47 p.m.
Changes from previous version:

  - Remove unused x32 gettimeofday.c.

--

This is the only use of auto-generation syscall which uses a vDSO
plus IFUNC and the current x86 generic implementation already covers
the expected semantic.

Checked on x86_64-linux-gnu-x32.
---
 sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c | 1 -
 sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list  | 1 -
 2 files changed, 2 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c

-- 
2.17.1

Comments

Siddhesh Poyarekar Jan. 2, 2020, 12:07 p.m. | #1
On 18/12/19 3:17 am, Adhemerval Zanella wrote:
> Changes from previous version:

> 

>   - Remove unused x32 gettimeofday.c.

> 

> --

> 

> This is the only use of auto-generation syscall which uses a vDSO

> plus IFUNC and the current x86 generic implementation already covers

> the expected semantic.

> 

> Checked on x86_64-linux-gnu-x32.

> ---

>  sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c | 1 -

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

>  2 files changed, 2 deletions(-)

>  delete mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c

> 


OK.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>

Patch

diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c b/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
deleted file mode 100644
index cd342f33ad..0000000000
--- a/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86/gettimeofday.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
index 786c884232..58ea31d1fd 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list
@@ -2,4 +2,3 @@ 
 
 personality	EXTRA	personality	Ei:i	__personality	personality
 posix_fadvise64	-	fadvise64	Vi:iiii	posix_fadvise	posix_fadvise64
-time		-	time:__vdso_time@LINUX_2.6			Ei:P	time