Accepting request 175586 from home:Andreas_Schwab:Factory

- Tell bfd ELF backend that aarch64 defaults to non-exec stack

OBS-URL: https://build.opensuse.org/request/show/175586
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=127
This commit is contained in:
Richard Biener 2013-05-15 08:15:18 +00:00 committed by Git OBS Bridge
parent 1b21a4661a
commit f530317ce0
37 changed files with 151 additions and 0 deletions

25
aarch64-execstack.patch Normal file
View File

@ -0,0 +1,25 @@
From 13cfe5d13f05b3887fb1e1827dd0834f6a109637 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Tue, 14 May 2013 17:12:55 +0200
Subject: [PATCH] Define elf_backend_default_execstack to 0 for aarch64
* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.
---
bfd/elf64-aarch64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c
index e3cae95..aef472f 100644
--- a/bfd/elf64-aarch64.c
+++ b/bfd/elf64-aarch64.c
@@ -7181,6 +7181,7 @@ const struct elf_size_info elf64_aarch64_size_info =
#define elf_backend_may_use_rela_p 1
#define elf_backend_default_use_rela_p 1
#define elf_backend_got_header_size (GOT_ENTRY_SIZE * 3)
+#define elf_backend_default_execstack 0
#undef elf_backend_obj_attrs_section
#define elf_backend_obj_attrs_section ".ARM.attributes"
--
1.8.2.3

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -100,6 +100,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 14 15:31:59 UTC 2013 - schwab@suse.de
- Tell bfd ELF backend that aarch64 defaults to non-exec stack
-------------------------------------------------------------------
Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com

View File

@ -103,6 +103,7 @@ Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch103: aarch64-execstack.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch22
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h