aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2009-08-19 16:10:46 +0000
committerSterling Augustine <saugustine@google.com>2009-08-19 16:10:46 +0000
commit983f90e37dcf119d17395f5bc0a9173e7235e505 (patch)
tree3d4592e550bbec69fba103f4392845c2fefe426c /gas/config/tc-xtensa.h
parentcab0c772ae2d1ffde31e4e8e60b3c2dcb1171bb7 (diff)
downloadgdb-983f90e37dcf119d17395f5bc0a9173e7235e505.zip
gdb-983f90e37dcf119d17395f5bc0a9173e7235e505.tar.gz
gdb-983f90e37dcf119d17395f5bc0a9173e7235e505.tar.bz2
2009-08-19 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev to no_transform_end. * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set and use no_transform_end.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 91607af..ba613e4 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -263,9 +263,10 @@ struct xtensa_frag_type
symbolS *slot_symbols[MAX_SLOTS];
offsetT slot_offsets[MAX_SLOTS];
- /* The global aligner needs to walk backward through the list of
- frags. This field is only valid after xtensa_end. */
- fragS *fr_prev;
+ /* When marking frags after this one in the chain as no transform,
+ cache the last one in the chain, so that we can skip to the
+ end of the chain. */
+ fragS *no_transform_end;
};