projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54e2ec
)
* ldfile.c (ldfile_open_command_file_1): Return after einfo
author
Alan Modra
<amodra@gmail.com>
Wed, 6 Mar 2013 13:48:46 +0000
(13:48 +0000)
committer
Alan Modra
<amodra@gmail.com>
Wed, 6 Mar 2013 13:48:46 +0000
(13:48 +0000)
to avoid warning.
ld/ChangeLog
patch
|
blob
|
history
ld/ldfile.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index ec75b6b001195e6b676bbbd700f49161c1c58495..e01cc734dcdb9cc3af030a1002abd5342d982bdf 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,8
@@
+2013-03-07 Alan Modra <amodra@gmail.com>
+
+ * ldfile.c (ldfile_open_command_file_1): Return after einfo
+ to avoid warning.
+
2013-03-05 Corinna Vinschen <vinschen@redhat.com>
* configure.host: Add x86_64-*-cygwin* as valid host.
diff --git
a/ld/ldfile.c
b/ld/ldfile.c
index e9091e9fa9ab0cb1182a102de48096ac13215a39..16baef831e1ce12d7a3a227c1102e4fbb62beb27 100644
(file)
--- 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);