diff options
author | Nick Clifton <nickc@redhat.com> | 2004-03-31 08:45:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-03-31 08:45:00 +0000 |
commit | b2bfce31b06b3c8f309f7f82ae8ddafac76a2e80 (patch) | |
tree | 1b9a327c6b6bdd81d7606db8dafdda17d2f406cb /bfd/stabs.c | |
parent | 896a760ada219680ab8d3aa0b10422c79b785580 (diff) | |
download | binutils-redhat-b2bfce31b06b3c8f309f7f82ae8ddafac76a2e80.tar.gz |
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
Diffstat (limited to 'bfd/stabs.c')
-rw-r--r-- | bfd/stabs.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |