]> gcc.gnu.org Git - gcc.git/commitdiff
elf64.h (ASM_OUTPUT_CONSTRUCTOR, [...]): Use Pmode to determine whether to output...
authorAndrew MacLeod <amacleod@cygnus.com>
Tue, 21 Sep 1999 18:52:37 +0000 (18:52 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 21 Sep 1999 18:52:37 +0000 (18:52 +0000)
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

gcc/ChangeLog
gcc/config/mips/elf64.h

index 0eb093a6102b2bc21b2b424cf8214bffe5924f3b..b3f6bcdf0d8203db7aa0416dfa11a45634e0ed7a 100644 (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.
index 986d2198335fa57bfb6efdb27e30ac0047399e0d..e55d88bd4a516b825ec16f3fbe8893dd5926fa6c 100644 (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)
This page took 0.072801 seconds and 5 git commands to generate.