mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
2253524023
*** Changes in GDB 8.2 Support for the following target has been added: RiscV ELF (riscv*-*-elf) Support for following targets and native configurations has been removed: m88k running OpenBSD (m88*-*-openbsd*) SH-5/SH64 ELF (sh64-*-elf*) SH-5/SH64 (sh*) SH-5/SH64 running GNU/Linux (sh*-*-linux*) SH-5/SH64 running OpenBSD (sh*-*-openbsd*) Various Python API enhancements Aarch64/Linux enhancements: SVE support. Hardware watchpoints improvements for entities stored at unaligned addresses. New "c" response to disable the pager for the rest of the current command. C expressions can now use _Alignof, and C++ expressions can now use alignof. Improved flexibility for loading symbol files. The 'info proc' command nows works on running processes on FreeBSD systems as well as core files created on FreeBSD systems. A new --enable-codesign=CERT configure option to automatically codesign GDB after build (useful on MacOS X). Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
77 lines
2.8 KiB
Diff
77 lines
2.8 KiB
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1277,13 +1277,13 @@ if test -z "$LD"; then
|
|
fi
|
|
fi
|
|
|
|
-# Check whether -static-libstdc++ -static-libgcc is supported.
|
|
+# Check whether -static-libstdc++ is supported.
|
|
have_static_libs=no
|
|
if test "$GCC" = yes; then
|
|
saved_LDFLAGS="$LDFLAGS"
|
|
|
|
- LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
|
|
- AC_MSG_CHECKING([whether g++ accepts -static-libstdc++ -static-libgcc])
|
|
+ LDFLAGS="$LDFLAGS -static-libstdc++"
|
|
+ AC_MSG_CHECKING([whether g++ accepts -static-libstdc++])
|
|
AC_LANG_PUSH(C++)
|
|
AC_LINK_IFELSE([AC_LANG_SOURCE([
|
|
#if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
|
|
@@ -1609,7 +1609,7 @@ AC_ARG_WITH(stage1-ldflags,
|
|
# if supported. But if the user explicitly specified the libraries to use,
|
|
# trust that they are doing what they want.
|
|
if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
|
|
- stage1_ldflags="-static-libstdc++ -static-libgcc"
|
|
+ stage1_ldflags="-static-libstdc++"
|
|
fi])
|
|
AC_SUBST(stage1_ldflags)
|
|
|
|
@@ -1638,7 +1638,7 @@ AC_ARG_WITH(boot-ldflags,
|
|
# statically. But if the user explicitly specified the libraries to
|
|
# use, trust that they are doing what they want.
|
|
if test "$poststage1_libs" = ""; then
|
|
- poststage1_ldflags="-static-libstdc++ -static-libgcc"
|
|
+ poststage1_ldflags="-static-libstdc++"
|
|
fi])
|
|
AC_SUBST(poststage1_ldflags)
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -5043,14 +5043,14 @@ if test -z "$LD"; then
|
|
fi
|
|
fi
|
|
|
|
-# Check whether -static-libstdc++ -static-libgcc is supported.
|
|
+# Check whether -static-libstdc++ is supported.
|
|
have_static_libs=no
|
|
if test "$GCC" = yes; then
|
|
saved_LDFLAGS="$LDFLAGS"
|
|
|
|
- LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
|
|
-$as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
|
|
+ LDFLAGS="$LDFLAGS -static-libstdc++"
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++" >&5
|
|
+$as_echo_n "checking whether g++ accepts -static-libstdc++... " >&6; }
|
|
ac_ext=cpp
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -5833,7 +5833,7 @@ else
|
|
# if supported. But if the user explicitly specified the libraries to use,
|
|
# trust that they are doing what they want.
|
|
if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
|
|
- stage1_ldflags="-static-libstdc++ -static-libgcc"
|
|
+ stage1_ldflags="-static-libstdc++"
|
|
fi
|
|
fi
|
|
|
|
@@ -5869,7 +5869,7 @@ else
|
|
# statically. But if the user explicitly specified the libraries to
|
|
# use, trust that they are doing what they want.
|
|
if test "$poststage1_libs" = ""; then
|
|
- poststage1_ldflags="-static-libstdc++ -static-libgcc"
|
|
+ poststage1_ldflags="-static-libstdc++"
|
|
fi
|
|
fi
|
|
|