aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2002-03-12 18:28:50 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2002-03-12 18:28:50 +0000
commit958c70ff9dac0a8d9ab0f065a8d6c7eafaaa0d73 (patch)
tree2c96ce817ace39d85950ff3560b5f41c8ef91c76
parentbcb64245e60aecfdc149f4713affc0d8b0004465 (diff)
downloadgcc-958c70ff9dac0a8d9ab0f065a8d6c7eafaaa0d73.zip
gcc-958c70ff9dac0a8d9ab0f065a8d6c7eafaaa0d73.tar.gz
gcc-958c70ff9dac0a8d9ab0f065a8d6c7eafaaa0d73.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/xtensa/xtensa.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f92e1c..4478d94 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index 7d581b3..9606bb3 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)