aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-28 20:01:19 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-28 20:01:19 +0100
commit55f08879d45d61d7cef8306ce5f4d0f7ba15cfeb (patch)
tree922faeca902e008f057a538dcc35301fa3d0f456
parent9.3.0: backport 'objdump' lookup for plugins (diff)
downloadgcc-patches-55f08879d45d61d7cef8306ce5f4d0f7ba15cfeb.tar.gz
gcc-patches-55f08879d45d61d7cef8306ce5f4d0f7ba15cfeb.tar.bz2
gcc-patches-55f08879d45d61d7cef8306ce5f4d0f7ba15cfeb.zip
8.4.0: backport 'objdump' lookup for plugins
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--8.4.0/gentoo/31_all_plugin-objdump.patch34
-rw-r--r--8.4.0/gentoo/README.history3
2 files changed, 37 insertions, 0 deletions
diff --git a/8.4.0/gentoo/31_all_plugin-objdump.patch b/8.4.0/gentoo/31_all_plugin-objdump.patch
new file mode 100644
index 0000000..a9c33fd
--- /dev/null
+++ b/8.4.0/gentoo/31_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/8.4.0/gentoo/README.history b/8.4.0/gentoo/README.history
index ded29d0..c9566f7 100644
--- a/8.4.0/gentoo/README.history
+++ b/8.4.0/gentoo/README.history
@@ -1,3 +1,6 @@
+3 TODO
+ + 31_all_plugin-objdump.patch
+
2 29 May 2020
+ 29_all_libcpp-ar.patch
+ 30_all_alignof-failure-PR90736.patch