Call target specific add_symbols function
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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..
|
||||
|
||||
+1
-1
@@ -1064,7 +1064,7 @@ generic_link_check_archive_element (bfd *abfd,
|
||||
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. */
|
||||
|
||||
Reference in New Issue
Block a user