diff --git a/binutils.changes b/binutils.changes index 264ba95..893038b 100644 --- a/binutils.changes +++ b/binutils.changes @@ -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 diff --git a/binutils.spec b/binutils.spec index 78876af..84bedf0 100644 --- a/binutils.spec +++ b/binutils.spec @@ -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 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 264ba95..893038b 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -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 diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 6b5cd70..a2aa9f0 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -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 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 264ba95..893038b 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -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 diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 35bf3f3..e2a4e72 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -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 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 264ba95..893038b 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -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 diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 93ad317..862bd0a 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -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 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 264ba95..893038b 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 73e49dc..406f48f 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -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 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 264ba95..893038b 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -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 diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 7117520..b41196e 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -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 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 264ba95..893038b 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -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 diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 539e425..df1c79a 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -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 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 264ba95..893038b 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -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 diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 51b660d..5a39977 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -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 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 264ba95..893038b 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -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 diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index afae33c..3902d8e 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -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 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 264ba95..893038b 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -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 diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 2505cf1..158f8d8 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -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 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 264ba95..893038b 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -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 diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 2cb7fc4..b2c3536 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -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 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 264ba95..893038b 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -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 diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 2a477a1..9f8629f 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -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 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 264ba95..893038b 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -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 diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 569f550..4ae2126 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -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 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 264ba95..893038b 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -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 diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 6c829be..03d6c49 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -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 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 264ba95..893038b 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -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 diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 3c86776..d71aa65 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -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 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 264ba95..893038b 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -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 diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index f14ec83..51778ed 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -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 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 264ba95..893038b 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -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 diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 27b95b3..47f85bb 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -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 diff --git a/pie-m68k.patch b/pie-m68k.patch new file mode 100644 index 0000000..3d4942d --- /dev/null +++ b/pie-m68k.patch @@ -0,0 +1,18 @@ +2013-10-08 Andreas Schwab + + * 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;