diff options
author | Nick Clifton <nickc@redhat.com> | 2000-02-24 17:53:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-02-24 17:53:12 +0000 |
commit | 344a211f9995c36b116eb81c6d5a9d1839ba54b7 (patch) | |
tree | 44558d2be02cf2b2bd3c25dfefa1e34762509f8b /ld/ldfile.c | |
parent | cfcdbe979065f75a9cefa1925253a4e29c5b6fb1 (diff) | |
download | fsf-binutils-gdb-344a211f9995c36b116eb81c6d5a9d1839ba54b7.zip fsf-binutils-gdb-344a211f9995c36b116eb81c6d5a9d1839ba54b7.tar.gz fsf-binutils-gdb-344a211f9995c36b116eb81c6d5a9d1839ba54b7.tar.bz2 |
Add support for WinCE based toolchains.
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 6c00cab..187770e 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 98, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 94, 95, 98, 99, 2000 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -74,9 +74,6 @@ typedef struct search_arch static search_arch_type *search_arch_head; static search_arch_type **search_arch_tail_ptr = &search_arch_head; -static boolean ldfile_open_file_search - PARAMS ((const char *arch, lang_input_statement_type *, - const char *lib, const char *suffix)); static FILE *try_open PARAMS ((const char *name, const char *exten)); void @@ -150,7 +147,7 @@ ldfile_try_open_bfd (attempt, entry) /* Search for and open the file specified by ENTRY. If it is an archive, use ARCH, LIB and SUFFIX to modify the file name. */ -static boolean +boolean ldfile_open_file_search (arch, entry, lib, suffix) const char *arch; lang_input_statement_type *entry; @@ -247,6 +244,8 @@ ldfile_open_file (entry) if (ldfile_open_file_search (arch->name, entry, ":lib", ".a")) return; #endif + if (ldemul_find_potential_libraries (arch->name, entry)) + return; } einfo (_("%F%P: cannot find %s\n"), entry->local_sym_name); } |