cvsdist 657305
Summary: A GNU collection of binary utilities.
cvsdist 657305
Name: binutils
cvsdist 3dd8df
Version: 2.11.90.0.27
cvsdist 386d83
Release: 0.05s.1
cvsdist 657305
Copyright: GPL
cvsdist 657305
Group: Development/Tools
cvsdist 657305
URL: http://sourceware.cygnus.com/binutils
cvsdist ca4e49
Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
cvsdist b6e926
Patch1: binutils-2.10.1.0.7-oformat.patch
cvsdist ca4e49
Patch2: binutils-2.11.90.0.4-glibc21.patch
cvsdist 3dd8df
Patch3: binutils-2.11.90.0.8-dynamic.patch
cvsdist ca4e49
Patch4: binutils-2.11.90.0.8-alpha.patch
cvsdist 3dd8df
Patch5: binutils-2.11.90.0.27-s390.patch 
cvsdist 3dd8df
Patch7: binutils-2.11.90.0.27-s390-1.patch
cvsdist 386d83
Patch8: binutils-2.11.90.0.27-s390-2.patch
cvsdist 657305
Buildroot: /var/tmp/binutils-root
cvsdist b6e926
Prereq: /sbin/install-info
cvsdist b6e926
%ifarch ia64
cvsdist b6e926
Obsoletes: gnupro
cvsdist b6e926
%endif
cvsdist 657305
cvsdist 657305
%description
cvsdist ca4e49
Binutils is a collection of binary utilities, including ar (for
cvsdist ca4e49
creating, modifying and extracting from archives), as (a family of GNU
cvsdist ca4e49
assemblers), gprof (for displaying call graph profile data), ld (the
cvsdist ca4e49
GNU linker), nm (for listing symbols from object files), objcopy (for
cvsdist ca4e49
copying and translating object files), objdump (for displaying
cvsdist ca4e49
information from object files), ranlib (for generating an index for
cvsdist ca4e49
the contents of an archive), size (for listing the section sizes of an
cvsdist ca4e49
object or archive file), strings (for listing printable strings from
cvsdist ca4e49
files), strip (for discarding symbols), and addr2line (for converting
cvsdist ca4e49
addresses to file and line).
cvsdist 657305
cvsdist 657305
%prep
cvsdist 657305
%setup -q
cvsdist b6e926
%patch1 -p0 -b .oformat
cvsdist 3dd8df
%patch5 -p1
cvsdist 3dd8df
%patch7 -p1
cvsdist 386d83
%patch8 -p1
cvsdist ca4e49
mv -f ld/Makefile.in ld/Makefile.in.tmp
cvsdist ca4e49
sed -e '/^ALL_EMULATIONS/s/eelf_i386_chaos.o/& eelf_i386_glibc21.o/' < ld/Makefile.in.tmp > ld/Makefile.in
cvsdist ca4e49
rm -f ld/Makefile.in.tmp
cvsdist 657305
cvsdist 657305
%build
cvsdist b6e926
# Binutils come with its own custom libtool
cvsdist b6e926
%define __libtoolize echo
cvsdist 3dd8df
%ifarch s390 s390x
cvsdist 3dd8df
%configure --enable-shared=no
cvsdist 3dd8df
%else
cvsdist 3dd8df
%configure --enable-shared
cvsdist 3dd8df
%endif
cvsdist 3dd8df
make tooldir=%{_prefix} all info
cvsdist 3dd8df
%ifarch s390 s390x
cvsdist 3dd8df
# S390 needs objdump in /bin to fix object code only IBM moduls during startup
cvsdist 3dd8df
# no need to disable shared libs completely, therefore this hack:
cvsdist 3dd8df
mv -f binutils/objdump binutils/objdump_static
cvsdist 3dd8df
make distclean
cvsdist b6e926
%configure --enable-shared
cvsdist ca4e49
make tooldir=%{_prefix} all info
cvsdist 3dd8df
mv -vf binutils/objdump_static binutils/.libs/objdump
cvsdist 3dd8df
%endif
cvsdist 657305
cvsdist 657305
%install
cvsdist 657305
rm -rf ${RPM_BUILD_ROOT}
cvsdist 657305
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
cvsdist 657305
%makeinstall
cvsdist 657305
make prefix=${RPM_BUILD_ROOT}%{_prefix} infodir=${RPM_BUILD_ROOT}%{_infodir} install-info
cvsdist 657305
strip ${RPM_BUILD_ROOT}%{_prefix}/bin/*
cvsdist 657305
gzip -q9f ${RPM_BUILD_ROOT}%{_infodir}/*.info*
cvsdist 657305
cvsdist 657305
#install -m 644 libiberty/libiberty.a ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}
cvsdist 657305
install -m 644 include/libiberty.h ${RPM_BUILD_ROOT}%{_prefix}/include
cvsdist 657305
cvsdist 657305
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
cvsdist 657305
cvsdist b6e926
# This one comes from gcc
cvsdist 657305
rm -f ${RPM_BUILD_ROOT}%{_prefix}/bin/c++filt
cvsdist 3dd8df
%ifarch s390 s390x
cvsdist 3dd8df
  mkdir ${RPM_BUILD_ROOT}/bin
cvsdist 3dd8df
  mv ${RPM_BUILD_ROOT}%{_prefix}/bin/objdump ${RPM_BUILD_ROOT}/bin
cvsdist 3dd8df
  ln -s ../../bin/objdump ${RPM_BUILD_ROOT}%{_prefix}/bin/objdump
cvsdist 3dd8df
%endif
cvsdist 657305
cvsdist 657305
%clean
cvsdist 657305
rm -rf ${RPM_BUILD_ROOT}
cvsdist 657305
cvsdist 657305
%post
cvsdist 657305
/sbin/ldconfig
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz
cvsdist 657305
cvsdist 657305
%preun
cvsdist 657305
if [ $1 = 0 ] ;then
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz
cvsdist 657305
fi
cvsdist 657305
cvsdist 657305
%postun -p /sbin/ldconfig
cvsdist 657305
cvsdist 657305
%files
cvsdist 657305
%defattr(-,root,root)
cvsdist 657305
%doc README
cvsdist 657305
%{_prefix}/bin/*
cvsdist 657305
%{_mandir}/man1/*
cvsdist 657305
%{_prefix}/include/*
cvsdist 657305
%{_prefix}/%{_lib}/*
cvsdist 657305
%{_infodir}/*info*
cvsdist 3dd8df
%ifarch s390 s390x
cvsdist 3dd8df
/bin/*
cvsdist 3dd8df
%endif
cvsdist 657305
cvsdist 657305
%changelog
cvsdist 386d83
* Wed Mar 18 2003 D. Marlin <dmarlin@redhat.com>
cvsdist 386d83
- new s390 release number and rebuild for s390 (bug #85960)
cvsdist 386d83
cvsdist 386d83
* Wed Feb 13 2002 Phil Knirsch <pknirsch@redhat.com>
cvsdist 386d83
- Added another special patch from IBM.
cvsdist 386d83
cvsdist 386d83
* Wed Jan 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 386d83
- fix 64 bit support
cvsdist 386d83
cvsdist 3dd8df
* Tue Oct 23 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 3dd8df
- add IBM patch for S/390
cvsdist 3dd8df
cvsdist 3dd8df
* Sat Sep 15 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 3dd8df
- add "brxlg" patch from alpha web-page
cvsdist 3dd8df
cvsdist 3dd8df
* Mon Aug 13 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 3dd8df
- S/390 needs objdump during startup (before mounting /usr)
cvsdist 3dd8df
  link objdump staticly and move it to /bin (only on S/390)
cvsdist ca4e49
cvsdist ca4e49
* Sat Jun 23 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist ca4e49
- fix SHF_MERGE support on Alpha
cvsdist ca4e49
cvsdist ca4e49
* Fri Jun  8 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist ca4e49
- 2.11.90.0.8
cvsdist ca4e49
  - some SHF_MERGE suport fixes
cvsdist ca4e49
- don't build with tooldir /usrusr instead of /usr (#40937)
cvsdist ca4e49
- reserve few .dynamic entries for prelinking
cvsdist ca4e49
cvsdist ca4e49
* Mon Apr 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist ca4e49
- 2.11.90.0.5
cvsdist ca4e49
  - SHF_MERGE support
cvsdist ca4e49
cvsdist ca4e49
* Tue Apr  3 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist ca4e49
- 2.11.90.0.4
cvsdist ca4e49
  - fix uleb128 support, so that CVS gcc bootstraps
cvsdist ca4e49
  - some ia64 fixes
cvsdist ca4e49
cvsdist b6e926
* Mon Mar 19 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- add -Bgroup support from Ulrich Drepper
cvsdist b6e926
cvsdist b6e926
* Fri Mar  9 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- hack - add elf_i386_glibc21 emulation
cvsdist b6e926
cvsdist b6e926
* Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- 2.10.91.0.2
cvsdist b6e926
cvsdist b6e926
* Fri Feb  9 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- 2.10.1.0.7
cvsdist b6e926
- remove ExcludeArch ia64
cvsdist b6e926
- back out the -oformat, -omagic and -output change for now
cvsdist b6e926
cvsdist b6e926
* Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- Prereq /sbin/install-info
cvsdist b6e926
cvsdist b6e926
* Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist b6e926
- 2.10.1.0.2
cvsdist b6e926
cvsdist 8c799d
* Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 8c799d
- add one more alpha patch
cvsdist 8c799d
cvsdist 8c799d
* Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 8c799d
- fix alpha visibility as problem
cvsdist 8c799d
- add support for Ultra-III
cvsdist 8c799d
cvsdist 9dadb4
* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 9dadb4
- and one more alpha patch
cvsdist 9dadb4
cvsdist 9dadb4
* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 9dadb4
- two sparc patches
cvsdist 9dadb4
cvsdist 657305
* Mon Jul 24 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.18
cvsdist 657305
cvsdist 657305
* Mon Jul 10 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.12
cvsdist 657305
cvsdist 657305
* Mon Jun 26 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.9
cvsdist 657305
cvsdist 657305
* Thu Jun 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- fix ld -r
cvsdist 657305
cvsdist 657305
* Mon Jun  5 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.9.5.0.46
cvsdist 657305
- use _mandir/_infodir/_lib
cvsdist 657305
cvsdist 657305
* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.41
cvsdist 657305
cvsdist 657305
* Wed Apr 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.34
cvsdist 657305
cvsdist 657305
* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.31
cvsdist 657305
cvsdist 657305
* Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- man pages are compressed
cvsdist 657305
- apply kingdon's patch from #5031
cvsdist 657305
cvsdist 657305
* Wed Jan 19 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- Permit package to be built with a prefix other than /usr.
cvsdist 657305
cvsdist 657305
* Thu Jan 13 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- add pacth from hjl to fix the versioning problems in ld
cvsdist 657305
cvsdist 657305
* Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- Add sparc patches from Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- Add URL:
cvsdist 657305
cvsdist 657305
* Tue Dec 14 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.22
cvsdist 657305
cvsdist 657305
* Wed Nov 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.19
cvsdist 657305
cvsdist 657305
* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.16
cvsdist 657305
cvsdist 657305
* Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>
cvsdist 657305
- make shared non-pic libraries work on sparc with glibc 2.1.
cvsdist 657305
cvsdist 657305
* Fri Aug 27 1999 Jim Kingdon
cvsdist 657305
- No source/spec changes, just rebuilding with egcs-1.1.2-18 because
cvsdist 657305
  the older egcs was miscompling gprof.
cvsdist 657305
cvsdist 657305
* Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- back out very *stupid* sparc patch done by HJLu. People, keep out of
cvsdist 657305
  things you don't understand.
cvsdist 657305
- add alpha relax patch from rth
cvsdist 657305
cvsdist 657305
* Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- version  2.9.1.0.23
cvsdist 657305
- patch to make texinfo documentation compile
cvsdist 657305
- auto rebuild in the new build environment (release 2)
cvsdist 657305
cvsdist 657305
* Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.21
cvsdist 657305
- merged with UltraPenguin
cvsdist 657305
cvsdist 657305
* Mon Jan 04 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- added ARM patch from philb
cvsdist 657305
- version 2.9.1.0.19a
cvsdist 657305
- added a patch to allow arm* arch to be identified as an ARM
cvsdist 657305
cvsdist 657305
* Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.14.
cvsdist 657305
cvsdist 657305
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.13.
cvsdist 657305
cvsdist 657305
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.12
cvsdist 657305
cvsdist 657305
* Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.7.
cvsdist 657305
cvsdist 657305
* Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.6.
cvsdist 657305
cvsdist 657305
* Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
cvsdist 657305
- added patch from rth to get right offsets for sections in relocateable
cvsdist 657305
  objects on sparc32
cvsdist 657305
cvsdist 657305
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist 657305
- translations modified for de, fr, tr
cvsdist 657305
cvsdist 657305
* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- version 2.9.1.0.4 is out; even more, it is public !
cvsdist 657305
cvsdist 657305
* Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.3.
cvsdist 657305
cvsdist 657305
* Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.0.3
cvsdist 657305
cvsdist 657305
* Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded to 2.9.0.2
cvsdist 657305
cvsdist 657305
* Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
cvsdist 657305
  :-)
cvsdist 657305
- "fixed" the damn make install command so that all tools get installed
cvsdist 657305
cvsdist 657305
* Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
cvsdist 657305
- added info packages handling
cvsdist 657305
cvsdist 657305
* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded to 2.8.1.0.23
cvsdist 657305
cvsdist 657305
* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.8.1.0.15 (required to compile the newer glibc)
cvsdist 657305
- all patches are obsoleted now
cvsdist 657305
cvsdist 657305
* Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
cvsdist 657305
- added 2.8.1.0.1 patch from hj
cvsdist 657305
- added patch for alpha palcode form rth