summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-05-30 16:43:45 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-05-30 16:43:45 +0000
commit83bf7f5eb6e8507d1c8fad3e19c1fff801f19b37 (patch)
tree274537cb853d4c6d03f645037a0bd59508744748 /gcc/config/darwin.h
parent18fc5f4404ceabb11f7be632cca8fd0d23598585 (diff)
downloadgcc-83bf7f5eb6e8507d1c8fad3e19c1fff801f19b37.tar.gz
darwin.c (output_objc_section_asm_op): Add comment.
2010-05-30 Iain Sandoe <iains@gcc.gnu.org> * config/darwin.c (output_objc_section_asm_op): Add comment. (name_needs_quotes): Add '_' to list of valid comment chars. (machopic_output_function_base_name): Remove unneeded quotes. (darwin_encode_section_info): Adjust asm whitespace. * config/i386/darwin.h (ASM_OUTPUT_COMMON): Adjust asm tabs. (ASM_OUTPUT_LOCAL): Ditto. * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Ditto. * config/darwin.h (GLOBAL_ASM_OP): Ditto. * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Ditto. From-SVN: r160058
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index a0a4974c38a..149ef4a6972 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -725,7 +725,7 @@ int darwin_label_is_anonymous_local_objc_name (const char *name);
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \
do { \
unsigned HOST_WIDE_INT _new_size = SIZE; \
- fputs (".lcomm ", (FILE)); \
+ fputs ("\t.lcomm ", (FILE)); \
assemble_name ((FILE), (NAME)); \
if (_new_size == 0) _new_size = 1; \
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", _new_size, \
@@ -793,7 +793,7 @@ extern GTY(()) section * darwin_sections[NUM_DARWIN_SECTIONS];
} while (0)
/* Globalizing directive for a label. */
-#define GLOBAL_ASM_OP ".globl "
+#define GLOBAL_ASM_OP "\t.globl "
#define TARGET_ASM_GLOBALIZE_LABEL darwin_globalize_label
/* Emit an assembler directive to set visibility for a symbol. Used