* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
This commit is contained in:
parent
cdcf6e38a2
commit
81283cde50
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
|
||||
|
||||
* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
|
||||
|
||||
2002-11-18 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* dwarf2dbg.h (dwarf2_format): New enum.
|
||||
|
|
|
@ -4521,7 +4521,12 @@ s_alpha_prologue (ignore)
|
|||
sym = ecoff_get_cur_proc_sym ();
|
||||
else
|
||||
sym = alpha_cur_ent_sym;
|
||||
know (sym != NULL);
|
||||
|
||||
if (sym == NULL)
|
||||
{
|
||||
as_bad (_(".prologue directive without a preceding .ent directive"));
|
||||
return;
|
||||
}
|
||||
|
||||
switch (arg)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue