aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2002-03-20 22:43:11 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2002-03-20 22:43:11 +0000
commit86d8c251a1e4f5f16a94ddcb42ccbedcf1416941 (patch)
treeaaf12bb10c687ac618c11b0e8fd848d70c503e88
parent0a39c350623788decf8a2bd3e33c9979d8fb566b (diff)
downloadgcc-86d8c251a1e4f5f16a94ddcb42ccbedcf1416941.zip
gcc-86d8c251a1e4f5f16a94ddcb42ccbedcf1416941.tar.gz
gcc-86d8c251a1e4f5f16a94ddcb42ccbedcf1416941.tar.bz2
xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a ".literal_position" directive before the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a ".literal_position" directive before the constant pool. From-SVN: r51096
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/xtensa/xtensa.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f1d5869..a399429 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-20 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
+ ".literal_position" directive before the constant pool.
+
2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* doc/contrib.texi (Contributors): Update Geoffrey Keating.
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index 4cd8616..0c7646b 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -1668,7 +1668,10 @@ typedef struct xtensa_args {
strcmp (fnsectname, ".text") ? fnsectname : ""); \
} \
if ((SIZE) > 0) \
- function_section (FUNDECL); \
+ { \
+ function_section (FUNDECL); \
+ fprintf (FILE, "\t.literal_position\n"); \
+ } \
} while (0)