From 9e26084c8a6e89642f05600395a3af2c9f7f8bac Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 6 Mar 2013 13:48:45 +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 e9091e9fa9..16baef831e 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