commit:     68f0e3a9d047a02b937485d35fec84a06b90f3ae
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 19:01:50 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 19:01:50 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=68f0e3a9

7.5.0: backport 'objdump' lookup for plugins

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 7.5.0/gentoo/25_all_plugin-objdump.patch | 34 ++++++++++++++++++++++++++++++++
 7.5.0/gentoo/README.history              |  3 +++
 2 files changed, 37 insertions(+)

diff --git a/7.5.0/gentoo/25_all_plugin-objdump.patch 
b/7.5.0/gentoo/25_all_plugin-objdump.patch
new file mode 100644
index 0000000..a9c33fd
--- /dev/null
+++ b/7.5.0/gentoo/25_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/7.5.0/gentoo/README.history b/7.5.0/gentoo/README.history
index 2903122..356642c 100644
--- a/7.5.0/gentoo/README.history
+++ b/7.5.0/gentoo/README.history
@@ -1,3 +1,6 @@
+4              TODO
+       + 25_all_plugin-objdump.patch
+
 3              29 May 2020
        + 24_all_libcpp-ar.patch
 

Reply via email to