This allows targets that have target specific code to add object
symbols to make use of the generic archive handling.
	* linker.c (generic_link_check_archive_element): Call target
	bfd_link_add_symbols to add element symbols.
+2016-12-23  Alan Modra  <amodra@gmail.com>
+
+       * linker.c (generic_link_check_archive_element): Call target
+       bfd_link_add_symbols to add element symbols.
+
 2016-12-23  Alan Modra  <amodra@gmail.com>
 
        * linker.c (generic_link_add_symbols): Delete.  Merge into..
 
            return FALSE;
          /* Potentially, the add_archive_element hook may have set a
             substitute BFD for us.  */
-         return generic_link_add_object_symbols (abfd, info);
+         return bfd_link_add_symbols (abfd, info);
        }
 
       /* P is a common symbol.  */