* config/tc-hppa.c (pa_procend): Give an error if we encounter a

procend for a procedure without a name.
This commit is contained in:
Jeff Law
1994-04-11 16:02:12 +00:00
parent 77d9009d08
commit 0521099057
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 11 09:00:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_procend): Give an error if we encounter a
procend for a procedure without a name.
Thu Apr 7 14:28:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/tc-mips.c (macro): Pass NULL for expression argument to

View File

@ -5008,6 +5008,9 @@ pa_procend (unused)
int unused;
{
if (last_call_info->start_symbol == NULL)
as_bad ("Missing function name for .PROC");
if (!within_procedure)
as_bad ("misplaced .procend");