gas/
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 11 Feb 2005 21:01:19 +0000 (21:01 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 Feb 2005 21:01:19 +0000 (21:01 +0000)
commit970d6792b4d9d469315bd3ac3b808a45a97d8d8f
treedf2f23daf8c5a295530a24110567c84eb8df324f
parenta1c17af23836343c9098a4c47a0f057f396c92b7
gas/

2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention "-munwind-check=[warning|error]".

* config/tc-ia64.c (md): Add unwind_check.
(unwind_diagnostic): New.
(in_procedure): Call unwind_diagnostic when a directive isn't
in procedure.
(in_prologue): Call unwind_diagnostic when a directive isn't in
prologue.
(in_body): Call unwind_diagnostic when a directive isn't in
body region.
(dot_endp): Set md.unwind_check to error before calling
in_procedure and restore it after. When the name is missing or
couldn't be found, use the one from the last .proc if
md.unwind_check isn't error. Warn if md.unwind_check is
warning.
(md_parse_option): Handle "-munwind-check=[warning|error]".
(md_show_usage): Add "-munwind-check=[warning|error]".
(ia64_init): Set md.unwind_check to warning.

* doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
* doc/c-ia64.texi: Likewise.

gas/testcase

2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err
and proc.
gas/ChangeLog
gas/NEWS
gas/config/tc-ia64.c
gas/doc/as.texinfo
gas/doc/c-ia64.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/ia64/ia64.exp