aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-03-31 08:13:48 +0000
committerTristan Gingold <gingold@adacore.com>2011-03-31 08:13:48 +0000
commit53dd76d35f32095e432e4822dbe06f017f7d7069 (patch)
treeaa9289c5b0e4934d1c8e0b849854805993a9c57d /bfd/coffcode.h
parent2040cacad140b7b56bcb7026352257d446ca3f11 (diff)
downloadgdb-53dd76d35f32095e432e4822dbe06f017f7d7069.zip
gdb-53dd76d35f32095e432e4822dbe06f017f7d7069.tar.gz
gdb-53dd76d35f32095e432e4822dbe06f017f7d7069.tar.bz2
include/coff
2011-03-31 Tristan Gingold <gingold@adacore.com> * internal.h (C_NULL_VALUE): Define. bfd/ 2011-03-31 Tristan Gingold <gingold@adacore.com> * coffcode.h (coff_slurp_symbol_table): Silently discard C_NULL entry on xcoff when value is C_NULL_VALUE.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 0fbaa97..6ee3db9 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4896,6 +4896,11 @@ coff_slurp_symbol_table (bfd * abfd)
&& src->u.syment.n_value == 0
&& src->u.syment.n_scnum == 0)
break;
+#ifdef RS6000COFF_C
+ /* XCOFF specific: deleted entry. */
+ if (src->u.syment.n_value == C_NULL_VALUE)
+ break;
+#endif
/* Fall through. */
case C_EXTDEF: /* External definition. */
case C_ULABEL: /* Undefined label. */