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: ld (bfd?) bug: unmatched excluded include in stabs


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  <mattias@virtutech.se>

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

Cheers
        Nick
        


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