[v2,6/8] sparc64: Use linux generic time implementation

Message ID 20190905205620.4646-6-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • [v2,1/8] Remove PREPARE_VERSION and PREPARE_VERSION_KNOW
Related show

Commit Message

Adhemerval Zanella Sept. 5, 2019, 8:56 p.m.
There is no need to sparc64 provide an arch-specific implementation to
route to POSIX one (which uses gettimeofday).  Linux one already handles
the case for architecture that does not have __NR_time.

No semantic changes, checked against a build for sparc64-linux-gnu.

	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
---
 sysdeps/unix/sysv/linux/sparc/sparc64/time.c | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/time.c

-- 
2.17.1

Comments

Adhemerval Zanella Sept. 17, 2019, 2:26 p.m. | #1
I will commit this shortly if no one opposes, after I tested on the affected
architectures.

On 05/09/2019 17:56, Adhemerval Zanella wrote:
> There is no need to sparc64 provide an arch-specific implementation to

> route to POSIX one (which uses gettimeofday).  Linux one already handles

> the case for architecture that does not have __NR_time.

> 

> No semantic changes, checked against a build for sparc64-linux-gnu.

> 

> 	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.

> ---

>  sysdeps/unix/sysv/linux/sparc/sparc64/time.c | 1 -

>  1 file changed, 1 deletion(-)

>  delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/time.c

> 

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c b/sysdeps/unix/sysv/linux/sparc/sparc64/time.c

> deleted file mode 100644

> index 509b580c55..0000000000

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/posix/time.c>

>

Patch

diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c b/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
deleted file mode 100644
index 509b580c55..0000000000
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/posix/time.c>