From 3ab6909a0cb6f0f4369b88782f79e4514aaa73a2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 6 Mar 2013 13:48:46 +0000 Subject: * ldfile.c (ldfile_open_command_file_1): Return after einfo to avoid warning. --- ld/ldfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/ldfile.c') diff --git a/ld/ldfile.c b/ld/ldfile.c index e9091e9fa9a..16baef831e1 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -602,6 +602,7 @@ ldfile_open_command_file_1 (const char *name, bfd_boolean default_only) { bfd_set_error (bfd_error_system_call); einfo (_("%P%F: cannot open linker script file %s: %E\n"), name); + return; } lex_push_file (ldlex_input_stack, name, sysrooted); -- cgit v1.2.1