From 606dd3d9f42bc741f919ebdb2d86a59aaf525023 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 2 Aug 2012 20:57:45 +0000 Subject: Remove ASM_TYPE_DIRECTIVE for ARM. --- ports/sysdeps/arm/sysdep.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ports/sysdeps/arm') 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; \ -- cgit v1.2.3