x86: Use one ldbl2mpn.c file for both i386 and x86_64

Message ID 877dslyghd.fsf@oldenburg2.str.redhat.com
State New
Headers show
Series
  • x86: Use one ldbl2mpn.c file for both i386 and x86_64
Related show

Commit Message

H.J. Lu via Libc-alpha Sept. 22, 2020, 3:32 p.m.
Tested on i686-linux-gnu and x86_64-linux-gnu.

---
 sysdeps/ia64/ldbl2mpn.c          | 2 +-
 sysdeps/{i386 => x86}/ldbl2mpn.c | 0
 sysdeps/x86_64/ldbl2mpn.c        | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)


-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill

Comments

H.J. Lu via Libc-alpha Sept. 22, 2020, 3:38 p.m. | #1
On Tue, Sep 22, 2020 at 8:32 AM Florian Weimer <fweimer@redhat.com> wrote:
>

> Tested on i686-linux-gnu and x86_64-linux-gnu.

>

> ---

>  sysdeps/ia64/ldbl2mpn.c          | 2 +-

>  sysdeps/{i386 => x86}/ldbl2mpn.c | 0

>  sysdeps/x86_64/ldbl2mpn.c        | 1 -

>  3 files changed, 1 insertion(+), 2 deletions(-)

>

> diff --git a/sysdeps/ia64/ldbl2mpn.c b/sysdeps/ia64/ldbl2mpn.c

> index 641b789cd4..66ac0a47a4 100644

> --- a/sysdeps/ia64/ldbl2mpn.c

> +++ b/sysdeps/ia64/ldbl2mpn.c

> @@ -1 +1 @@

> -#include "../i386/ldbl2mpn.c"

> +#include "../x86/ldbl2mpn.c"

> diff --git a/sysdeps/i386/ldbl2mpn.c b/sysdeps/x86/ldbl2mpn.c

> similarity index 100%

> rename from sysdeps/i386/ldbl2mpn.c

> rename to sysdeps/x86/ldbl2mpn.c

> diff --git a/sysdeps/x86_64/ldbl2mpn.c b/sysdeps/x86_64/ldbl2mpn.c

> deleted file mode 100644

> index 641b789cd4..0000000000

> --- a/sysdeps/x86_64/ldbl2mpn.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include "../i386/ldbl2mpn.c"

>


LGTM.

Thanks.

-- 
H.J.

Patch

diff --git a/sysdeps/ia64/ldbl2mpn.c b/sysdeps/ia64/ldbl2mpn.c
index 641b789cd4..66ac0a47a4 100644
--- a/sysdeps/ia64/ldbl2mpn.c
+++ b/sysdeps/ia64/ldbl2mpn.c
@@ -1 +1 @@ 
-#include "../i386/ldbl2mpn.c"
+#include "../x86/ldbl2mpn.c"
diff --git a/sysdeps/i386/ldbl2mpn.c b/sysdeps/x86/ldbl2mpn.c
similarity index 100%
rename from sysdeps/i386/ldbl2mpn.c
rename to sysdeps/x86/ldbl2mpn.c
diff --git a/sysdeps/x86_64/ldbl2mpn.c b/sysdeps/x86_64/ldbl2mpn.c
deleted file mode 100644
index 641b789cd4..0000000000
--- a/sysdeps/x86_64/ldbl2mpn.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include "../i386/ldbl2mpn.c"