commit: 9b14dd3e4c34aa6794b8e34ab9bb39462e10e8e0 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Jun 11 22:47:51 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Jun 11 22:47:51 2020 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=9b14dd3e
11.0.0: fix tool-prefixed objdump autodetection Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> 11.0.0/gentoo/29_all_plugin-objdump.patch | 34 +++++++++++++++++++++++++++++++ 11.0.0/gentoo/README.history | 1 + 2 files changed, 35 insertions(+) diff --git a/11.0.0/gentoo/29_all_plugin-objdump.patch b/11.0.0/gentoo/29_all_plugin-objdump.patch new file mode 100644 index 0000000..a9c33fd --- /dev/null +++ b/11.0.0/gentoo/29_all_plugin-objdump.patch @@ -0,0 +1,34 @@ +https://gcc.gnu.org/PR95648 +--- a/config/gcc-plugin.m4 ++++ b/config/gcc-plugin.m4 +@@ -45,7 +45,7 @@ AC_DEFUN([GCC_ENABLE_PLUGINS], + ;; + *) + if test x$build = x$host; then +- export_sym_check="objdump${exeext} -T" ++ export_sym_check="$ac_cv_prog_OBJDUMP -T" + elif test x$host = x$target; then + export_sym_check="$gcc_cv_objdump -T" + else +--- a/gcc/configure ++++ b/gcc/configure +@@ -30386,7 +30386,7 @@ fi + ;; + *) + if test x$build = x$host; then +- export_sym_check="objdump${exeext} -T" ++ export_sym_check="$ac_cv_prog_OBJDUMP -T" + elif test x$host = x$target; then + export_sym_check="$gcc_cv_objdump -T" + else +--- a/libcc1/configure ++++ b/libcc1/configure +@@ -14819,7 +14819,7 @@ fi + ;; + *) + if test x$build = x$host; then +- export_sym_check="objdump${exeext} -T" ++ export_sym_check="$ac_cv_prog_OBJDUMP -T" + elif test x$host = x$target; then + export_sym_check="$gcc_cv_objdump -T" + else diff --git a/11.0.0/gentoo/README.history b/11.0.0/gentoo/README.history index 6a58231..40240fc 100644 --- a/11.0.0/gentoo/README.history +++ b/11.0.0/gentoo/README.history @@ -27,3 +27,4 @@ + 26_all_EXTRA_OPTIONS-z-now.patch + 27_all_EXTRA_OPTIONS-fstack-clash-protection.patch + 28_all_lto-intl-workaround-PR95194.patch + + 29_all_plugin-objdump.patch
