auto-import binutils-2.13.90.0.4-1 from binutils-2.13.90.0.4-1.src.rpm

This commit is contained in:
cvsdist 2004-09-09 03:33:59 +00:00
parent 3332ba6b98
commit c577f96c15
3 changed files with 58 additions and 15 deletions

View File

@ -1 +1 @@
binutils-2.13.90.0.2.tar.bz2 binutils-2.13.90.0.4.tar.bz2

View File

@ -1,15 +1,21 @@
Summary: A GNU collection of binary utilities. Summary: A GNU collection of binary utilities.
Name: binutils Name: binutils
Version: 2.13.90.0.2 Version: 2.13.90.0.4
Release: 2 Release: 1
Copyright: GPL Copyright: GPL
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2 Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
Patch1: binutils-2.13.90.0.2-glibc21.patch Patch1: binutils-2.13.90.0.4-glibc21.patch
Patch2: binutils-2.11.93.0.2-sparc-nonpic.patch Patch2: binutils-2.11.93.0.2-sparc-nonpic.patch
Patch3: binutils-2.13.90.0.2-gotpc.patch Patch5: binutils-2.13.90.0.4-ntpoff.patch
Patch4: binutils-2.13.90.0.2-tpoff32.patch Patch6: binutils-2.13.90.0.4-ppc-rela.patch
Patch7: binutils-2.13.90.0.4-tls-assert.patch
Patch8: binutils-2.13.90.0.4-tpoff32-2.patch
Patch9: binutils-2.13.90.0.4-tls-fixes.patch
Patch10: binutils-2.13.90.0.4-ia64-brl.patch
Patch11: binutils-2.13.90.0.4-ia64-pcrel21m.patch
Patch12: binutils-2.13.90.0.4-jumbo.patch
Buildroot: /var/tmp/binutils-root Buildroot: /var/tmp/binutils-root
BuildRequires: texinfo >= 4.0, dejagnu BuildRequires: texinfo >= 4.0, dejagnu
@ -34,16 +40,24 @@ addresses to file and line).
%prep %prep
%setup -q %setup -q
%patch1 -p0 -b .glibc21 %patch1 -p0 -b .glibc21~
cp -a ld/Makefile.in ld/Makefile.in.tmp cp -a ld/Makefile.in ld/Makefile.in.tmp
sed '/^ALL_EMULATIONS/s/eelf_i386_chaos.o/eelf_i386_chaos.o eelf_i386_glibc21.o/' ld/Makefile.in.tmp > ld/Makefile.in sed '/^ALL_EMULATIONS/s/eelf_i386_chaos.o/eelf_i386_chaos.o eelf_i386_glibc21.o/' ld/Makefile.in.tmp > ld/Makefile.in
rm ld/Makefile.in.tmp rm ld/Makefile.in.tmp
%patch2 -p0 -b .sparc-nonpic %patch2 -p0 -b .sparc-nonpic~
%patch3 -p0 -b .gotpc %patch5 -p0 -b .ntpoff~
%patch4 -p0 -b .tpoff32 %patch6 -p0 -b .ppc-rela~
%patch7 -p0 -b .tls-assert~
%patch8 -p0 -b .tpoff32-2~
%patch9 -p0 -b .tls-fixes~
%patch10 -p0 -b .ia64-brl~
%patch11 -p0 -b .ia64-pcrel21m~
%patch12 -p0 -b .jumbo~
%build %build
CFLAGS="${CFLAGS:-%optflags}" ./configure \ mkdir build-%{_target_platform}
cd build-%{_target_platform}
CFLAGS="${CFLAGS:-%optflags}" ../configure \
%{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \ %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \ --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
@ -54,18 +68,19 @@ make tooldir=%{_prefix} all info
echo ====================TESTING========================= echo ====================TESTING=========================
make -k check || : make -k check || :
echo ====================TESTING END===================== echo ====================TESTING END=====================
cd ..
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_prefix} mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
cd build-%{_target_platform}
%makeinstall %makeinstall
make prefix=${RPM_BUILD_ROOT}%{_prefix} infodir=${RPM_BUILD_ROOT}%{_infodir} install-info make prefix=${RPM_BUILD_ROOT}%{_prefix} infodir=${RPM_BUILD_ROOT}%{_infodir} install-info
strip ${RPM_BUILD_ROOT}%{_prefix}/bin/* strip ${RPM_BUILD_ROOT}%{_prefix}/bin/*
gzip -q9f ${RPM_BUILD_ROOT}%{_infodir}/*.info* gzip -q9f ${RPM_BUILD_ROOT}%{_infodir}/*.info*
#install -m 644 libiberty/libiberty.a ${RPM_BUILD_ROOT}%{_prefix}/%{_lib} #install -m 644 libiberty/libiberty.a ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}
install -m 644 include/libiberty.h ${RPM_BUILD_ROOT}%{_prefix}/include install -m 644 ../include/libiberty.h ${RPM_BUILD_ROOT}%{_prefix}/include
# Remove Windows/Novell only man pages # Remove Windows/Novell only man pages
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/{dlltool,nlmconv,windres}* rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/{dlltool,nlmconv,windres}*
@ -74,6 +89,17 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
# This one comes from gcc # This one comes from gcc
rm -f ${RPM_BUILD_ROOT}%{_prefix}/bin/c++filt rm -f ${RPM_BUILD_ROOT}%{_prefix}/bin/c++filt
cd ..
%find_lang binutils
%find_lang opcodes
%find_lang bfd
%find_lang gas
%find_lang ld
cat opcodes.lang >> binutils.lang
cat bfd.lang >> binutils.lang
cat gas.lang >> binutils.lang
cat ld.lang >> binutils.lang
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -98,7 +124,7 @@ fi
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files -f binutils.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc README %doc README
%{_prefix}/bin/* %{_prefix}/bin/*
@ -108,6 +134,23 @@ fi
%{_infodir}/*info* %{_infodir}/*info*
%changelog %changelog
* Tue Oct 1 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-1
- update to 2.13.90.0.4
- x86-64 TLS support
- some IA-32 TLS fixes
- some backported patches from trunk
- include opcodes, ld, gas and bfd l10n too
* Thu Sep 19 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-3
- allow addends for IA-32 TLS @tpoff, @ntpoff and @dtpoff
- clear memory at *r_offset of dynamic relocs on PPC
- avoid ld crash if accessing non-local symbols through LE relocs
- new IA-32 TLS relocs, bugfixes and testcases
- use brl insn on IA-64 (Richard Henderson)
- fix R_IA64_PCREL21{M,F} handling (Richard Henderson)
- build in separate builddir, so that gasp tests don't fail
- include localization
* Thu Aug 8 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-2 * Thu Aug 8 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-2
- fix R_386_TPOFF32 addends (#70824) - fix R_386_TPOFF32 addends (#70824)

View File

@ -1 +1 @@
065a6e86bbe4ac937e8d9c7bb3f8bdcc binutils-2.13.90.0.2.tar.bz2 afe2cc264f9a263e93d28a279d9ebb8a binutils-2.13.90.0.4.tar.bz2