summaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-03-06 13:48:45 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-03-06 13:48:45 +0000
commit9e26084c8a6e89642f05600395a3af2c9f7f8bac (patch)
treea8f42b8bcd311ddc37c54df739c97303acb2feb3 /ld/ldfile.c
parent3d7253f40d57609e2c9fe9ba5fc60997ee0d18a8 (diff)
downloadbinutils-redhat-9e26084c8a6e89642f05600395a3af2c9f7f8bac.tar.gz
* ldfile.c (ldfile_open_command_file_1): Return after einfo
to avoid warning.
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c1
1 files changed, 1 insertions, 0 deletions
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);