(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
authorNick Clifton <nickc@redhat.com>
Wed, 31 Mar 2004 08:45:00 +0000 (08:45 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 31 Mar 2004 08:45:00 +0000 (08:45 +0000)
bfd/ChangeLog
bfd/stabs.c

index c11de69d6485b87eab04d6738c41427b71ca1949..c2a90ad921ffd6ff4ff7d8ca60372dcd2655e1e3 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-31  Mattias EngdegĂ„rd  <mattias@virtutech.se>
+
+       * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs.
+
 2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
             Tomer Levi    <Tomer.Levi@nsc.com>
 
index 42944a41bf19a1afa81234667f109cd62db89f5f..5aa3b0338e9ab85009c3fa2596887398eded9ca6 100644 (file)
@@ -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;