aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-10-18 23:13:48 +0000
committerBob Wilson <bob.wilson@acm.org>2005-10-18 23:13:48 +0000
commite8247da70c5179f98150501ab6c792e5ea1b9f93 (patch)
tree51eaad18b8222c08834fa4f459287b8d05e8c3f6
parent471e4e36fc2cf030b1bde3b92e651bd04106383a (diff)
downloadgdb-e8247da70c5179f98150501ab6c792e5ea1b9f93.zip
gdb-e8247da70c5179f98150501ab6c792e5ea1b9f93.tar.gz
gdb-e8247da70c5179f98150501ab6c792e5ea1b9f93.tar.bz2
* config/tc-xtensa.c (xtensa_end_directive): Restore
default_lit_sections regardless of use_literal_section.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cd260c3..7cf6344 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-18 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_end_directive): Restore
+ default_lit_sections regardless of use_literal_section.
+
2005-10-18 Jie Zhang <jie.zhang@analog.com>
* Makefile.am (bfin-lex.c): Update ylwrap invocation.
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index c82d04c..275fe29 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -1361,8 +1361,7 @@ xtensa_end_directive (int ignore ATTRIBUTE_UNUSED)
s = (lit_state *) state;
assert (s);
- if (use_literal_section)
- default_lit_sections = *s;
+ default_lit_sections = *s;
/* free the state storage */
free (s);