OSDN Git Service

gas/
authorjbeulich <jbeulich>
Mon, 31 Jan 2005 09:46:10 +0000 (09:46 +0000)
committerjbeulich <jbeulich>
Mon, 31 Jan 2005 09:46:10 +0000 (09:46 +0000)
commit2cb5a804184aa1408adf3c38c5e78fe9e71e5f13
tree3135511a3664e47debb574fd3bc40237e776781d
parentb6aadf0db277bc78bd5b824e95ac05537f189645
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (unwind): Remove proc_end (now an automatic
variable in dot_endp). Add body and insn. Make prologue,
prologue_mask, body, and insn bitfields.
(fixup_unw_records): Remove spurious new-lines from end of diagnostic
messages.
(in_procedure, in_prologue, in_body): New.
(dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
dot_personality): Use the appropriate one of the above.
(dot_proc): Clear unwind.proc_start; set to current location only if
none of the entry points were valid. Check for non-zero-length entry
point names. Check that entry points aren't defined, yet. Clear
unwind.prologue, unwind.body, and unwind.insn.
(dot_body): Call in_procedure. Check that first directive in procedure
had no insns emitted before. Set unwind.body.
(dot_prologue): Call in_procedure. Check that not already in prologue.
Check that first directive in procedure had no insns emitted before.
Clear unwind.body.
(dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
length entry point names. Check that entry points became defined.
(md_assemble): Set unwind.insn once unwind.proc_start is defined.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/proc.[ls]: New.
* gas/ia64/unwind-err.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.
gas/config/tc-ia64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/ia64/ia64.exp
gas/testsuite/gas/ia64/proc.l [new file with mode: 0644]
gas/testsuite/gas/ia64/proc.s [new file with mode: 0644]
gas/testsuite/gas/ia64/unwind-err.l [new file with mode: 0644]
gas/testsuite/gas/ia64/unwind-err.s [new file with mode: 0644]