diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12bebb0..8f0ba61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. + 2009-10-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * collect2.c (add_lto_object): Only define if OBJECT_FORMAT_NONE. @@ -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%*} \ |