diff options
author | Paul Koning <pkoning@equallogic.com> | 2010-12-02 11:53:07 +0000 |
---|---|---|
committer | Paul Koning <pkoning@equallogic.com> | 2010-12-02 11:53:07 +0000 |
commit | 0c98115d15fbd16d6808a5a7718d748072c00dd7 (patch) | |
tree | 70912c24ba1db1e4182d0c4e6b4fe2003616a93a | |
parent | 8be6259eb2f2272967f5da5bb49a1b3ccf777067 (diff) | |
download | gdb-0c98115d15fbd16d6808a5a7718d748072c00dd7.zip gdb-0c98115d15fbd16d6808a5a7718d748072c00dd7.tar.gz gdb-0c98115d15fbd16d6808a5a7718d748072c00dd7.tar.bz2 |
* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/pdp11.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9884a14..1bc8580 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-12-02 Paul Koning <ni1d@arrl.net> + + * pdp11.c (aout_link_add_symbols): Ignore debug symbols. + 2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> * config.bfd: Add sparc64-rtems. diff --git a/bfd/pdp11.c b/bfd/pdp11.c index 5f4d28c..08aab37 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -2777,7 +2777,9 @@ aout_link_add_symbols (bfd *abfd, struct bfd_link_info *info) switch (type) { default: - abort (); + /* Anything else should be a debugging symbol. */ + BFD_ASSERT ((type & N_STAB) != 0); + continue; case N_UNDF: case N_ABS: |