public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Removal of ASM_GLOBAL_DIRECTIVE
@ 2012-07-10 14:20 Marek Polacek
  2012-07-10 14:31 ` Joseph S. Myers
  2012-07-10 14:38 ` Chris Metcalf
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Polacek @ 2012-07-10 14:20 UTC (permalink / raw)
  To: libc-ports; +Cc: libc-alpha

Hi!

Trunk now does not use ASM_GLOBAL_DIRECTIVE anymore (see
7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec and Bug 14151).
Instead, we now use just the ".globl" directive directly.
So, please, update your ports to reflect that change.

Note that a similar change is coming, for more, see
Bug 14150.  Thanks,

	Marek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removal of ASM_GLOBAL_DIRECTIVE
  2012-07-10 14:20 Removal of ASM_GLOBAL_DIRECTIVE Marek Polacek
@ 2012-07-10 14:31 ` Joseph S. Myers
  2012-07-10 14:38 ` Chris Metcalf
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph S. Myers @ 2012-07-10 14:31 UTC (permalink / raw)
  To: libc-ports

I've applied this patch to update ARM.  Tile and am33 need similar 
updates.

diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 8cd383d..1aec3d4 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2012-07-10  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/arm/sysdep.h (ENTRY): Change ASM_GLOBAL_DIRECTIVE to
+	.globl.
+
 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/arm/static-stubs.c: New file.
diff --git a/ports/sysdeps/arm/sysdep.h b/ports/sysdeps/arm/sysdep.h
index 7800456..cd3d70b 100644
--- a/ports/sysdeps/arm/sysdep.h
+++ b/ports/sysdeps/arm/sysdep.h
@@ -62,7 +62,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 ALIGNARG(4);							      \
   C_LABEL(name)								      \

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removal of ASM_GLOBAL_DIRECTIVE
  2012-07-10 14:20 Removal of ASM_GLOBAL_DIRECTIVE Marek Polacek
  2012-07-10 14:31 ` Joseph S. Myers
@ 2012-07-10 14:38 ` Chris Metcalf
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Metcalf @ 2012-07-10 14:38 UTC (permalink / raw)
  To: Marek Polacek; +Cc: libc-ports, libc-alpha

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-10 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10 14:20 Removal of ASM_GLOBAL_DIRECTIVE Marek Polacek
2012-07-10 14:31 ` Joseph S. Myers
2012-07-10 14:38 ` Chris Metcalf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).