public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Add tabs around .globl directive
@ 2010-08-04  7:05 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2010-08-04  7:05 UTC (permalink / raw)
  To: gcc-patches

Hello!

Makes staring at asm dumps much more pleasant*:

	.text
	.p2align 4,,15
	.globl	main
	.type	main, @function
main:
	...

2010-08-03  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/unix.h (GLOBAL_ASM_OPS): Add tabs around .globl.

Tested on x86_64-pc-linux-gnu {,-m32}. Committed to mainline SVN.

* Using broad definitions for the word "pleasant".

Uros.

Index: unix.h
===================================================================
--- unix.h	(revision 162854)
+++ unix.h	(working copy)
@@ -67,7 +67,7 @@
 #define BSS_SECTION_ASM_OP "\t.bss"

 /* Globalizing directive for a label.  */
-#define GLOBAL_ASM_OP ".globl "
+#define GLOBAL_ASM_OP "\t.globl\t"

 /* By default, target has a 80387, uses IEEE compatible arithmetic,
    and returns float values in the 387.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-04  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04  7:05 [PATCH, i386]: Add tabs around .globl directive Uros Bizjak

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).