about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-12 14:44:36 -0400
committerMike Frysinger <vapier@gentoo.org>2012-08-12 14:49:55 -0400
commit86e1477c1a10dac35634f5bb44f8e0adb7992a3d (patch)
tree964943040e497724f95fdf25c25955e1fec65b87
parent3447612d3ce9f6903c19526595c3acf0043daf80 (diff)
downloadglibc-86e1477c1a10dac35634f5bb44f8e0adb7992a3d.tar.gz
glibc-86e1477c1a10dac35634f5bb44f8e0adb7992a3d.tar.xz
glibc-86e1477c1a10dac35634f5bb44f8e0adb7992a3d.zip
ia64: drop ASM_TYPE_DIRECTIVE usage
Matches what we've done in the rest of the tree.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--ports/ChangeLog.ia648
-rw-r--r--ports/sysdeps/ia64/fpu/libm-symbols.h7
-rw-r--r--ports/sysdeps/ia64/fpu/libm_tan.S2
3 files changed, 12 insertions, 5 deletions
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 943df8d66b..744f9bb2c9 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 81084bd62e..0df807601c 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 655a864552..b267f13d9e 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