SHA256
1
0
forked from pool/binutils

Accepting request 338990 from home:Andreas_Schwab:Factory

- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
  aarch64

OBS-URL: https://build.opensuse.org/request/show/338990
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=196
This commit is contained in:
Michael Matz 2015-10-14 14:38:50 +00:00 committed by Git OBS Bridge
parent e79c7d734f
commit 39979f8a31
44 changed files with 441 additions and 0 deletions

View File

@ -0,0 +1,56 @@
Change default common-page-size to 64K on aarch64. This enables the use
of RELRO since we are using 64K pages.
Index: binutils-2.25.0/bfd/elfnn-aarch64.c
===================================================================
--- binutils-2.25.0.orig/bfd/elfnn-aarch64.c
+++ binutils-2.25.0/bfd/elfnn-aarch64.c
@@ -7945,7 +7945,7 @@ const struct elf_size_info elfNN_aarch64
#define ELF_MACHINE_CODE EM_AARCH64
#define ELF_MAXPAGESIZE 0x10000
#define ELF_MINPAGESIZE 0x1000
-#define ELF_COMMONPAGESIZE 0x1000
+#define ELF_COMMONPAGESIZE 0x10000
#define bfd_elfNN_close_and_cleanup \
elfNN_aarch64_close_and_cleanup
Index: binutils-2.25.0/gold/aarch64.cc
===================================================================
--- binutils-2.25.0.orig/gold/aarch64.cc
+++ binutils-2.25.0/gold/aarch64.cc
@@ -791,7 +791,7 @@ const Target::Target_info Target_aarch64
"/lib/ld.so.1", // program interpreter
0x400000, // default_text_segment_address
0x10000, // abi_pagesize (overridable by -z max-page-size)
- 0x1000, // common_pagesize (overridable by -z common-page-size)
+ 0x10000, // common_pagesize (overridable by -z common-page-size)
false, // isolate_execinstr
0, // rosegment_gap
elfcpp::SHN_UNDEF, // small_common_shndx
@@ -818,7 +818,7 @@ const Target::Target_info Target_aarch64
"/lib/ld.so.1", // program interpreter
0x400000, // default_text_segment_address
0x10000, // abi_pagesize (overridable by -z max-page-size)
- 0x1000, // common_pagesize (overridable by -z common-page-size)
+ 0x10000, // common_pagesize (overridable by -z common-page-size)
false, // isolate_execinstr
0, // rosegment_gap
elfcpp::SHN_UNDEF, // small_common_shndx
@@ -845,7 +845,7 @@ const Target::Target_info Target_aarch64
"/lib/ld.so.1", // program interpreter
0x400000, // default_text_segment_address
0x10000, // abi_pagesize (overridable by -z max-page-size)
- 0x1000, // common_pagesize (overridable by -z common-page-size)
+ 0x10000, // common_pagesize (overridable by -z common-page-size)
false, // isolate_execinstr
0, // rosegment_gap
elfcpp::SHN_UNDEF, // small_common_shndx
@@ -872,7 +872,7 @@ const Target::Target_info Target_aarch64
"/lib/ld.so.1", // program interpreter
0x400000, // default_text_segment_address
0x10000, // abi_pagesize (overridable by -z max-page-size)
- 0x1000, // common_pagesize (overridable by -z common-page-size)
+ 0x10000, // common_pagesize (overridable by -z common-page-size)
false, // isolate_execinstr
0, // rosegment_gap
elfcpp::SHN_UNDEF, // small_common_shndx

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -104,6 +104,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -186,6 +188,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de
- s390-troo-insn-type.patch: fix wrong insn type for troo insn
- aarch64-common-pagesize.patch: change default common-page-size to 64K on
aarch64
-------------------------------------------------------------------
Thu Oct 1 10:35:13 UTC 2015 - schwab@suse.de

View File

@ -107,6 +107,8 @@ Patch29: 0003-S-390-Add-more-IBM-z13-instructions.patch
Patch30: 0004-S-390-Fixes-for-z13-instructions.patch
Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch
Patch32: gold-arm64-abi-pagesize.patch
Patch33: s390-troo-insn-type.patch
Patch34: aarch64-common-pagesize.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -189,6 +191,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

154
s390-troo-insn-type.patch Normal file
View File

@ -0,0 +1,154 @@
From c46eb7b88a1261bc079bfbe2339060152bdf3527 Mon Sep 17 00:00:00 2001
From: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Date: Wed, 14 Oct 2015 10:58:41 +0200
Subject: [PATCH] S/390: Fix instruction type of troo, trot, trto, and trtt.
opcodes/ChangeLog:
2015-10-14 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* s390-opc.c: Fix comment.
* s390-opc.txt: Change instruction type for troo, trot, trto, and
trtt to RRF_U0RER since the second parameter does not need to be a
register pair.
gas/testsuite/ChangeLog:
2015-10-14 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gas/s390/esa-g5.d: Use odd GPR for the second operand.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/esa-z9-109.d: Likewise.
* gas/s390/esa-z9-109.s: Likewise.
---
gas/testsuite/gas/s390/esa-g5.d | 8 ++++----
gas/testsuite/gas/s390/esa-g5.s | 8 ++++----
gas/testsuite/gas/s390/esa-z9-109.d | 16 ++++++++--------
gas/testsuite/gas/s390/esa-z9-109.s | 16 ++++++++--------
opcodes/s390-opc.c | 2 +-
opcodes/s390-opc.txt | 8 ++++----
6 files changed, 29 insertions(+), 29 deletions(-)
Index: binutils-2.25.0/gas/testsuite/gas/s390/esa-g5.d
===================================================================
--- binutils-2.25.0.orig/gas/testsuite/gas/s390/esa-g5.d
+++ binutils-2.25.0/gas/testsuite/gas/s390/esa-g5.d
@@ -464,11 +464,11 @@ Disassembly of section .text:
.*: 01 ff [ ]*trap2
.*: b2 ff 5f ff [ ]*trap4 4095\(%r5\)
.*: b2 a5 00 69 [ ]*tre %r6,%r9
-.*: b9 93 00 68 [ ]*troo %r6,%r8
-.*: b9 92 00 68 [ ]*trot %r6,%r8
+.*: b9 93 00 69 [ ]*troo %r6,%r9
+.*: b9 92 00 69 [ ]*trot %r6,%r9
.*: dd ff 5f ff af ff [ ]*trt 4095\(256,%r5\),4095\(%r10\)
-.*: b9 91 00 68 [ ]*trto %r6,%r8
-.*: b9 90 00 68 [ ]*trtt %r6,%r8
+.*: b9 91 00 69 [ ]*trto %r6,%r9
+.*: b9 90 00 69 [ ]*trtt %r6,%r9
.*: 93 00 5f ff [ ]*ts 4095\(%r5\)
.*: b2 35 5f ff [ ]*tsch 4095\(%r5\)
.*: f3 58 5f ff af ff [ ]*unpk 4095\(6,%r5\),4095\(9,%r10\)
Index: binutils-2.25.0/gas/testsuite/gas/s390/esa-g5.s
===================================================================
--- binutils-2.25.0.orig/gas/testsuite/gas/s390/esa-g5.s
+++ binutils-2.25.0/gas/testsuite/gas/s390/esa-g5.s
@@ -458,11 +458,11 @@ foo:
trap2
trap4 4095(%r5)
tre %r6,%r9
- troo %r6,%r8
- trot %r6,%r8
+ troo %r6,%r9
+ trot %r6,%r9
trt 4095(256,%r5),4095(%r10)
- trto %r6,%r8
- trtt %r6,%r8
+ trto %r6,%r9
+ trtt %r6,%r9
ts 4095(%r5)
tsch 4095(%r5)
unpk 4095(6,%r5),4095(9,%r10)
Index: binutils-2.25.0/gas/testsuite/gas/s390/esa-z9-109.d
===================================================================
--- binutils-2.25.0.orig/gas/testsuite/gas/s390/esa-z9-109.d
+++ binutils-2.25.0/gas/testsuite/gas/s390/esa-z9-109.d
@@ -6,12 +6,12 @@
Disassembly of section .text:
.* <foo>:
-.*: b9 93 f0 68 [ ]*troo %r6,%r8,15
-.*: b9 93 00 68 [ ]*troo %r6,%r8
-.*: b9 92 f0 68 [ ]*trot %r6,%r8,15
-.*: b9 92 00 68 [ ]*trot %r6,%r8
-.*: b9 91 f0 68 [ ]*trto %r6,%r8,15
-.*: b9 91 00 68 [ ]*trto %r6,%r8
-.*: b9 90 f0 68 [ ]*trtt %r6,%r8,15
-.*: b9 90 00 68 [ ]*trtt %r6,%r8
+.*: b9 93 f0 69 [ ]*troo %r6,%r9,15
+.*: b9 93 00 69 [ ]*troo %r6,%r9
+.*: b9 92 f0 69 [ ]*trot %r6,%r9,15
+.*: b9 92 00 69 [ ]*trot %r6,%r9
+.*: b9 91 f0 69 [ ]*trto %r6,%r9,15
+.*: b9 91 00 69 [ ]*trto %r6,%r9
+.*: b9 90 f0 69 [ ]*trtt %r6,%r9,15
+.*: b9 90 00 69 [ ]*trtt %r6,%r9
.*: b2 2b 00 69 [ ]*sske %r6,%r9
Index: binutils-2.25.0/gas/testsuite/gas/s390/esa-z9-109.s
===================================================================
--- binutils-2.25.0.orig/gas/testsuite/gas/s390/esa-z9-109.s
+++ binutils-2.25.0/gas/testsuite/gas/s390/esa-z9-109.s
@@ -1,13 +1,13 @@
.text
foo:
- troo %r6,%r8,15
- troo %r6,%r8
- trot %r6,%r8,15
- trot %r6,%r8
- trto %r6,%r8,15
- trto %r6,%r8
- trtt %r6,%r8,15
- trtt %r6,%r8
+ troo %r6,%r9,15
+ troo %r6,%r9
+ trot %r6,%r9,15
+ trot %r6,%r9
+ trto %r6,%r9,15
+ trto %r6,%r9
+ trtt %r6,%r9,15
+ trtt %r6,%r9
# z9-109 z/Architecture mode extended sske with an additional parameter
# make sure the old version still works for esa
sske %r6,%r9
Index: binutils-2.25.0/opcodes/s390-opc.c
===================================================================
--- binutils-2.25.0.orig/opcodes/s390-opc.c
+++ binutils-2.25.0/opcodes/s390-opc.c
@@ -372,7 +372,7 @@ const struct s390_operand s390_operands[
#define INSTR_RRF_FEFERU 4, { FE_24,FE_16,R_28,U4_20,0,0 } /* e.g. rrxtr */
#define INSTR_RRF_U0RR 4, { R_24,R_28,U4_16,0,0,0 } /* e.g. sske */
#define INSTR_RRF_U0RER 4, { RE_24,R_28,U4_16,0,0,0 } /* e.g. trte */
-#define INSTR_RRF_U0RERE 4, { RE_24,RE_28,U4_16,0,0,0 } /* e.g. troo */
+#define INSTR_RRF_U0RERE 4, { RE_24,RE_28,U4_16,0,0,0 } /* e.g. cu24 */
#define INSTR_RRF_00RR 4, { R_24,R_28,0,0,0,0 } /* e.g. clrtne */
#define INSTR_RRF_UUFR 4, { F_24,U4_16,R_28,U4_20,0,0 } /* e.g. cdgtra */
#define INSTR_RRF_UUFER 4, { FE_24,U4_16,R_28,U4_20,0,0 } /* e.g. cxfbra */
Index: binutils-2.25.0/opcodes/s390-opc.txt
===================================================================
--- binutils-2.25.0.orig/opcodes/s390-opc.txt
+++ binutils-2.25.0/opcodes/s390-opc.txt
@@ -767,10 +767,10 @@ b9aa lptea RRF_RURR2 "load page-table-en
# z9-109 conditional sske facility, sske instruction entered twice
b22b sske RRF_U0RR "set storage key extended" z9-109 zarch optparm
# z9-109 etf2-enhancement facility, instructions entered twice
-b993 troo RRF_U0RERE "translate one to one" z9-109 esa,zarch optparm
-b992 trot RRF_U0RERE "translate one to two" z9-109 esa,zarch optparm
-b991 trto RRF_U0RERE "translate two to one" z9-109 esa,zarch optparm
-b990 trtt RRF_U0RERE "translate two to two" z9-109 esa,zarch optparm
+b993 troo RRF_U0RER "translate one to one" z9-109 esa,zarch optparm
+b992 trot RRF_U0RER "translate one to two" z9-109 esa,zarch optparm
+b991 trto RRF_U0RER "translate two to one" z9-109 esa,zarch optparm
+b990 trtt RRF_U0RER "translate two to two" z9-109 esa,zarch optparm
# z9-109 etf3-enhancement facility, some instructions entered twice
b9b1 cu24 RRF_U0RERE "convert utf-16 to utf-32" z9-109 zarch optparm
b2a6 cu21 RRF_U0RERE "convert utf-16 to utf-8" z9-109 zarch optparm