about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-02 20:57:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-02 20:57:45 +0000
commit606dd3d9f42bc741f919ebdb2d86a59aaf525023 (patch)
treeff87bbd5b5e1d76663c9e572fa86dcb295e66098
parentd24416315b916c101f8898df93fb234595b48fd8 (diff)
downloadglibc-606dd3d9f42bc741f919ebdb2d86a59aaf525023.tar.gz
glibc-606dd3d9f42bc741f919ebdb2d86a59aaf525023.tar.xz
glibc-606dd3d9f42bc741f919ebdb2d86a59aaf525023.zip
Remove ASM_TYPE_DIRECTIVE for ARM.
-rw-r--r--ports/ChangeLog.arm5
-rw-r--r--ports/sysdeps/arm/sysdep.h4
2 files changed, 6 insertions, 3 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 58ad60d315..8379dc0441 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2012-08-02  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/arm/sysdep.h (ASM_TYPE_DIRECTIVE): Remove.
+	(ENTRY): Do not use ASM_TYPE_DIRECTIVE.
+
 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/arm/kernel-features.h
diff --git a/ports/sysdeps/arm/sysdep.h b/ports/sysdeps/arm/sysdep.h
index cd3d70b5aa..6ec2bd61c2 100644
--- a/ports/sysdeps/arm/sysdep.h
+++ b/ports/sysdeps/arm/sysdep.h
@@ -30,8 +30,6 @@
 /* Syntactic details of assembler.  */
 
 #define ALIGNARG(log2) log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,%##typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
 #define PLTJMP(_x)	_x##(PLT)
@@ -63,7 +61,7 @@
 /* Define an entry point visible from C.  */
 #define	ENTRY(name)							      \
   .globl C_SYMBOL_NAME(name);						      \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),function)			      \
+  .type C_SYMBOL_NAME(name),%function;					      \
   .align ALIGNARG(4);							      \
   C_LABEL(name)								      \
   .cfi_sections .debug_frame;						      \