[multiple changes]
authorDavid Edelsohn <dje@gcc.gnu.org>
Tue, 30 Jun 1998 10:20:04 +0000 (06:20 -0400)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 30 Jun 1998 10:20:04 +0000 (06:20 -0400)
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

gcc/ChangeLog
gcc/Makefile.in
gcc/config/rs6000/sysv4.h

index f23fca6645f54f09534be7a422f2db3dfc5b365b..7eeaabf52e19811e12d7f5ccf112a6a1006d623f 100644 (file)
@@ -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'.
index d455bb8dcdc638b30f275b2f48f936df7b0d6a98..8ffc3a20bb513fbfc0ef4ad693bfd3ff14a9c1c1 100644 (file)
@@ -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)" \
index d85f51356e55520dd2aaf14f55bda0b5f9023e36..2b7e1ed4b485351b250e3966073a6037eccdd99d 100644 (file)
@@ -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)