summaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-06-19 19:08:37 +0000
committerBob Wilson <bob.wilson@acm.org>2007-06-19 19:08:37 +0000
commitc48aaca0bad0a8f61e46ff5c81045d5f6e79bb5a (patch)
treecc4c5196d7efe4aa60bce01d101031ee54c04947 /gas/config/tc-xtensa.h
parent7f5c84d395320e610b6cf45e1adfe97ba3122131 (diff)
downloadbinutils-gdb-c48aaca0bad0a8f61e46ff5c81045d5f6e79bb5a.tar.gz
* config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
use of literal_frag field. * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag in the literal_frag field. (xtensa_move_literals): Use it here instead of searching. Update literal_frag field with new value.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 71481a9938e..251105ea270 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -228,7 +228,9 @@ struct xtensa_frag_type
variable points to the frag where the literal will be stored. For
literal frags, this variable points to the nearest literal pool
location frag. This literal frag will be moved to after this
- location. */
+ location. For RELAX_LITERAL_POOL_BEGIN frags, this field points
+ to the frag immediately before the corresponding RELAX_LITERAL_POOL_END
+ frag, to make moving frags for this literal pool efficient. */
fragS *literal_frag;
/* The destination segment for literal frags. (Note that this is only