mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Stabs in sections linking support.
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
Written by Ian Lance Taylor, Cygnus Support.
|
||||
|
||||
@@ -456,6 +456,9 @@ _bfd_link_section_stabs (abfd, psinfo, stabsec, stabstrsec, psecinfo, pstring_of
|
||||
}
|
||||
else if (incl_type == (int) N_BINCL)
|
||||
++nest;
|
||||
else if (incl_type == (int) N_EXCL)
|
||||
/* Keep existing exclusion marks. */
|
||||
continue;
|
||||
else if (nest == 0)
|
||||
{
|
||||
*incl_pstridx = (bfd_size_type) -1;
|
||||
|
||||
Reference in New Issue
Block a user