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
This commit is contained in:
Andrew MacLeod 1999-09-21 18:52:37 +00:00 committed by Andrew Macleod
parent f3cdb9c694
commit 04fc632494
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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>
* tree.c (built_in_filename): New variable.

View File

@ -306,7 +306,7 @@ void FN () \
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
fprintf (FILE, "\t%s\t", TARGET_LONG64 ? ".dword" : ".word"); \
fprintf (FILE, "\t%s\t", (Pmode == SImode) ? ".word" : ".dword"); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
@ -317,7 +317,7 @@ void FN () \
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
fprintf (FILE, "\t%s\t", TARGET_LONG64 ? ".dword" : ".word"); \
fprintf (FILE, "\t%s\t", (Pmode == SImode) ? ".word" : ".dword"); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)