mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-22 16:03:31 +08:00
2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/obj-coff.c (add_lineno): Accept non-positive lineno with warning, and bump it to 1.
This commit is contained in:
parent
4db3857a87
commit
b985eaa839
@ -1,3 +1,8 @@
|
||||
2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* config/obj-coff.c (add_lineno): Accept non-positive lineno with
|
||||
warning, and bump it to 1.
|
||||
|
||||
2000-02-22 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
From Brad Lucier <lucier@math.purdue.edu>:
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* coff object file format
|
||||
Copyright (C) 1989, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999
|
||||
Copyright (C) 1989, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GAS.
|
||||
@ -441,8 +441,8 @@ add_lineno (frag, offset, num)
|
||||
if (num <= 0)
|
||||
{
|
||||
/* Zero is used as an end marker in the file. */
|
||||
as_bad (_("Line numbers must be positive integers\n"));
|
||||
return;
|
||||
as_warn (_("Line numbers must be positive integers\n"));
|
||||
num = 1;
|
||||
}
|
||||
new_line->next = line_nos;
|
||||
new_line->frag = frag;
|
||||
|
Loading…
Reference in New Issue
Block a user