diff mbox series

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

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

Commit Message

Florian Weimer Sept. 22, 2020, 3:32 p.m. UTC
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(-)

Comments

H.J. Lu Sept. 22, 2020, 3:38 p.m. UTC | #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.
diff mbox series

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"