Module Name: src Committed By: chs Date: Mon Oct 17 14:27:10 UTC 2011
Modified Files: src/external/gpl3/gcc/dist/gcc: gcc.c Log Message: when linking with "-shared" and "-shared-libgcc", also link against the static libgcc.a after the shared libgcc_s.so. this is needed on hppa and sh to get the millicode, which is not in the shared version. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/dist/gcc/gcc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/gcc.c diff -u src/external/gpl3/gcc/dist/gcc/gcc.c:1.8 src/external/gpl3/gcc/dist/gcc/gcc.c:1.9 --- src/external/gpl3/gcc/dist/gcc/gcc.c:1.8 Tue Oct 11 23:05:48 2011 +++ src/external/gpl3/gcc/dist/gcc/gcc.c Mon Oct 17 14:27:10 2011 @@ -1760,7 +1760,7 @@ init_gcc_specs (struct obstack *obstack, static_name, " --as-needed ", shared_name, " --no-as-needed" "}" "%{shared-libgcc:", - shared_name, "%{!shared: ", static_name, "}" + "--as-needed ", shared_name, " --no-as-needed ", static_name, "}" #else "%{!shared:"