From 2fbd74d8c906ec303866101a5026f4ca098ef58e Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Thu, 2 Aug 2012 15:48:14 -0400 Subject: tile: Get rid of ASM_TYPE_DIRECTIVE --- ports/ChangeLog.tile | 4 ++++ ports/sysdeps/tile/sysdep.h | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index 471cf1207f..05f08bdf4f 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,7 @@ +2012-08-02 Chris Metcalf + + * sysdeps/tile/sysdep.h: Do not define ASM_TYPE_DIRECTIVE. + 2012-08-01 Joseph Myers * sysdeps/unix/sysv/linux/tile/kernel-features.h diff --git a/ports/sysdeps/tile/sysdep.h b/ports/sysdeps/tile/sysdep.h index 34d7046595..a268872f71 100644 --- a/ports/sysdeps/tile/sysdep.h +++ b/ports/sysdeps/tile/sysdep.h @@ -24,14 +24,13 @@ #include -/* Make use of .type and .size directives. */ -#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg; +/* Make use of .size directive. */ #define ASM_SIZE_DIRECTIVE(name) .size name,.-name; /* 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 8; \ C_LABEL(name) \ cfi_startproc; \ -- cgit v1.2.3