From 3510934c090dff9c70a0b83c98c3e66d2281c8da Mon Sep 17 00:00:00 2001 From: nickc Date: Wed, 31 Mar 2004 08:44:59 +0000 Subject: [PATCH] (_bfd_link_section_stabs): Do not skip N_EXCL stabs. --- bfd/ChangeLog | 4 ++++ bfd/stabs.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c11de69d64..c2a90ad921 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-03-31 Mattias EngdegÄrd + + * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs. + 2004-03-30 Galit Heller Tomer Levi diff --git a/bfd/stabs.c b/bfd/stabs.c index 42944a41bf..5aa3b0338e 100644 --- a/bfd/stabs.c +++ b/bfd/stabs.c @@ -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; -- 2.11.0