This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)


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.ivchenko@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]