Commit 79abf19f by Mike Stump Committed by Mike Stump

re PR target/61352 (gcc 4.9.0 fails to execute dsymutil when linking executables on darwin)

	PR debug/61352
	* collect2.c (maybe_run_lto_and_relink): Be sure to always run
	post ld passes when lto is used.

From-SVN: r211067
parent 9a85ed03
2014-05-29 Mike Stump <mikestump@comcast.net>
PR debug/61352
* collect2.c (maybe_run_lto_and_relink): Be sure to always run
post ld passes when lto is used.
2014-05-29 Vladimir Makarov <vmakarov@redhat.com> 2014-05-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/61325 PR rtl-optimization/61325
......
...@@ -848,6 +848,8 @@ maybe_run_lto_and_relink (char **lto_ld_argv, char **object_lst, ...@@ -848,6 +848,8 @@ maybe_run_lto_and_relink (char **lto_ld_argv, char **object_lst,
fork_execute ("ld", lto_ld_argv); fork_execute ("ld", lto_ld_argv);
post_ld_pass (false); post_ld_pass (false);
} }
else
post_ld_pass (true);
} }
/* Main program. */ /* Main program. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment