[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
This commit is contained in:
parent
ca9cde6b44
commit
ba1a57076d
3 changed files with 21 additions and 13 deletions
|
@ -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'.
|
||||
|
|
|
@ -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)" \
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue