diff --git a/binutils.changes b/binutils.changes index 91b15d2..aa2741c 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/binutils.spec b/binutils.spec index 72d6a78..d5fe1f4 100644 --- a/binutils.spec +++ b/binutils.spec @@ -94,6 +94,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -165,6 +166,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 4e41ecd..9ad9054 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 82fdcec..3f1ca32 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index b216d6f..0f74e21 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index b78568d..34c3e47 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 64f182c..54cca82 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index c2b91a0..ffadbb0 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 6e66f47..c415ddf 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 595cd81..500f1a4 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index cc8ba57..70c23c9 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index f5c72bc..7e9194a 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 8d27050..efdf88a 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 9c74afd..388ae3e 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 2b665bb..fc4d1c9 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 825cabe..9cfb678 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 3913665..bf2de52 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index f2579e0..796b5b0 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 733ecd7..f4e98a7 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index bba3d65..f02108d 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 82f2f6a..8dc04bb 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index f967833..2847939 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 91b15d2..aa2741c 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab + +- riscv-abi-check.patch: Don't check ABI flags if no code section + ------------------------------------------------------------------- Tue Feb 19 10:47:00 UTC 2019 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 64e705e..0359b3d 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -97,6 +97,7 @@ Patch22: binutils-bfd_h.patch Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff +Patch38: riscv-abi-check.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %if %{suse_version} < 1550 %patch37 -p1 %endif +%patch38 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/riscv-abi-check.patch b/riscv-abi-check.patch new file mode 100644 index 0000000..451159b --- /dev/null +++ b/riscv-abi-check.patch @@ -0,0 +1,69 @@ +2019-04-02 Jim Wilson + + PR 24389 + * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of + ELF header flags to after check for ELF object file. Loop through + sections looking for code sections, if none, then skip ABI checks. + +diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c +index dba1025994f..964b6bdcbcc 100644 +--- a/bfd/elfnn-riscv.c ++++ b/bfd/elfnn-riscv.c +@@ -3086,8 +3086,7 @@ static bfd_boolean + _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) + { + bfd *obfd = info->output_bfd; +- flagword new_flags = elf_elfheader (ibfd)->e_flags; +- flagword old_flags = elf_elfheader (obfd)->e_flags; ++ flagword new_flags, old_flags; + + if (!is_riscv_elf (ibfd) || !is_riscv_elf (obfd)) + return TRUE; +@@ -3107,6 +3106,9 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) + if (!riscv_merge_attributes (ibfd, info)) + return FALSE; + ++ new_flags = elf_elfheader (ibfd)->e_flags; ++ old_flags = elf_elfheader (obfd)->e_flags; ++ + if (! elf_flags_init (obfd)) + { + elf_flags_init (obfd) = TRUE; +@@ -3114,6 +3116,34 @@ _bfd_riscv_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) + return TRUE; + } + ++ /* Check to see if the input BFD actually contains any sections. If not, ++ its flags may not have been initialized either, but it cannot actually ++ cause any incompatibility. Do not short-circuit dynamic objects; their ++ section list may be emptied by elf_link_add_object_symbols. ++ ++ Also check to see if there are no code sections in the input. In this ++ case, there is no need to check for code specific flags. */ ++ if (!(ibfd->flags & DYNAMIC)) ++ { ++ bfd_boolean null_input_bfd = TRUE; ++ bfd_boolean only_data_sections = TRUE; ++ asection *sec; ++ ++ for (sec = ibfd->sections; sec != NULL; sec = sec->next) ++ { ++ if ((bfd_get_section_flags (ibfd, sec) ++ & (SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS)) ++ == (SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS)) ++ only_data_sections = FALSE; ++ ++ null_input_bfd = FALSE; ++ break; ++ } ++ ++ if (null_input_bfd || only_data_sections) ++ return TRUE; ++ } ++ + /* Disallow linking different float ABIs. */ + if ((old_flags ^ new_flags) & EF_RISCV_FLOAT_ABI) + { +-- +2.21.0 +