gas:
commitcd6dae451aabb17e2f12169d61ef8a50c517e8a2
authorJoseph Myers <joseph@codesourcery.com>
Tue, 27 Apr 2010 23:43:24 +0000 (27 23:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 27 Apr 2010 23:43:24 +0000 (27 23:43 +0000)
tree119bd5625a8a96ed5b5a5487bb7f747e669e6400
parentdbf888b0ea29a7c7b436e540e0b6da156dfbd702
gas:
* config/tc-tic6x.h (tic6x_label_list): New.
(tic6x_segment_info_type): Keep a list of labels and a current
frag instead of a boolean for whether labels seen and a count of
instructions.
(tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
md_do_align, tic6x_do_align, md_end, tic6x_end): New.
* config/tc-tic6x.c (tic6x_frob_label): Put label on list.
(tic6x_cleanup): Correct comment.
(tic6x_free_label_list): New.
(tic6x_cons_align): Free label list and update for
tic6x_segment_info_type changes.
(tic6x_do_align): New.
(md_assemble): Handle list of labels and saved frag for execute
packet.  Create machine-dependent frag for new execute packet and
adjust labels accordingly.
(tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
(md_convert_frag, md_estimate_size_before_relax): Update comments.

gas/testsuite:
* gas/tic6x/align-1-be.d, gas/tic6x/align-1.d,
gas/tic6x/align-1.s, gas/tic6x/align-2.d, gas/tic6x/align-2.s:
New.
gas/ChangeLog
gas/config/tc-tic6x.c
gas/config/tc-tic6x.h
gas/testsuite/ChangeLog
gas/testsuite/gas/tic6x/align-1-be.d [new file with mode: 0644]
gas/testsuite/gas/tic6x/align-1.d [new file with mode: 0644]
gas/testsuite/gas/tic6x/align-1.s [new file with mode: 0644]
gas/testsuite/gas/tic6x/align-2.d [new file with mode: 0644]
gas/testsuite/gas/tic6x/align-2.s [new file with mode: 0644]