OSDN Git Service

gas:
authorjsm28 <jsm28>
Wed, 28 Apr 2010 08:43:24 +0000 (08:43 +0000)
committerjsm28 <jsm28>
Wed, 28 Apr 2010 08:43:24 +0000 (08:43 +0000)
commit5e07f5c7cce9393f92aade9e59dd3c7631f222f7
tree01c254a98b41c20ea0112c0a48c9f3dcef8caed8
parent84051f13c05f7910ffb5f9b16027b9e3058a7266
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]