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)