Commit 04fc6324 by Andrew MacLeod Committed by Andrew Macleod

elf64.h (ASM_OUTPUT_CONSTRUCTOR, [...]): Use Pmode to determine whether to output .dword or .word.


Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

	* config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
	Use Pmode to determine whether to output .dword or .word.

From-SVN: r29554
parent f3cdb9c6
Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
* config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
Use Pmode to determine whether to output .dword or .word.
Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com> Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
* tree.c (built_in_filename): New variable. * tree.c (built_in_filename): New variable.
......
...@@ -306,7 +306,7 @@ void FN () \ ...@@ -306,7 +306,7 @@ void FN () \
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \ do { \
ctors_section (); \ ctors_section (); \
fprintf (FILE, "\t%s\t", TARGET_LONG64 ? ".dword" : ".word"); \ fprintf (FILE, "\t%s\t", (Pmode == SImode) ? ".word" : ".dword"); \
assemble_name (FILE, NAME); \ assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \ fprintf (FILE, "\n"); \
} while (0) } while (0)
...@@ -317,7 +317,7 @@ void FN () \ ...@@ -317,7 +317,7 @@ void FN () \
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \ #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \ do { \
dtors_section (); \ dtors_section (); \
fprintf (FILE, "\t%s\t", TARGET_LONG64 ? ".dword" : ".word"); \ fprintf (FILE, "\t%s\t", (Pmode == SImode) ? ".word" : ".dword"); \
assemble_name (FILE, NAME); \ assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \ fprintf (FILE, "\n"); \
} while (0) } while (0)
......
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