bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld (bfd?) bug: unmatched excluded include in stabs


From: Nick Clifton
Subject: Re: ld (bfd?) bug: unmatched excluded include in stabs
Date: Tue, 25 Nov 2003 11:57:29 +0000
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi Mattias,

> Here is the proposed patch, which seems to cure it:
>
> --- binutils-031118/bfd/stabs.c~        Tue Nov  4 12:30:54 2003
> +++ binutils-031118/bfd/stabs.c Tue Nov 18 16:24:01 2003
> @@ -358,6 +358,8 @@
>               incl_type = incl_sym[TYPEOFF];
>               if (incl_type == 0)
>                 break;
> +             else if (incl_type == (int) N_EXCL)
> +                continue;
>               else if (incl_type == (int) N_EINCL)
>                 {
>                   if (nest == 0)

Thanks very much.  This patch is quite reasonable, so I have applied
it together with this ChangeLog entry:

  2003-11-25  Mattias Engdegard  <address@hidden>

        * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when
        processing N_BINCL stabs.

Cheers
        Nick
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]