diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-10-08 13:59:32 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-10-08 13:59:32 +0000 |
commit | d520c7fb9dc5c6033259ef223cd63dc05b34aee1 (patch) | |
tree | 0ba2664c4b1be2ad1cda3f03ee68b336b1cd342e /gcc/gcc.c | |
parent | d72ff618d3477947f78c058e1d9e8249ddb9015b (diff) | |
download | gcc-d520c7fb9dc5c6033259ef223cd63dc05b34aee1.zip gcc-d520c7fb9dc5c6033259ef223cd63dc05b34aee1.tar.gz gcc-d520c7fb9dc5c6033259ef223cd63dc05b34aee1.tar.bz2 |
lto-plugin.c (add_input_library): New.
2009-10-08 Rafael Avila de Espindola <espindola@google.com>
* lto-plugin.c (add_input_library): New.
(all_symbols_read_handler): Use add_input_library for items that
start with -l.
(process_option): Fit in 80 columns.
(onload): Handle LDPT_ADD_INPUT_LIBRARY.
2009-10-08 Rafael Avila de Espindola <espindola@google.com>
* gcc.c (LINK_COMMAND_SPEC): Pass libc with -pass-through if it is
being statically linked.
From-SVN: r152558
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -775,6 +775,7 @@ proper position among the other output files. */ -plugin-opt=%(lto_wrapper) \ -plugin-opt=%(lto_gcc) \ %{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)} \ + %{static:-plugin-opt=-pass-through=-lc} \ %{O*:-plugin-opt=-O%*} \ %{w:-plugin-opt=-w} \ %{f*:-plugin-opt=-f%*} \ |