From: Alan Modra Date: Wed, 6 Mar 2013 13:48:46 +0000 (+0000) Subject: * ldfile.c (ldfile_open_command_file_1): Return after einfo X-Git-Tag: gdb_7_6-2013-03-12-branchpoint~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ab6909a0cb6f0f4369b88782f79e4514aaa73a2;p=external%2Fbinutils.git * ldfile.c (ldfile_open_command_file_1): Return after einfo to avoid warning. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index ec75b6b..e01cc73 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-03-07 Alan Modra + + * ldfile.c (ldfile_open_command_file_1): Return after einfo + to avoid warning. + 2013-03-05 Corinna Vinschen * configure.host: Add x86_64-*-cygwin* as valid host. diff --git a/ld/ldfile.c b/ld/ldfile.c index e9091e9..16baef8 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);