]> sourceware.org Git - glibc.git/commitdiff
Remove redundant macro definitions from ia64 sfp-machine.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 12 Nov 2018 14:37:45 +0000 (14:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 12 Nov 2018 14:37:45 +0000 (14:37 +0000)
After the changes to use the copy attribute, building glibc for ia64
fails, even with older compilers, because
sysdeps/ia64/fpu/sfp-machine.h has a definition of _strong_alias that
now differs from the one in libc-symbols.h.

That definition is a relic of this file coming from libgcc, as are
some other such macro definitions in this file; in the glibc context,
there is no need for those macros, and this patch removes them to fix
the build.

Tested with build-many-glibcs.py for ia64-linux-gnu.

* sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
(__BIG_ENDIAN): Likewise.
(__BYTE_ORDER): Likewise.
(strong_alias): Likewise.
(_strong_alias): Likewise.

ChangeLog
sysdeps/ia64/fpu/sfp-machine.h

index 716aa803b434f256001969776201cd5e3b650930..c85af69b14a6ac6a01979ebde5d986d7a696f10d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
+       (__BIG_ENDIAN): Likewise.
+       (__BYTE_ORDER): Likewise.
+       (strong_alias): Likewise.
+       (_strong_alias): Likewise.
+
 2018-11-12  Florian Weimer  <fweimer@redhat.com>
 
        * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
index 45e844d3daa6dba3e258d43e99fec2b4a2ccc3fa..ec79e67b3bfc3b263637d6bec75c5152e7ba191d 100644 (file)
@@ -88,13 +88,3 @@ void __sfp_handle_exceptions (int);
   } while (0)
 
 #define FP_ROUNDMODE           (_fcw & FP_RND_MASK)
-
-#define        __LITTLE_ENDIAN 1234
-#define        __BIG_ENDIAN    4321
-
-#define __BYTE_ORDER __LITTLE_ENDIAN
-
-/* Define ALIASNAME as a strong alias for NAME.  */
-#define strong_alias(name, aliasname) _strong_alias(name, aliasname)
-#define _strong_alias(name, aliasname) \
-  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
This page took 0.068707 seconds and 5 git commands to generate.