Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - AVR binutils
Summary(tr.UTF-8): GNU geliştirme araçları - AVR binutils
Name: crossavr-binutils
-Version: 2.22
-Release: 3
+Version: 2.23.1
+Release: 2
Epoch: 1
-Patch0: am.patch
-# Patches 1xx are taken form Atmel official AVR8-GNU toolchain version 3.4.1.830
-Patch100: 300-binutils-avr-size.patch
-Patch101: 301-binutils-avr-coff.patch
-Patch102: 302-binutils-as-dwarf.patch
-Patch103: 303-binutils-dwarf2-AVRStudio-workaround.patch
-Patch104: 304-binutils-bug13113.patch
-Patch105: 305-binutils-new-usb-insns.patch
-Patch106: 306-binutils-bug15573-AVRTC-419.patch
-Patch107: 307-binutils-fix-AVRTC-424.patch
-Patch108: 400-binutils-xmega.patch
-Patch109: 401-binutils-avrtiny10.patch
-Patch110: 402-binutils-at90pwm161.patch
-Patch111: 403-binutils-new-devices.patch
-Patch112: 404-binutils-attiny1634.patch
-Patch113: 405-binutils-atmega48pa.patch
-Patch114: 406-binutils-atxmega_16_32_a4u.patch
-Patch115: 407-binutils-atxmega64_128_192_256a3u.patch
-Patch116: 408-binutils-atmegarfr2_a2.patch
-Patch117: 409-binutils-atmega165pa.patch
-Patch118: 410-binutils-atxmega384c3.patch
-Patch119: 412-binutils-atxmega128a4u.patch
-Patch120: 413-binutils-atxmega64d4.patch
-Patch121: 414-binutils-atmega164pa_168pa_32a_64a.patch
-Patch122: 415-binutils-atxmega64_128_b3.patch
-Patch123: 416-binutils-atxmega64b1.patch
-Patch124: 417-binutils-atmega_8a_128a_1284.patch
-Patch125: 418-binutils-atxmega64a4u.patch
-Patch126: 419-binutils-atxmega128d4.patch
-Patch127: 420-binutils-atmxt336s.patch
-Patch128: 421-binutils-atxmega16c4_32c4_128c3_256c3.patch
-Patch129: 422-binutils-atxmega384d3.patch
-Patch130: 423-binutils-atmega48hvf.patch
-Patch131: 424-binutils-atmega26hvg.patch
-Patch132: 425-binutils-atmxt224_224e.patch
-Patch133: 426-binutils-atxmega192c3.patch
-Patch134: 427-binutils-atmxt112sl.patch
-Patch135: 428-binutils-atxmega64c3.patch
-Patch136: 429-binutils-ata6285_6286.patch
-Patch137: 430-binutils-attiny828.patch
-Patch138: 431-binutils-ata5790_5790N_5795.patch
-Patch139: 432-binutils-ata5272_5505.patch
-Patch140: 433-binutils-atmxt540s.patch
-Patch141: 434-binutils-ata5831.patch
-Patch142: 435-binutils-attiny841.patch
-Patch143: 436-binutils-atxmega32_16_8e5.patch
-Patch144: 500-binutils-bug13789.patch
-Patch145: 501-binutils-modify-usb-xmega-isa.patch
-Patch146: 502-binutils-add-config-section-tiny.patch
-Patch147: 503-binutils-avrtc193-tiny.patch
-Patch148: 504-binutils-avrtc530-backported.patch
-Patch149: 505-binutils-avrtc446.patch
-License: GPL
+License: GPL v3+
Group: Development/Tools
-Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
-# Source0-md5: ee0f10756c84979622b992a4a61ea3f5
+Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
+# Source0-md5: 33adb18c3048d057ac58d07a3f1adb38
+Patch0: am.patch
+# Patches 1xx are taken form Atmel official AVR8-GNU toolchain version 3.4.2
+# http://distribute.atmel.no/tools/opensource/Atmel-AVR-Toolchain-3.4.2/avr/avr-patches.tar.gz
+Patch100: 001-xmega-Makefile_am-typo.patch
+Patch101: 002-tinycore-support.patch
+Patch102: 003-RMW-insn-constriant.patch
+Patch103: 004-new-part-supports.patch
+Patch104: 005-additional-part-supports.patch
+Patch105: 006-xmega-showuage-typo.patch
+Patch106: 007-ata6289-architecture-correction.patch
+Patch107: 008-add-usersig-section.patch
+Patch108: 009-dwarf-relax-fix.patch
+Patch109: 010-disable-demand-paging.patch
+Patch110: 200-binutils-avr-size.patch
+Patch111: 201-binutils-dwarf2-AVRStudio-workaround.patch
+Patch112: 202-binutils-bug13113.patch
+Patch113: 400-binutils-atmxt336s.patch
+Patch114: 401-binutils-atmega48hvf.patch
+Patch115: 402-binutils-atmega26hvg.patch
+Patch116: 403-binutils-atmxt224_224e.patch
+Patch117: 404-binutils-atmxt112sl.patch
+Patch118: 405-binutils-atmxt540s.patch
+Patch119: 406-binutils-ata5831.patch
+Patch120: 407-binutils-attiny841.patch
+Patch121: 408-binutils-atmegarfa2.patch
+Patch122: 409-binutils-ata5790n.patch
+Patch123: 410-binutils-atmega64hve2.patch
+Patch124: 411-binutils-attiny474.patch
+Patch125: 412-binutils-atmxts200.patch
+Patch126: 500-binutils-avrtc530-backported.patch
URL: http://sources.redhat.com/binutils/
-BuildRequires: automake
+BuildRequires: autoconf >= 2.64
+BuildRequires: automake >= 1:1.9
BuildRequires: bash
BuildRequires: bison
BuildRequires: flex
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
BuildRequires: gcc-c++
BuildRequires: perl-tools-pod
BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define target avr
-%define arch %{_prefix}/%{target}
+%define archprefix %{_prefix}/%{target}
+%define archbindir %{archprefix}/bin
+%define archlibdir %{archprefix}/lib
%description
Binutils is a collection of binary utilities, including:
- strings - list printable strings from files,
- strip - discard symbols,
- c++filt - a filter for demangling encoded C++ symbols,
-- addr2line - convert addresses to file and line,
-- nlmconv - convert object code into an NLM.
+- addr2line - convert addresses to file and line.
This package contains the cross version for Atmel AVR.
%patch124 -p0
%patch125 -p0
%patch126 -p0
-%patch127 -p0
-%patch128 -p0
-%patch129 -p0
-%patch130 -p0
-%patch131 -p0
-%patch132 -p0
-%patch133 -p0
-%patch134 -p0
-%patch135 -p0
-%patch136 -p0
-%patch137 -p0
-%patch138 -p0
-%patch139 -p0
-%patch140 -p0
-%patch141 -p0
-%patch142 -p0
-%patch143 -p0
-%patch144 -p0
-%patch145 -p0
-%patch146 -p0
-%patch147 -p0
-%patch148 -p0
-%patch149 -p0
# Remove hacks for specific autoconf version.
echo > config/override.m4
CFLAGS="%{rpmcflags}" \
LDFLAGS="%{rpmldflags}" \
CONFIG_SHELL="/bin/bash" \
-%ifarch sparc
-sparc32 \
-%endif
./configure \
- --enable-gold \
- --disable-shared \
- --disable-werror \
+ MAKEINFO=/bin/true \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--host=%{_target_platform} \
--build=%{_target_platform} \
- --target=%{target}
+ --target=%{target} \
+ --enable-gold \
+ --disable-shared \
+ --disable-werror
# We have to regenerate headers after patching.
%{__make} configure-host \
install -d $RPM_BUILD_ROOT%{_prefix}
%{__make} install \
+ MAKEINFO=/bin/true \
prefix=$RPM_BUILD_ROOT%{_prefix} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
infodir=$RPM_BUILD_ROOT%{_infodir} \
# remove these man pages unless we cross-build for win*/netware platforms.
# however, this should be done in Makefiles.
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windmc,*windres}.1
+
+# rely on system locales and info documentation
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}
+%{__rm} -r $RPM_BUILD_ROOT%{_infodir}
-rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/*.mo
-rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
-rm -rf $RPM_BUILD_ROOT%{_infodir}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libiberty.a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/%{target}-*
-%dir %{arch}
-%dir %{arch}/bin
-%attr(755,root,root) %{arch}/bin/*
-%dir %{arch}/lib
-%dir %{arch}/lib/*
-%{arch}/lib/*/*
-%{_mandir}/man?/%{target}-*
+%attr(755,root,root) %{_bindir}/%{target}-addr2line
+%attr(755,root,root) %{_bindir}/%{target}-ar
+%attr(755,root,root) %{_bindir}/%{target}-as
+%attr(755,root,root) %{_bindir}/%{target}-c++filt
+%attr(755,root,root) %{_bindir}/%{target}-elfedit
+%attr(755,root,root) %{_bindir}/%{target}-gprof
+%attr(755,root,root) %{_bindir}/%{target}-ld
+%attr(755,root,root) %{_bindir}/%{target}-ld.bfd
+%attr(755,root,root) %{_bindir}/%{target}-nm
+%attr(755,root,root) %{_bindir}/%{target}-objcopy
+%attr(755,root,root) %{_bindir}/%{target}-objdump
+%attr(755,root,root) %{_bindir}/%{target}-ranlib
+%attr(755,root,root) %{_bindir}/%{target}-readelf
+%attr(755,root,root) %{_bindir}/%{target}-size
+%attr(755,root,root) %{_bindir}/%{target}-strings
+%attr(755,root,root) %{_bindir}/%{target}-strip
+%dir %{archprefix}
+%dir %{archbindir}
+%attr(755,root,root) %{archbindir}/ar
+%attr(755,root,root) %{archbindir}/as
+%attr(755,root,root) %{archbindir}/ld
+%attr(755,root,root) %{archbindir}/ld.bfd
+%attr(755,root,root) %{archbindir}/nm
+%attr(755,root,root) %{archbindir}/objcopy
+%attr(755,root,root) %{archbindir}/objdump
+%attr(755,root,root) %{archbindir}/ranlib
+%attr(755,root,root) %{archbindir}/strip
+%dir %{archlibdir}
+%{archlibdir}/ldscripts
+%{_mandir}/man1/%{target}-addr2line.1*
+%{_mandir}/man1/%{target}-ar.1*
+%{_mandir}/man1/%{target}-as.1*
+%{_mandir}/man1/%{target}-c++filt.1*
+%{_mandir}/man1/%{target}-elfedit.1*
+%{_mandir}/man1/%{target}-gprof.1*
+%{_mandir}/man1/%{target}-ld.1*
+%{_mandir}/man1/%{target}-nm.1*
+%{_mandir}/man1/%{target}-objcopy.1*
+%{_mandir}/man1/%{target}-objdump.1*
+%{_mandir}/man1/%{target}-ranlib.1*
+%{_mandir}/man1/%{target}-readelf.1*
+%{_mandir}/man1/%{target}-size.1*
+%{_mandir}/man1/%{target}-strings.1*
+%{_mandir}/man1/%{target}-strip.1*