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 | 3d45646427f594eb985155728df5e8dc6f55637a (patch) | |
tree | 7808b1f589df67c14f55effb1f006731ed13b69b /bfd | |
parent | 54ac5761ecccfbf40a8041742850b576cf787823 (diff) | |
download | gdb-3d45646427f594eb985155728df5e8dc6f55637a.zip gdb-3d45646427f594eb985155728df5e8dc6f55637a.tar.gz gdb-3d45646427f594eb985155728df5e8dc6f55637a.tar.bz2 |
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/stabs.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c11de69..c2a90ad 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> diff --git a/bfd/stabs.c b/bfd/stabs.c index 42944a4..5aa3b03 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; |