SHA256
3
0
forked from pool/binutils

- Remove no longer applying AVR patch.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=107
This commit is contained in:
Richard Biener 2012-09-17 14:01:07 +00:00 committed by Git OBS Bridge
parent 93b6bf5c96
commit a4fc06d5f8
36 changed files with 54 additions and 105 deletions

View File

@ -6,6 +6,9 @@ cross version and pre_checkin.sh (called automatically by checkin too)
copies over the binutils.spec and changes the Name field, so you shouldn't
need to worry too much about the cross packages
Updating to some branch head:
> cvs -z 9 -d :pserver:anoncvs@stravinsky:/cvs/src export -r binutils-2_23-branch binutils
Thanks,
Stephan Kulow

View File

@ -1,38 +0,0 @@
===================================================================
RCS file: /cvs/src/src/bfd/elf32-avr.c,v
retrieving revision 1.51
retrieving revision 1.51.2.1
diff -u -r1.51 -r1.51.2.1
--- src/bfd/elf32-avr.c 2011/06/02 13:43:14 1.51
+++ src/bfd/elf32-avr.c 2012/02/01 17:07:37 1.51.2.1
@@ -1503,11 +1503,18 @@
bfd_vma symval;
bfd_vma shrinked_insn_address;
+ if (isec->reloc_count == 0)
+ continue;
+
shrinked_insn_address = (sec->output_section->vma
+ sec->output_offset + addr - count);
- irelend = elf_section_data (isec)->relocs + isec->reloc_count;
- for (irel = elf_section_data (isec)->relocs;
+ irel = elf_section_data (isec)->relocs;
+ /* PR 12161: Read in the relocs for this section if necessary. */
+ if (irel == NULL)
+ irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, FALSE);
+
+ for (irelend = irel + isec->reloc_count;
irel < irelend;
irel++)
{
@@ -1564,6 +1571,9 @@
/* else...Reference symbol is extern. No need for adjusting
the addend. */
}
+
+ if (elf_section_data (isec)->relocs == NULL)
+ free (irelend - isec->reloc_count);
}
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b7c97ff27e1600668f9b95000b3c842f4436373869a81187e86bec1aaa450d0
size 20850503

3
binutils-2.23.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:688ba087c74c248fd1968d99a0870160112ccb44f05c5407ff6bd9234470d6bb
size 19518002

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -97,7 +97,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -165,7 +164,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Fri Sep 14 12:07:49 UTC 2012 - rguenther@suse.com
Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com
- Update to binutils 2.23 release candidate.
- Remove no longer applying AVR patch.
-------------------------------------------------------------------
Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.22.90
Version: 2.23
Release: 0
#
# RUN_TESTS
@ -100,7 +100,6 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: avr-binutils-relocs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -168,7 +167,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
#%patch93 -p1
%endif
#
# test_vanilla