aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-03-06 13:48:46 +0000
committerAlan Modra <amodra@gmail.com>2013-03-06 13:48:46 +0000
commit3ab6909a0cb6f0f4369b88782f79e4514aaa73a2 (patch)
treedebad75e8c1e80344b571c444eef13b16eca05a6 /ld/ldfile.c
parentc54e2ec1422ff0ea450229edea966ce994db408c (diff)
downloadgdb-3ab6909a0cb6f0f4369b88782f79e4514aaa73a2.zip
gdb-3ab6909a0cb6f0f4369b88782f79e4514aaa73a2.tar.gz
gdb-3ab6909a0cb6f0f4369b88782f79e4514aaa73a2.tar.bz2
* 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 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);