Accepting request 202682 from home:Andreas_Schwab:Factory

- pie-m68k.patch: Emit DT_DEBUG also for PIE

OBS-URL: https://build.opensuse.org/request/show/202682
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=145
This commit is contained in:
Richard Biener 2013-10-09 10:05:12 +00:00 committed by Git OBS Bridge
parent 3abd35a8ac
commit 8046d4ccfe
35 changed files with 137 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -95,6 +95,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de
- pie-m68k.patch: Emit DT_DEBUG also for PIE
-------------------------------------------------------------------
Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de

View File

@ -98,6 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -164,6 +165,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

18
pie-m68k.patch Normal file
View File

@ -0,0 +1,18 @@
2013-10-08 Andreas Schwab <schwab@suse.de>
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also
for PIE executables.
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index a46efb9..34dc75f 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -3367,7 +3367,7 @@ elf_m68k_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
#define add_dynamic_entry(TAG, VAL) \
_bfd_elf_add_dynamic_entry (info, TAG, VAL)
- if (!info->shared)
+ if (info->executable)
{
if (!add_dynamic_entry (DT_DEBUG, 0))
return FALSE;