xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out...
authorBob Wilson <bob.wilson@acm.org>
Tue, 12 Mar 2002 18:28:50 +0000 (18:28 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Tue, 12 Mar 2002 18:28:50 +0000 (18:28 +0000)
        * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
        to function_section before writing out the constant pool.

From-SVN: r50663

gcc/ChangeLog
gcc/config/xtensa/xtensa.h

index 4f92e1c..4478d94 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
+       to function_section before writing out the constant pool.
+
 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
index 7d581b3..9606bb3 100644 (file)
@@ -1655,6 +1655,8 @@ typedef struct xtensa_args {
        fprintf (FILE, "\t.begin\tliteral_prefix %s\n",                 \
                 strcmp (fnsectname, ".text") ? fnsectname : "");       \
       }                                                                        \
+    if ((SIZE) > 0)                                                    \
+      function_section (FUNDECL);                                      \
   } while (0)