gas:
authorJoseph Myers <joseph@codesourcery.com>
Tue, 27 Apr 2010 23:43:25 +0000 (23:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 27 Apr 2010 23:43:25 +0000 (23:43 +0000)
commitd99e5b3995477e20acc8eb9b1e0427a8c0f7f993
treea81cb178e7be0faf99a20c812978aaebaf18a36c
parent67f1675e78ba8e08a782ee57486cde949409dd2a
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]