This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Removal of ASM_GLOBAL_DIRECTIVE
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: libc-ports <libc-ports at sourceware dot org>, <libc-alpha at sourceware dot org>
- Date: Tue, 10 Jul 2012 10:38:39 -0400
- Subject: Re: Removal of ASM_GLOBAL_DIRECTIVE
- References: <20120710142014.GD3441@redhat.com>
I've applied this patch to update tile. (I also pushed a trivial comment
typo in the same git push.)
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index ce8c3e0..3c61b80 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,8 @@
+2012-07-10 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/sysdep.h (ENTRY): Use .globl, not
+ ASM_GLOBAL_DIRECTIVE.
+
2012-05-30 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Remove test
diff --git a/ports/sysdeps/tile/sysdep.h b/ports/sysdeps/tile/sysdep.h
index 58432eb..34d7046 100644
--- a/ports/sysdeps/tile/sysdep.h
+++ b/ports/sysdeps/tile/sysdep.h
@@ -30,7 +30,7 @@
/* Define an entry point visible from C. */
#define ENTRY(name) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
+ .globl C_SYMBOL_NAME(name); \
ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \
.align 8; \
C_LABEL(name) \
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com