diff options
author | Jeff Law <law@redhat.com> | 1994-04-11 16:02:12 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-04-11 16:02:12 +0000 |
commit | 052109905719084be58c1fbd6c52836bc6a5e42d (patch) | |
tree | 96fc12c04c57617dfe0654a9e63c31a6c0c278d4 | |
parent | 77d9009d0866db185d084dcdc6f7bc703fd935cc (diff) | |
download | gdb-052109905719084be58c1fbd6c52836bc6a5e42d.zip gdb-052109905719084be58c1fbd6c52836bc6a5e42d.tar.gz gdb-052109905719084be58c1fbd6c52836bc6a5e42d.tar.bz2 |
* config/tc-hppa.c (pa_procend): Give an error if we encounter a
procend for a procedure without a name.
-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"); |