aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-04-28 15:05:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-04-28 15:05:09 +0000
commitdbb188dd87ffdbf0ca3d9cd118ad4176439fb294 (patch)
treee4ce409d0438a4387b76dc0dd92d79902582525d /sysdeps/x86_64
parenta9bfa4353cd39ae2eae3c111844a32f9d3abbc19 (diff)
downloadglibc-dbb188dd87ffdbf0ca3d9cd118ad4176439fb294.tar
glibc-dbb188dd87ffdbf0ca3d9cd118ad4176439fb294.tar.gz
glibc-dbb188dd87ffdbf0ca3d9cd118ad4176439fb294.tar.bz2
glibc-dbb188dd87ffdbf0ca3d9cd118ad4176439fb294.zip
Remove unused floating-point configuration from gmp-impl.h.
This patch removes the IEEE_DOUBLE_BIG_ENDIAN and IEEE_DOUBLE_MIXED_ENDIAN macros from gmp-impl.h and gmp-mparam.h, and the ieee_double_extract union from gmp-impl.h. The macros were used only in defining the union, which was used nowhere in glibc. As GMP's gmp-impl.h is over 5000 lines, the file in glibc is so far from the GMP version that it doesn't seem to make sense to keep things there that are not relevant in glibc. (I expect there is plenty more in the header after this patch that is also not relevant in glibc and can be cleaned up later.) Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by this patch.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/x32/gmp-mparam.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/x86_64/x32/gmp-mparam.h b/sysdeps/x86_64/x32/gmp-mparam.h
index f2d9782eb1..b0804d4f86 100644
--- a/sysdeps/x86_64/x32/gmp-mparam.h
+++ b/sysdeps/x86_64/x32/gmp-mparam.h
@@ -29,5 +29,3 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, see
#define BITS_PER_INT 32
#define BITS_PER_SHORTINT 16
#define BITS_PER_CHAR 8
-
-#define IEEE_DOUBLE_BIG_ENDIAN 0