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]

Re: /usr/ia64-suse-linux/bin/ld: Dwarf Error: Line offset (0) bigger than line size (0).


Andreas Jaeger <aj@suse.de> writes:

> amodra@one.net.au writes:
> 
> > On Mon, May 21, 2001 at 11:31:46AM +0200, Andreas Jaeger wrote:
> > > Either the message or the comparsion is wrong.  Could somebody
> > > enlighten me which is wrong?
> > 
> > The error message.
> 
> Here's a patch.  Is the english correct (bigger than looks wrong to
> me!)?
> 
> Ok to commit?
> 
> Andreas 
> 
> 2001-05-21  Andreas Jaeger  <aj@suse.de>
> 
> 	* dwarf2.c (decode_line_info): Fix error messages.
> 
> ============================================================
> Index: bfd/dwarf2.c
> --- bfd/dwarf2.c	2001/03/08 21:03:58	1.19
> +++ bfd/dwarf2.c	2001/05/21 11:19:03
> @@ -439,7 +439,7 @@
>  
>    if (offset > stash->dwarf_abbrev_size)
>      {
> -      (*_bfd_error_handler) (_("Dwarf Error: Abbrev offset (%u) bigger than abbrev size (%u)."),
> +      (*_bfd_error_handler) (_("Dwarf Error: Abbrev offset (%u) greater than abbrev size (%u)."),
>  			     offset, stash->dwarf_abbrev_size );
>        bfd_set_error (bfd_error_bad_value);
>        return 0;
> @@ -804,7 +804,7 @@
>       below.  */
>    if (unit->line_offset >= stash->dwarf_line_size)
>      {
> -      (*_bfd_error_handler) (_("Dwarf Error: Line offset (%u) bigger than line size (%u)."),
> +      (*_bfd_error_handler) (_("Dwarf Error: Line offset (%u) greater or equal than line size (%u)."),

This should be "greater than or equal to".

Ok with this change now?

Andreas

>  			     unit->line_offset, stash->dwarf_line_size);
>        bfd_set_error (bfd_error_bad_value);
>        return 0;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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