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.
This commit is contained in:
chs 2011-10-17 14:27:10 +00:00
parent 02dd92991a
commit c310f94f3a
1 changed files with 1 additions and 1 deletions

View File

@ -1760,7 +1760,7 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name,
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:"