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

Florian Weimer fweimer@redhat.com
Tue Sep 22 15:32:30 GMT 2020


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"

-- 
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



More information about the Libc-alpha mailing list