https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267
--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Fri Sep 9 21:38:06 2016 New Revision: 240057 URL: https://gcc.gnu.org/viewcvs?rev=240057&root=gcc&view=rev Log: Fix PR target/77267 2016-09-10 Alexander Ivchenko <alexander.ivche...@intel.com> PR target/77267 * config.in: Regenerate. * config/i386/linux-common.h (MPX_LD_AS_NEEDED_GUARD_PUSH): New macro. (MPX_LD_AS_NEEDED_GUARD_PUSH): Ditto. (LIBMPXWRAPPERS_SPEC): Remove "--no-whole-archive" from static-libmpxwrappers case. (LIBMPX_SPEC): Add guards with MPX_LD_AS_NEEDED_GUARD_PUSH and MPX_LD_AS_NEEDED_GUARD_POP. * configure: Regenerate. * configure.ac (HAVE_LD_PUSHPOPSTATE_SUPPORT): New variable. defined if linker support "--push-state"/"--pop-state". Modified: trunk/gcc/ChangeLog trunk/gcc/config.in trunk/gcc/config/i386/linux-common.h trunk/gcc/configure trunk/gcc/configure.ac