[i386] : Add tabs around .globl directive

Message ID AANLkTinjKL8RQRtJsjcw0NsDKxp4id1_138KTcrK7aVT@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Aug. 4, 2010, 7:04 a.m.

Makes staring at asm dumps much more pleasant*:

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

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



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.  */