fix a merge error with LIBGCC_PIC_SUFFIX code.

This commit is contained in:
mrg 2011-06-29 02:12:29 +00:00
parent f7fea21d51
commit bf3f398f4e

View File

@ -1766,17 +1766,11 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name,
"}"
"%{!static:%{!static-libgcc:"
#if USE_LD_AS_NEEDED
"%{!shared:"
"%{!shared-libgcc:",
static_name, " --as-needed ", shared_name, " --no-as-needed"
"}"
"%{shared-libgcc:",
shared_name, "%{!shared: ", static_name, "}"
"}"
"}"
"%{shared:"
"%{shared-libgcc: --as-needed", shared_name, " --no-as-needed} ",
"%{!shared-libgcc:", static_name,
shared_name, "%{!shared: ", static_name,
#ifdef LIBGCC_PICSUFFIX
LIBGCC_PICSUFFIX,
#endif
@ -1787,7 +1781,8 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name,
"%{!shared-libgcc:", static_name, " ", eh_name, "}"
"%{shared-libgcc:", shared_name, " ", static_name, "}"
"}"
#ifdef LINK_EH_SPEC
/* XXX NH XXX */
#ifdef LINK_EH_SPEC || 1
"%{shared:"
"%{shared-libgcc:", shared_name, "}"
"%{!shared-libgcc:", static_name,