summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje@gcc.gnu.org>1998-06-30 06:20:04 -0400
committerDavid Edelsohn <dje@gcc.gnu.org>1998-06-30 06:20:04 -0400
commitba1a57076d0e998f84cda58f51e3cf867ae6aafc (patch)
treefdd02d90bfed70c3bef988d667cf9d9fd50d62e9
parentca9cde6b448b66f36a9942dd85f0787d3676de8c (diff)
downloadgcc-ba1a57076d0e998f84cda58f51e3cf867ae6aafc.tar.gz
[multiple changes]
Tue Jun 30 13:11:42 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000/sysv4.h (asm output): add tabs for asm directives. Tue Jun 30 13:11:42 1998 David Edelsohn <edelsohn@mhpcc.edu> * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS. From-SVN: r20824
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/config/rs6000/sysv4.h24
3 files changed, 21 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f23fca6645f..7eeaabf52e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+Tue Jun 30 13:11:42 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * rs6000/sysv4.h (asm output): add tabs for asm directives.
+
+Tue Jun 30 13:11:42 1998 David Edelsohn <edelsohn@mhpcc.edu>
+
+ * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS.
+
Tue Jun 30 08:59:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gansidecl.h (ATTRIBUTE_UNUSED): Use __unused__ not `unused'.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index d455bb8dcdc..8ffc3a20bb5 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -590,7 +590,7 @@ LANG_EXTRA_HEADERS = @all_headers@
# subdirectories.
# ??? The choices here will need some experimenting with.
FLAGS_TO_PASS = \
- "AR_FLAGS=$(AR_FLAGS)" \
+ "AR_FLAGS=$(AR_FOR_TARGET_FLAGS)" \
"AR_FOR_TARGET=$(AR_FOR_TARGET)" \
"BISON=$(BISON)" \
"BISONFLAGS=$(BISONFLAGS)" \
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index d85f51356e5..2b7e1ed4b48 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -420,21 +420,21 @@ do { \
/* Use ELF style section commands. */
#undef TEXT_SECTION_ASM_OP
-#define TEXT_SECTION_ASM_OP "\t.section \".text\""
+#define TEXT_SECTION_ASM_OP "\t.section\t\".text\""
#undef DATA_SECTION_ASM_OP
-#define DATA_SECTION_ASM_OP "\t.section \".data\""
+#define DATA_SECTION_ASM_OP "\t.section\t\".data\""
#undef BSS_SECTION_ASM_OP
-#define BSS_SECTION_ASM_OP "\t.section \".bss\""
+#define BSS_SECTION_ASM_OP "\t.section\t\".bss\""
#undef INIT_SECTION_ASM_OP
-#define INIT_SECTION_ASM_OP "\t.section \".init\",\"ax\""
+#define INIT_SECTION_ASM_OP "\t.section\t\".init\",\"ax\""
#undef FINI_SECTION_ASM_OP
-#define FINI_SECTION_ASM_OP "\t.section \".fini\",\"ax\""
+#define FINI_SECTION_ASM_OP "\t.section\t\".fini\",\"ax\""
-#define TOC_SECTION_ASM_OP "\t.section \".got\",\"aw\""
+#define TOC_SECTION_ASM_OP "\t.section\t\".got\",\"aw\""
/* Put PC relative got entries in .got2 */
#define MINIMAL_TOC_SECTION_ASM_OP \
@@ -446,10 +446,10 @@ do { \
((TARGET_RELOCATABLE || flag_pic) ? "\t.section\t\".data\"\t# .rodata" : "\t.section\t\".rodata\"")
-#define SDATA_SECTION_ASM_OP "\t.section \".sdata\",\"aw\""
-#define SDATA2_SECTION_ASM_OP "\t.section \".sdata2\",\"a\""
+#define SDATA_SECTION_ASM_OP "\t.section\t\".sdata\",\"aw\""
+#define SDATA2_SECTION_ASM_OP "\t.section\t\".sdata2\",\"a\""
#define SBSS_SECTION_ASM_OP \
- ((DEFAULT_ABI == ABI_SOLARIS) ? "\t.section \".sbss\",\"aw\"" : "\t.section \".sbss\",\"aw\",@nobits")
+ ((DEFAULT_ABI == ABI_SOLARIS) ? "\t.section\t\".sbss\",\"aw\"" : "\t.section\t\".sbss\",\"aw\",@nobits")
/* Besides the usual ELF sections, we need a toc section. */
@@ -782,7 +782,7 @@ do { \
fprintf (FILE, "\t.long ("); \
output_addr_const (FILE, (VALUE)); \
fprintf (FILE, ")@fixup\n"); \
- fprintf (FILE, "\t.section \".fixup\",\"aw\"\n"); \
+ fprintf (FILE, "\t.section\t\".fixup\",\"aw\"\n"); \
ASM_OUTPUT_ALIGN (FILE, 2); \
fprintf (FILE, "\t.long\t%s\n", p); \
fprintf (FILE, "\t.previous\n"); \
@@ -903,14 +903,14 @@ do { \
s->type = type; \
s->next = sections; \
sections = s; \
- fprintf (FILE, ".section\t%s,\"%s\"\n", NAME, mode); \
+ fprintf (FILE, "\t.section\t\"%s\",\"%s\"\n", NAME, mode); \
} \
else \
{ \
if (DECL && s->type != type) \
error_with_decl (DECL, "%s causes a section type conflict"); \
\
- fprintf (FILE, ".section\t%s\n", NAME); \
+ fprintf (FILE, "\t.section\t\"%s\"\n", NAME); \
} \
} while (0)