This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] ia64: drop ASM_TYPE_DIRECTIVE usage
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Sun, 12 Aug 2012 14:48:48 -0400
- Subject: [PATCH] ia64: drop ASM_TYPE_DIRECTIVE usage
- References: <Pine.LNX.4.64.1208022058380.28917@digraph.polyomino.org.uk>
Matches what we've done in the rest of the tree.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
ports/ChangeLog.ia64 | 8 ++++++++
ports/sysdeps/ia64/fpu/libm-symbols.h | 7 +++----
ports/sysdeps/ia64/fpu/libm_tan.S | 2 +-
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 943df8d..744f9bb 100644
--- a/ports/ChangeLog.ia64
+++ b/ports/ChangeLog.ia64
@@ -1,3 +1,11 @@
+2012-08-12 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/ia64/fpu/libm-symbols.h (ASM_TYPE_DIRECTIVE): Remove.
+ (LOCAL_OBJECT_START): Do not use ASM_TYPE_DIRECTIVE.
+ (WEAK_LIBM_END): Likewise.
+ (GLOBAL_IEEE754_END): Likewise.
+ * sysdeps/ia64/fpu/libm_tan.S: Likewise.
+
2012-08-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h
diff --git a/ports/sysdeps/ia64/fpu/libm-symbols.h b/ports/sysdeps/ia64/fpu/libm-symbols.h
index 81084bd..0df8076 100644
--- a/ports/sysdeps/ia64/fpu/libm-symbols.h
+++ b/ports/sysdeps/ia64/fpu/libm-symbols.h
@@ -4,7 +4,6 @@
/* Support for compatible assembler handling. */
#define ASM_SIZE_DIRECTIVE(name) .size name,.-name
-#define ASM_TYPE_DIRECTIVE(name,T) .type name,T
#define LOCAL_LIBM_ENTRY(name) \
.proc name; \
@@ -18,7 +17,7 @@
#define RODATA .rodata
#define LOCAL_OBJECT_START(name) \
name:; \
- ASM_TYPE_DIRECTIVE(name, @object)
+ .type name, @object
#define LOCAL_OBJECT_END(name) \
ASM_SIZE_DIRECTIVE(name)
@@ -42,7 +41,7 @@
.hidden __##name; \
LOCAL_LIBM_END(__##name); \
ASM_SIZE_DIRECTIVE(__##name); \
- ASM_TYPE_DIRECTIVE(__##name, @function)
+ .type __##name, @function
#define GLOBAL_IEEE754_ENTRY(name) \
WEAK_LIBM_ENTRY(name); \
@@ -52,7 +51,7 @@
#define GLOBAL_IEEE754_END(name) \
WEAK_LIBM_END(name); \
ASM_SIZE_DIRECTIVE(__ieee754_##name); \
- ASM_TYPE_DIRECTIVE(__ieee754_##name, @function)
+ .type __ieee754_##name, @function
#if defined ASSEMBLER && !defined NOT_IN_libc
# define __libm_error_support HIDDEN_JUMPTARGET(__libm_error_support)
diff --git a/ports/sysdeps/ia64/fpu/libm_tan.S b/ports/sysdeps/ia64/fpu/libm_tan.S
index 655a864..b267f13 100644
--- a/ports/sysdeps/ia64/fpu/libm_tan.S
+++ b/ports/sysdeps/ia64/fpu/libm_tan.S
@@ -689,7 +689,7 @@
.align 128
TAN_BASE_CONSTANTS:
-ASM_TYPE_DIRECTIVE(TAN_BASE_CONSTANTS,@object)
+.type TAN_BASE_CONSTANTS, @object
data4 0x4B800000, 0xCB800000, 0x38800000, 0xB8800000 // two**24, -two**24
// two**-14, -two**-14
data4 0x4E44152A, 0xA2F9836E, 0x00003FFE, 0x00000000 // two_by_pi
--
1.7.9.7