From 0c98115d15fbd16d6808a5a7718d748072c00dd7 Mon Sep 17 00:00:00 2001 From: Paul Koning Date: Thu, 2 Dec 2010 11:53:07 +0000 Subject: [PATCH] * pdp11.c (aout_link_add_symbols): Ignore debug symbols. --- bfd/ChangeLog | 4 ++++ bfd/pdp11.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9884a14740f..1bc858051cc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-12-02 Paul Koning + + * pdp11.c (aout_link_add_symbols): Ignore debug symbols. + 2010-11-30 Joel Sherrill * config.bfd: Add sparc64-rtems. diff --git a/bfd/pdp11.c b/bfd/pdp11.c index 5f4d28c6277..08aab37dd96 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: -- 2.30.2