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:
parent
02dd92991a
commit
c310f94f3a
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue