This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: limit overflow errors to something sensible


On May  5, 2003, Alan Modra <amodra@bigpond.net.au> wrote:

> On Sun, May 04, 2003 at 06:25:50PM -0300, Alexandre Oliva wrote:
>> On Apr 10, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:
>> 
>> > Index: ld/ChangeLog
>> > from  Alexandre Oliva  <aoliva@redhat.com>
>> 
>> > 	* ldmain.h (overflow_cutoff_limit): Declare.
>> > 	* ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
>> > 	(reloc_overflow): Limit error messages based on it.
>> > 	* lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
>> > 	unlimited.
>> 
>> Ping?

> OK, except the overflow_cutoff_limit comment needs fixing to agree
> with the code (-2 => no limit, not -1).

The comment says -1 is for no errors, and less than that for no
limits, so it's already correct.  I'm going ahead and checking it in.
Thanks,

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]