From 0eb57ffd55f2dc3803001c0ab9552e87c616501f7add8d173fc7f2cf91a8b713 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 23 Apr 2019 12:27:05 +0000 Subject: [PATCH] Accepting request 697019 from home:marxin:branches:devel:gcc - Add rx-gas-padding-pr24464.patch: fix for PR24464. OBS-URL: https://build.opensuse.org/request/show/697019 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=302 --- binutils.changes | 5 ++ binutils.spec | 2 + cross-aarch64-binutils.changes | 5 ++ cross-aarch64-binutils.spec | 2 + cross-arm-binutils.changes | 5 ++ cross-arm-binutils.spec | 2 + cross-avr-binutils.changes | 5 ++ cross-avr-binutils.spec | 2 + cross-epiphany-binutils.changes | 5 ++ cross-epiphany-binutils.spec | 2 + cross-hppa-binutils.changes | 5 ++ cross-hppa-binutils.spec | 2 + cross-hppa64-binutils.changes | 5 ++ cross-hppa64-binutils.spec | 2 + cross-i386-binutils.changes | 5 ++ cross-i386-binutils.spec | 2 + cross-ia64-binutils.changes | 5 ++ cross-ia64-binutils.spec | 2 + cross-m68k-binutils.changes | 5 ++ cross-m68k-binutils.spec | 2 + cross-mips-binutils.changes | 5 ++ cross-mips-binutils.spec | 2 + cross-ppc-binutils.changes | 5 ++ cross-ppc-binutils.spec | 2 + cross-ppc64-binutils.changes | 5 ++ cross-ppc64-binutils.spec | 2 + cross-ppc64le-binutils.changes | 5 ++ cross-ppc64le-binutils.spec | 2 + cross-riscv64-binutils.changes | 5 ++ cross-riscv64-binutils.spec | 2 + cross-rx-binutils.changes | 5 ++ cross-rx-binutils.spec | 2 + cross-s390-binutils.changes | 5 ++ cross-s390-binutils.spec | 2 + cross-s390x-binutils.changes | 5 ++ cross-s390x-binutils.spec | 2 + cross-sparc-binutils.changes | 5 ++ cross-sparc-binutils.spec | 2 + cross-sparc64-binutils.changes | 5 ++ cross-sparc64-binutils.spec | 2 + cross-spu-binutils.changes | 5 ++ cross-spu-binutils.spec | 2 + cross-x86_64-binutils.changes | 5 ++ cross-x86_64-binutils.spec | 2 + rx-gas-padding-pr24464.patch | 87 +++++++++++++++++++++++++++++++++ 45 files changed, 241 insertions(+) create mode 100644 rx-gas-padding-pr24464.patch diff --git a/binutils.changes b/binutils.changes index aa2741c..46de8b0 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/binutils.spec b/binutils.spec index d5fe1f4..bc56b53 100644 --- a/binutils.spec +++ b/binutils.spec @@ -95,6 +95,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 9ad9054..8b93d5f 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 3f1ca32..d6d5baa 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 0f74e21..67953c6 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 34c3e47..c99def2 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 54cca82..1b642f0 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index ffadbb0..9a58723 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index c415ddf..138b9f5 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 500f1a4..b3101aa 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 70c23c9..d0d5173 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 7e9194a..81d111f 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index efdf88a..5a74143 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 388ae3e..917ab12 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index fc4d1c9..2554130 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 9cfb678..75e50f4 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index bf2de52..d4bdaf3 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 796b5b0..8742c34 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index f4e98a7..3945fc8 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index f02108d..c4caae0 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 8dc04bb..0e5e147 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 2847939..f8ccee5 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -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 aa2741c..46de8b0 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 07:46:10 UTC 2019 - Martin Liška + +- Add rx-gas-padding-pr24464.patch: fix for PR24464. + ------------------------------------------------------------------- Wed Apr 3 14:00:22 UTC 2019 - Andreas Schwab diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 0359b3d..3b7ef58 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -98,6 +98,7 @@ Patch34: aarch64-common-pagesize.patch Patch36: binutils-pr22868.diff Patch37: binutils-revert-plt32-in-branches.diff Patch38: riscv-abi-check.patch +Patch39: rx-gas-padding-pr24464.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch37 -p1 %endif %patch38 -p1 +%patch39 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/rx-gas-padding-pr24464.patch b/rx-gas-padding-pr24464.patch new file mode 100644 index 0000000..076f498 --- /dev/null +++ b/rx-gas-padding-pr24464.patch @@ -0,0 +1,87 @@ +From 5ce032bdfc60a8f44f6307b2297384c852100f95 Mon Sep 17 00:00:00 2001 +From: Nick Clifton +Date: Fri, 19 Apr 2019 10:39:47 +0100 +Subject: [PATCH] RX Assembler: Ensure that the internal limit on the number of + relaxation iterations is not larger that the external limit. + + PR 24464 + * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable + to the relaxation function. + * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum + number of iterations. Make sure that our internal iteration limit + does not exceed this external iteration limit. +--- + gas/ChangeLog | 9 +++++++++ + gas/config/tc-rx.c | 19 +++++++++++++------ + gas/config/tc-rx.h | 11 +++++++++-- + 3 files changed, 31 insertions(+), 8 deletions(-) + +diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c +index 8688837b31..6b19f2f397 100644 +--- a/gas/config/tc-rx.c ++++ b/gas/config/tc-rx.c +@@ -740,8 +740,8 @@ typedef struct rx_bytesT + int n_relax; + int link_relax; + fixS *link_relax_fixP; +- char times_grown; +- char times_shrank; ++ unsigned long times_grown; ++ unsigned long times_shrank; + } rx_bytesT; + + static rx_bytesT rx_bytes; +@@ -1558,7 +1558,7 @@ rx_next_opcode (fragS *fragP) + fr_subtype to calculate the difference. */ + + int +-rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) ++rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch, unsigned long max_iterations) + { + addressT addr0, sym_addr; + addressT mypc; +@@ -1755,9 +1755,16 @@ rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) + /* This prevents infinite loops in align-heavy sources. */ + if (newsize < oldsize) + { +- if (fragP->tc_frag_data->times_shrank > 10 +- && fragP->tc_frag_data->times_grown > 10) +- newsize = oldsize; ++ /* Make sure that our iteration limit is no bigger than the one being ++ used inside write.c:relax_segment(). Otherwise we can end up ++ iterating for too long, and triggering a fatal error there. See ++ PR 24464 for more details. */ ++ unsigned long limit = max_iterations > 10 ? 10 : max_iterations; ++ ++ if (fragP->tc_frag_data->times_shrank > limit ++ && fragP->tc_frag_data->times_grown > limit) ++ newsize = oldsize; ++ + if (fragP->tc_frag_data->times_shrank < 20) + fragP->tc_frag_data->times_shrank ++; + } +diff --git a/gas/config/tc-rx.h b/gas/config/tc-rx.h +index 09c50f9471..69302e565b 100644 +--- a/gas/config/tc-rx.h ++++ b/gas/config/tc-rx.h +@@ -54,8 +54,15 @@ + #define md_end rx_md_end + extern void rx_md_end (void); + +-#define md_relax_frag rx_relax_frag +-extern int rx_relax_frag (segT, fragS *, long); ++/* Note - the definition of MD_RELAX_FRAG here includes a reference to the ++ MAX_ITERATIONS variable which is defined locally in write.c:relax_segment() ++ but which is not normally passed to target specific relaxing code. This ++ reference is needed however as the number of iterations of the RX relaxing ++ code needs to be constrained by the maximum number of iterations allowed ++ by relax_segment(). See PR 24464 for more details. */ ++#define md_relax_frag(SEG, FRAGP, STRETCH) \ ++ rx_relax_frag ((SEG), (FRAGP), (STRETCH), max_iterations) ++extern int rx_relax_frag (segT, fragS *, long, unsigned long); + + #define TC_FRAG_TYPE struct rx_bytesT * + #define TC_FRAG_INIT rx_frag_init +-- +2.21.0 +