From ba1a57076d0e998f84cda58f51e3cf867ae6aafc Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 30 Jun 1998 06:20:04 -0400 Subject: [PATCH] [multiple changes] Tue Jun 30 13:11:42 1998 Franz Sirl * rs6000/sysv4.h (asm output): add tabs for asm directives. Tue Jun 30 13:11:42 1998 David Edelsohn * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS. From-SVN: r20824 --- gcc/ChangeLog | 8 ++++++++ gcc/Makefile.in | 2 +- gcc/config/rs6000/sysv4.h | 24 ++++++++++++------------ 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 + + * rs6000/sysv4.h (asm output): add tabs for asm directives. + +Tue Jun 30 13:11:42 1998 David Edelsohn + + * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS. + Tue Jun 30 08:59:15 1998 Kaveh R. Ghazi * 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) -- 2.30.2