forked from Imagelibrary/binutils-gdb
* ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
they have OUTPUT_FORMAT not matching actual output format. * ldlang.c (lang_get_output_target): New function. (open_output): Use it. * ldlang.h (lang_get_output_target): New prototype.
This commit is contained in:
@@ -483,5 +483,6 @@ extern void lang_register_vers_node
|
||||
struct bfd_elf_version_deps *));
|
||||
boolean unique_section_p PARAMS ((const char *));
|
||||
extern void lang_add_unique PARAMS ((const char *));
|
||||
extern const char *lang_get_output_target PARAMS ((void));
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user