This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>, libc-ports <libc-ports at sourceware dot org>
- Date: Thu, 2 Aug 2012 15:49:15 -0400
- Subject: Re: [PATCH] Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}
- References: <20120727191849.GJ3311@redhat.com> <20120802190710.GG3310@redhat.com>
On 8/2/2012 3:07 PM, Marek Polacek wrote:
> I've pushed this now. Hope it won't break anything.
Thanks for the heads-up. I fixed tile.
commit 2fbd74d8c906ec303866101a5026f4ca098ef58e
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Thu Aug 2 15:48:14 2012 -0400
tile: Get rid of ASM_TYPE_DIRECTIVE
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index 471cf12..05f08bd 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,7 @@
+2012-08-02 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
+
2012-08-01 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/tile/kernel-features.h
diff --git a/ports/sysdeps/tile/sysdep.h b/ports/sysdeps/tile/sysdep.h
index 34d7046..a268872 100644
--- a/ports/sysdeps/tile/sysdep.h
+++ b/ports/sysdeps/tile/sysdep.h
@@ -24,14 +24,13 @@
#include <feedback.h>
-/* 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; \
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com