summaryrefslogtreecommitdiff
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
commita9c98f090bcc2a4b0c2b3e1a94f1921acc1fd03d (patch)
tree2c1f2d88df4112376c22074a9f2befb4e90c6a2e /bfd/coffcode.h
parent5921cb23465c06f1bf175027debd827655b74feb (diff)
downloadbinutils-redhat-a9c98f090bcc2a4b0c2b3e1a94f1921acc1fd03d.tar.gz
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 0fbaa97d41..6ee3db90e5 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. */