Commit 8cf6b9ca by Richard Stallman

*** empty log message ***

From-SVN: r499
parent 62452fd9
...@@ -1276,15 +1276,15 @@ extern char *a29k_function_name; ...@@ -1276,15 +1276,15 @@ extern char *a29k_function_name;
/* Output before instructions. */ /* Output before instructions. */
#define TEXT_SECTION_ASM_OP "\t.text" #define TEXT_SECTION_ASM_OP ".text"
/* Output before read-only data. */ /* Output before read-only data. */
#define READONLY_DATA_SECTION_ASM_OP "\t.use .lit" #define READONLY_DATA_SECTION_ASM_OP ".use .lit"
/* Output before writable data. */ /* Output before writable data. */
#define DATA_SECTION_ASM_OP "\t.data" #define DATA_SECTION_ASM_OP ".data"
/* Define an extra section for read-only data, a routine to enter it, and /* Define an extra section for read-only data, a routine to enter it, and
indicate that it is for read-only data. */ indicate that it is for read-only data. */
......
...@@ -974,8 +974,8 @@ do \ ...@@ -974,8 +974,8 @@ do \
#define ASM_APP_OFF "" #define ASM_APP_OFF ""
/* Switch to the text or data segment. */ /* Switch to the text or data segment. */
#define TEXT_SECTION_ASM_OP "\n\t.text\n" #define TEXT_SECTION_ASM_OP ".text"
#define DATA_SECTION_ASM_OP "\n\t.data\n" #define DATA_SECTION_ASM_OP ".data"
/* The assembler's names for the registers. RFP need not always be used as /* The assembler's names for the registers. RFP need not always be used as
the Real framepointer; it can also be used as a normal general register. the Real framepointer; it can also be used as a normal general register.
......
...@@ -1026,11 +1026,11 @@ extern enum reg_class regno_reg_class[]; ...@@ -1026,11 +1026,11 @@ extern enum reg_class regno_reg_class[];
/* Output before read-only data. */ /* Output before read-only data. */
#define TEXT_SECTION_ASM_OP "\t.text" #define TEXT_SECTION_ASM_OP ".text"
/* Output before writable data. */ /* Output before writable data. */
#define DATA_SECTION_ASM_OP "\t.data" #define DATA_SECTION_ASM_OP ".data"
/* How to refer to registers in assembler output. /* How to refer to registers in assembler output.
This sequence is indexed by compiler's hard-register-number (see above). */ This sequence is indexed by compiler's hard-register-number (see above). */
......
...@@ -1269,15 +1269,15 @@ extern enum reg_class regno_reg_class[]; ...@@ -1269,15 +1269,15 @@ extern enum reg_class regno_reg_class[];
/* Output before read-only data. */ /* Output before read-only data. */
#define TEXT_SECTION_ASM_OP "\t.section text,code,align=4" #define TEXT_SECTION_ASM_OP ".section text,code,align=4"
/* Output before writable data. */ /* Output before writable data. */
#define DATA_SECTION_ASM_OP "\t.section data,data,align=4" #define DATA_SECTION_ASM_OP ".section data,data,align=4"
/* Output before uninitialized data. */ /* Output before uninitialized data. */
#define BSS_SECTION_ASM_OP "\t.section bss,data,align=4" #define BSS_SECTION_ASM_OP ".section bss,data,align=4"
#define EXTRA_SECTIONS in_bss #define EXTRA_SECTIONS in_bss
......
...@@ -125,14 +125,14 @@ extern char *current_function_original_name; ...@@ -125,14 +125,14 @@ extern char *current_function_original_name;
#undef CTORS_SECTION_ASM_OP #undef CTORS_SECTION_ASM_OP
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"x\"\n" #define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\"\n"
#undef DTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"x\"\n" #define DTORS_SECTION_ASM_OP ".section\t.dtors,\"x\"\n"
/* Add definitions to support the .tdesc section as specified in the svr4 /* Add definitions to support the .tdesc section as specified in the svr4
ABI for the i860. */ ABI for the i860. */
#define TDESC_SECTION_ASM_OP "\t.section\t.tdesc" #define TDESC_SECTION_ASM_OP ".section\t.tdesc"
#undef EXTRA_SECTIONS #undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc #define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc
......
...@@ -100,14 +100,14 @@ extern char *current_function_original_name; ...@@ -100,14 +100,14 @@ extern char *current_function_original_name;
} while (0) } while (0)
#undef CTORS_SECTION_ASM_OP #undef CTORS_SECTION_ASM_OP
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"a\",\"progbits\"\n" #define CTORS_SECTION_ASM_OP ".section\t.ctors,\"a\",\"progbits\""
#undef DTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"a\",\"progbits\"\n" #define DTORS_SECTION_ASM_OP ".section\t.dtors,\"a\",\"progbits\""
/* Add definitions to support the .tdesc section as specified in the svr4 /* Add definitions to support the .tdesc section as specified in the svr4
ABI for the i860. */ ABI for the i860. */
#define TDESC_SECTION_ASM_OP "\t.section\t.tdesc" #define TDESC_SECTION_ASM_OP ".section\t.tdesc"
#undef EXTRA_SECTIONS #undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc #define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc
......
...@@ -33,17 +33,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -33,17 +33,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* SGS specific assembler pseudo ops. */ /* SGS specific assembler pseudo ops. */
#define BYTE_ASM_OP "\t.byte" #define BYTE_ASM_OP ".byte"
#define WORD_ASM_OP "\t.short" #define WORD_ASM_OP ".short"
#define LONG_ASM_OP "\t.long" #define LONG_ASM_OP ".long"
#define SPACE_ASM_OP "\t.space" #define SPACE_ASM_OP ".space"
#define ALIGN_ASM_OP "\t.align" #define ALIGN_ASM_OP ".align"
#define GLOBAL_ASM_OP "\t.global" #define GLOBAL_ASM_OP ".global"
#define SWBEG_ASM_OP "\t.swbeg" #define SWBEG_ASM_OP ".swbeg"
#define SET_ASM_OP "\t.set" #define SET_ASM_OP ".set"
#define UNALIGNED_SHORT_ASM_OP "\t.short" /* Used in dwarfout.c */ #define UNALIGNED_SHORT_ASM_OP ".short" /* Used in dwarfout.c */
#define UNALIGNED_INT_ASM_OP "\t.long" /* Used in dwarfout.c */ #define UNALIGNED_INT_ASM_OP ".long" /* Used in dwarfout.c */
#define ASM_PN_FORMAT "%s_%d" /* Format for private names */ #define ASM_PN_FORMAT "%s_%d" /* Format for private names */
...@@ -114,7 +114,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -114,7 +114,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_OUTPUT_SHORT #undef ASM_OUTPUT_SHORT
#define ASM_OUTPUT_SHORT(FILE,VALUE) \ #define ASM_OUTPUT_SHORT(FILE,VALUE) \
( fprintf ((FILE), "%s ", WORD_ASM_OP), \ ( fprintf ((FILE), "\t%s ", WORD_ASM_OP), \
output_addr_const ((FILE), (VALUE)), \ output_addr_const ((FILE), (VALUE)), \
fprintf ((FILE), "\n")) fprintf ((FILE), "\n"))
...@@ -124,7 +124,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -124,7 +124,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ASM_OUTPUT_DOUBLE(FILE,VALUE) \ #define ASM_OUTPUT_DOUBLE(FILE,VALUE) \
do { union { double d; long l[2]; } tem; \ do { union { double d; long l[2]; } tem; \
tem.d = (VALUE); \ tem.d = (VALUE); \
fprintf((FILE), "%s 0x%x,0x%x\n", LONG_ASM_OP, \ fprintf((FILE), "\t%s 0x%x,0x%x\n", LONG_ASM_OP, \
tem.l[0], tem.l[1]); \ tem.l[0], tem.l[1]); \
} while (0) } while (0)
...@@ -134,7 +134,7 @@ do { union { double d; long l[2]; } tem; \ ...@@ -134,7 +134,7 @@ do { union { double d; long l[2]; } tem; \
#define ASM_OUTPUT_FLOAT(FILE,VALUE) \ #define ASM_OUTPUT_FLOAT(FILE,VALUE) \
do { union { float f; long l;} tem; \ do { union { float f; long l;} tem; \
tem.f = (VALUE); \ tem.f = (VALUE); \
fprintf ((FILE), "%s 0x%x\n", LONG_ASM_OP, tem.l); \ fprintf ((FILE), "\t%s 0x%x\n", LONG_ASM_OP, tem.l); \
} while (0) } while (0)
/* This is how to output an assembler line that says to advance the /* This is how to output an assembler line that says to advance the
...@@ -143,7 +143,7 @@ do { union { float f; long l;} tem; \ ...@@ -143,7 +143,7 @@ do { union { float f; long l;} tem; \
#undef ASM_OUTPUT_ALIGN #undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \ #define ASM_OUTPUT_ALIGN(FILE,LOG) \
if ((LOG) > 0) \ if ((LOG) > 0) \
fprintf ((FILE), "%s \t%u\n", ALIGN_ASM_OP, 1 << (LOG)); \ fprintf ((FILE), "\t%s \t%u\n", ALIGN_ASM_OP, 1 << (LOG)); \
else if ((LOG) > 31) \ else if ((LOG) > 31) \
abort (); abort ();
...@@ -157,7 +157,7 @@ do { union { float f; long l;} tem; \ ...@@ -157,7 +157,7 @@ do { union { float f; long l;} tem; \
#define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \ #define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \
{ \ { \
register int sp = 0, lp = 0, ch; \ register int sp = 0, lp = 0, ch; \
fprintf ((FILE), "%s ", BYTE_ASM_OP); \ fprintf ((FILE), "\t%s ", BYTE_ASM_OP); \
do { \ do { \
ch = (PTR)[sp]; \ ch = (PTR)[sp]; \
if (ch > ' ' && ! (ch & 0x80) && ch != '\\') \ if (ch > ' ' && ! (ch & 0x80) && ch != '\\') \
...@@ -172,7 +172,7 @@ do { union { float f; long l;} tem; \ ...@@ -172,7 +172,7 @@ do { union { float f; long l;} tem; \
{ \ { \
if ((sp % 10) == 0) \ if ((sp % 10) == 0) \
{ \ { \
fprintf ((FILE), "\n%s ", BYTE_ASM_OP); \ fprintf ((FILE), "\n\t%s ", BYTE_ASM_OP); \
} \ } \
else \ else \
{ \ { \
...@@ -205,7 +205,7 @@ do { union { float f; long l;} tem; \ ...@@ -205,7 +205,7 @@ do { union { float f; long l;} tem; \
#undef ASM_GLOBALIZE_LABEL #undef ASM_GLOBALIZE_LABEL
#define ASM_GLOBALIZE_LABEL(FILE,NAME) \ #define ASM_GLOBALIZE_LABEL(FILE,NAME) \
do { \ do { \
fprintf ((FILE), "%s ", GLOBAL_ASM_OP); \ fprintf ((FILE), "\t%s ", GLOBAL_ASM_OP); \
assemble_name ((FILE), NAME); \ assemble_name ((FILE), NAME); \
fputs ("\n", FILE); \ fputs ("\n", FILE); \
} while (0) } while (0)
...@@ -226,7 +226,7 @@ do { union { float f; long l;} tem; \ ...@@ -226,7 +226,7 @@ do { union { float f; long l;} tem; \
#undef ASM_OUTPUT_SKIP #undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \ #define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "%s %u\n", SPACE_ASM_OP, (SIZE)) fprintf (FILE, "\t%s %u\n", SPACE_ASM_OP, (SIZE))
/* Translate Motorola opcodes such as `jbeq' into SGS opcodes such /* Translate Motorola opcodes such as `jbeq' into SGS opcodes such
as `beq.w'. as `beq.w'.
...@@ -387,7 +387,7 @@ do { union { float f; long l;} tem; \ ...@@ -387,7 +387,7 @@ do { union { float f; long l;} tem; \
example, can identify that it is the start of a switch table. */ example, can identify that it is the start of a switch table. */
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \ #define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
fprintf ((FILE), "%s &%d\n", SWBEG_ASM_OP, XVECLEN (PATTERN (TABLE), 1)); \ fprintf ((FILE), "\t%s &%d\n", SWBEG_ASM_OP, XVECLEN (PATTERN (TABLE), 1)); \
ASM_OUTPUT_INTERNAL_LABEL((FILE),(PREFIX),(NUM)); ASM_OUTPUT_INTERNAL_LABEL((FILE),(PREFIX),(NUM));
/* At end of a switch table, define LDnnn iff the symbol LInnn was defined. /* At end of a switch table, define LDnnn iff the symbol LInnn was defined.
...@@ -401,14 +401,14 @@ do { union { float f; long l;} tem; \ ...@@ -401,14 +401,14 @@ do { union { float f; long l;} tem; \
#undef ASM_OUTPUT_CASE_END #undef ASM_OUTPUT_CASE_END
#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \ #define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \
if (RTX_INTEGRATED_P (TABLE)) \ if (RTX_INTEGRATED_P (TABLE)) \
asm_fprintf (FILE, "%s %LLD%d,%LL%d-%LLI%d-2.b\n", \ asm_fprintf (FILE, "\t%s %LLD%d,%LL%d-%LLI%d-2.b\n",\
SET_ASM_OP, (NUM), (NUM), (NUM)) SET_ASM_OP, (NUM), (NUM), (NUM))
/* This is how to output an element of a case-vector that is relative. */ /* This is how to output an element of a case-vector that is relative. */
#undef ASM_OUTPUT_ADDR_DIFF_ELT #undef ASM_OUTPUT_ADDR_DIFF_ELT
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \ #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
asm_fprintf (FILE, "%s %LL%d-%LL%d\n", WORD_ASM_OP, VALUE, REL) asm_fprintf (FILE, "\t%s %LL%d-%LL%d\n", WORD_ASM_OP, VALUE, REL)
/* Currently, JUMP_TABLES_IN_TEXT_SECTION must be defined in order to /* Currently, JUMP_TABLES_IN_TEXT_SECTION must be defined in order to
keep switch tables in the text section. */ keep switch tables in the text section. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment