OSDN Git Service

* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
authorpkoning <pkoning>
Thu, 2 Dec 2010 11:53:06 +0000 (11:53 +0000)
committerpkoning <pkoning>
Thu, 2 Dec 2010 11:53:06 +0000 (11:53 +0000)
bfd/ChangeLog
bfd/pdp11.c

index 9884a14..1bc8580 100644 (file)
@@ -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.
index 5f4d28c..08aab37 100644 (file)
@@ -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: