forked from pool/binutils
Accepting request 775181 from home:marxin:branches:devel:gcc
- Add fix-try_load_plugin.patch in order to fix fallback caused by backport for PR25355. The patch will be removed once the fix will reach 2.34 release branch. OBS-URL: https://build.opensuse.org/request/show/775181 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=332
This commit is contained in:
parent
7678d731bf
commit
39ae550e77
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -96,6 +96,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -187,6 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:48:26 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add fix-try_load_plugin.patch in order to fix fallback caused
|
||||
by backport for PR25355.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch34: aarch64-common-pagesize.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch37: binutils-revert-plt32-in-branches.diff
|
||||
Patch38: binutils-fix-invalid-op-errata.diff
|
||||
Patch39: fix-try_load_plugin.patch
|
||||
Patch100: add-ulp-section.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch37 -p1
|
||||
%endif
|
||||
%patch38
|
||||
%patch39 -p1
|
||||
%patch100
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
|
127
fix-try_load_plugin.patch
Normal file
127
fix-try_load_plugin.patch
Normal file
@ -0,0 +1,127 @@
|
||||
From e5310c1cd5735c5dc29988583871be8c59c11cea Mon Sep 17 00:00:00 2001
|
||||
From: "H.J. Lu" <hjl.tools@gmail.com>
|
||||
Date: Tue, 18 Feb 2020 04:22:34 -0800
|
||||
Subject: [PATCH] plugin: Call dlclose before return in try_load_plugin
|
||||
|
||||
Since plugin can be used only once in try_load_plugin, call dlclose
|
||||
before return.
|
||||
|
||||
PR binutils/25355
|
||||
* plugin.c (plugin_list_entry): Remove handle.
|
||||
(try_load_plugin): Call dlclose before return.
|
||||
---
|
||||
bfd/plugin.c | 43 ++++++++++++++++++-------------------------
|
||||
1 file changed, 18 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/bfd/plugin.c b/bfd/plugin.c
|
||||
index 47c3439042c..84b96a20733 100644
|
||||
--- a/bfd/plugin.c
|
||||
+++ b/bfd/plugin.c
|
||||
@@ -126,7 +126,6 @@ message (int level ATTRIBUTE_UNUSED,
|
||||
struct plugin_list_entry
|
||||
{
|
||||
/* These must be initialized for each IR object with LTO wrapper. */
|
||||
- void *handle;
|
||||
ld_plugin_claim_file_handler claim_file;
|
||||
ld_plugin_all_symbols_read_handler all_symbols_read;
|
||||
ld_plugin_all_symbols_read_handler cleanup_handler;
|
||||
@@ -596,22 +595,12 @@ try_load_plugin (const char *pname,
|
||||
struct plugin_list_entry *plugin_list_iter,
|
||||
bfd *abfd, bfd_boolean build_list_p)
|
||||
{
|
||||
- void *plugin_handle = NULL;
|
||||
+ void *plugin_handle;
|
||||
struct ld_plugin_tv tv[12];
|
||||
int i;
|
||||
ld_plugin_onload onload;
|
||||
enum ld_plugin_status status;
|
||||
-
|
||||
- /* NB: Each object is independent. Reuse the previous plugin from
|
||||
- the last run will lead to wrong result. */
|
||||
- if (current_plugin)
|
||||
- {
|
||||
- if (current_plugin->handle)
|
||||
- dlclose (current_plugin->handle);
|
||||
- memset (current_plugin, 0,
|
||||
- offsetof (struct plugin_list_entry, next));
|
||||
- current_plugin = NULL;
|
||||
- }
|
||||
+ int result = 0;
|
||||
|
||||
if (plugin_list_iter)
|
||||
pname = plugin_list_iter->plugin_name;
|
||||
@@ -628,12 +617,12 @@ try_load_plugin (const char *pname,
|
||||
size_t length_plugin_name = strlen (pname) + 1;
|
||||
char *plugin_name = bfd_malloc (length_plugin_name);
|
||||
if (plugin_name == NULL)
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
plugin_list_iter = bfd_malloc (sizeof *plugin_list_iter);
|
||||
if (plugin_list_iter == NULL)
|
||||
{
|
||||
free (plugin_name);
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
}
|
||||
/* Make a copy of PNAME since PNAME from load_plugin () will be
|
||||
freed. */
|
||||
@@ -644,13 +633,13 @@ try_load_plugin (const char *pname,
|
||||
plugin_list = plugin_list_iter;
|
||||
}
|
||||
|
||||
- plugin_list_iter->handle = plugin_handle;
|
||||
+ current_plugin = plugin_list_iter;
|
||||
if (build_list_p)
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
onload = dlsym (plugin_handle, "onload");
|
||||
if (!onload)
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
i = 0;
|
||||
tv[i].tv_tag = LDPT_MESSAGE;
|
||||
@@ -703,28 +692,32 @@ try_load_plugin (const char *pname,
|
||||
tv[i].tv_tag = LDPT_NULL;
|
||||
tv[i].tv_u.tv_val = 0;
|
||||
|
||||
- current_plugin = plugin_list_iter;
|
||||
-
|
||||
/* LTO plugin will call handler hooks to set up plugin handlers. */
|
||||
status = (*onload)(tv);
|
||||
|
||||
if (status != LDPS_OK)
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
if (current_plugin->lto_wrapper
|
||||
&& setup_lto_wrapper_env (current_plugin))
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
abfd->plugin_format = bfd_plugin_no;
|
||||
|
||||
if (!current_plugin->claim_file)
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
if (!try_claim (abfd))
|
||||
- return 0;
|
||||
+ goto short_circuit;
|
||||
|
||||
abfd->plugin_format = bfd_plugin_yes;
|
||||
- return 1;
|
||||
+ result = 1;
|
||||
+
|
||||
+short_circuit:
|
||||
+ /* NB: Each object is independent. Reuse the previous plugin from
|
||||
+ the last run will lead to wrong result. */
|
||||
+ dlclose (plugin_handle);
|
||||
+ return result;
|
||||
}
|
||||
|
||||
/* There may be plugin libraries in lib/bfd-plugins. */
|
||||
--
|
||||
2.24.1
|
||||
|
Loading…
Reference in New Issue
Block a user