From: Paul Koning Date: Thu, 2 Dec 2010 11:53:07 +0000 (+0000) Subject: * pdp11.c (aout_link_add_symbols): Ignore debug symbols. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c98115d15fbd16d6808a5a7718d748072c00dd7;p=binutils-gdb.git * pdp11.c (aout_link_add_symbols): Ignore debug symbols. --- 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: