From 6fbc9527bcbdf8d41721f0c662963a9aef927ee2f8377b88f4162ee613e82adc Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 3 Jan 2012 14:43:51 +0000 Subject: [PATCH] - Add patch to fix build-id issues. [bso#12451] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=79 --- binutils.changes | 5 +++ binutils.spec | 4 ++- bso12451.diff | 68 +++++++++++++++++++++++++++++++++++ cross-alpha-binutils.changes | 5 +++ cross-alpha-binutils.spec | 4 ++- cross-arm-binutils.changes | 5 +++ cross-arm-binutils.spec | 4 ++- cross-hppa-binutils.changes | 5 +++ cross-hppa-binutils.spec | 4 ++- cross-hppa64-binutils.changes | 5 +++ cross-hppa64-binutils.spec | 4 ++- cross-i386-binutils.changes | 5 +++ cross-i386-binutils.spec | 4 ++- cross-ia64-binutils.changes | 5 +++ cross-ia64-binutils.spec | 4 ++- cross-mips-binutils.changes | 5 +++ cross-mips-binutils.spec | 4 ++- cross-ppc-binutils.changes | 5 +++ cross-ppc-binutils.spec | 4 ++- cross-ppc64-binutils.changes | 5 +++ cross-ppc64-binutils.spec | 4 ++- cross-s390-binutils.changes | 5 +++ cross-s390-binutils.spec | 4 ++- cross-s390x-binutils.changes | 5 +++ cross-s390x-binutils.spec | 4 ++- cross-sparc-binutils.changes | 5 +++ cross-sparc-binutils.spec | 4 ++- cross-spu-binutils.changes | 5 +++ cross-spu-binutils.spec | 4 ++- cross-x86_64-binutils.changes | 5 +++ cross-x86_64-binutils.spec | 4 ++- 31 files changed, 188 insertions(+), 15 deletions(-) create mode 100644 bso12451.diff diff --git a/binutils.changes b/binutils.changes index 3fb8024..ad8ec19 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/binutils.spec b/binutils.spec index 82b891c..3b8338c 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -303,6 +304,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/bso12451.diff b/bso12451.diff new file mode 100644 index 0000000..77fcc64 --- /dev/null +++ b/bso12451.diff @@ -0,0 +1,68 @@ + PR ld/12451 + * elfcode.h (elf_checksum_contents): Read in the section's + contents if they are not already available. + * compress.c (bfd_get_full_section_contents): Use zmalloc to + allocate the buffers so that excess bytes are guaranteed to be + zero. + +=================================================================== +RCS file: /cvs/src/src/bfd/elfcode.h,v +retrieving revision 1.109 +retrieving revision 1.110 +diff -u -r1.109 -r1.110 +--- src/bfd/elfcode.h 2011/06/06 01:26:01 1.109 ++++ src/bfd/elfcode.h 2011/12/14 11:50:13 1.110 +@@ -1097,8 +1097,28 @@ + elf_swap_shdr_out (abfd, &i_shdr, &x_shdr); + (*process) (&x_shdr, sizeof x_shdr, arg); + ++ /* PR ld/12451: ++ Process the section's contents; reading them in if necessary. */ + if (i_shdr.contents) + (*process) (i_shdr.contents, i_shdr.sh_size, arg); ++ else ++ { ++ asection *sec; ++ ++ sec = bfd_section_from_elf_index (abfd, count); ++ if (sec != NULL) ++ { ++ if (sec->contents == NULL) ++ { ++ /* Force rereading from file. */ ++ sec->flags &= ~SEC_IN_MEMORY; ++ if (! bfd_malloc_and_get_section (abfd, sec, & sec->contents)) ++ continue; ++ } ++ if (sec->contents != NULL) ++ (*process) (sec->contents, i_shdr.sh_size, arg); ++ } ++ } + } + + return TRUE; +=================================================================== +RCS file: /cvs/src/src/bfd/compress.c,v +retrieving revision 1.9 +retrieving revision 1.10 +diff -u -r1.9 -r1.10 +--- src/bfd/compress.c 2011/04/11 04:08:12 1.9 ++++ src/bfd/compress.c 2011/12/14 11:50:13 1.10 +@@ -181,7 +181,7 @@ + case COMPRESS_SECTION_NONE: + if (p == NULL) + { +- p = (bfd_byte *) bfd_malloc (sz); ++ p = (bfd_byte *) bfd_zmalloc (sz); + if (p == NULL) + return FALSE; + } +@@ -221,7 +221,7 @@ + if (!ret) + goto fail_compressed; + +- uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size); ++ uncompressed_buffer = (bfd_byte *) bfd_zmalloc (uncompressed_size); + if (uncompressed_buffer == NULL) + goto fail_compressed; + diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 3fb8024..ad8ec19 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 6a1f725..20bad47 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-alpha-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index baee56d..f58c9b5 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index b429ac2..1a50d79 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 03ce4bc..754d71e 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 0704b54..bf74c4a 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 32a7435..d5fe381 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 15f8c9b..89a9ec9 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index d7027bb..7a41768 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 837fc75..f3a3e9d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 37fbe5e..2a33d3e 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index ed202c7..4bda7f4 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 23e8e08..fe3dbef 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index e34465c..2e856f8 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -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 3fb8024..ad8ec19 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + ------------------------------------------------------------------- Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 3ffab5f..18d36ea 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -90,6 +90,7 @@ Patch11: use-hashtype-both-by-default.diff Patch14: binutils-build-as-needed.diff Patch15: fixup-testcase-perturb.diff Patch18: gold-depend-on-opcodes.diff +Patch19: bso12451.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -275,6 +276,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch15 %patch18 +%patch19 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90