diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8d09333..59374d3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index e668ee7..e6b17e2 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -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"); |