Message ID | yddwooh677e.fsf@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
Series | Don't try to use libgcc-unwind.map with --disable-shared (PR bootstrap/65725) | expand |
# HG changeset patch # Parent aefe43ddbbcf7dca119fa6cb2121526461337953 Don't try to use libgcc-unwind.map with --disable-shared (PR bootstrap/65725) diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -397,7 +397,7 @@ along with GCC; see the file COPYING3. #define SYSROOT_SPEC "-z sysroot=%R" #endif -#ifndef USE_GLD +#if !defined(USE_GLD) && defined(ENABLE_SHARED_LIBGCC) /* With Sun ld, use mapfile to enforce direct binding to libgcc_s unwinder. */ #define LINK_LIBGCC_MAPFILE_SPEC \ "%{shared|shared-libgcc:-M %slibgcc-unwind.map}"