From 958c70ff9dac0a8d9ab0f065a8d6c7eafaaa0d73 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 12 Mar 2002 18:28:50 +0000 Subject: [PATCH] xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out the constant pool. * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out the constant pool. From-SVN: r50663 --- gcc/ChangeLog | 5 +++++ gcc/config/xtensa/xtensa.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f92e1c8852..4478d94a1ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-12 Bob Wilson + + * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch + to function_section before writing out the constant pool. + 2002-03-12 David Edelsohn * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 7d581b3f2a8..9606bb31712 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -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)