1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894 |
- # rpmbuild parameters:
- # --with debug: Build without optimizations and without splitting the debuginfo.
- # --without testsuite: Do not run the testsuite. Default is to run it.
- # --with testsuite: Run the testsuite. Default --with debug is not to run it.
- %bcond_with debug
- %bcond_with debuginfod
- %bcond_without gprofng
- %bcond_without testsuite
- %bcond_without docs
- #---Start of Configure Options-----------------------------------------------
- # Create shared libraries.
- %define enable_shared 1
- # Create deterministic archives (ie ones without timestamps).
- # Default is off because of BZ 1195883.
- %define enable_deterministic_archives 0
- # Enable support for GCC LTO compilation.
- # Disable if it is necessary to work around bugs in LTO.
- %define enable_lto 1
- # Enable support for generating new dtags in the linker
- # Disable if it is necessary to use RPATH instead.
- %define enable_new_dtags 1
- # Enable the compression of debug sections as default behaviour of the
- # assembler and linker. This option is disabled for now. The assembler and
- # linker have command line options to override the default behaviour.
- %define default_compress_debug 0
- # Default to read-only-relocations (relro) in shared binaries.
- # This is enabled as a security feature.
- %define default_relro 1
- # Enable the default generation of GNU Build notes by the assembler.
- # This option is disabled as it has turned out to be problematic for the i686
- # architecture, although the exact reason has not been determined. (See
- # BZ 1572485). It also breaks building EFI binaries on AArch64, as these
- # cannot have relocations against absolute symbols.
- %define default_generate_notes 0
- # Enable thread support in the GOLD linker (if it is being built). This is
- # particularly important if plugins to the linker intend to use threads
- # themselves. See BZ 1636479 for more details. This option is made
- # configurable in case there is ever a need to disable thread support.
- %define enable_threading 1
- # Enable the use of separate code and data segments for all architectures,
- # not just x86/x86_64.
- %define enable_separate_code 1
- #----End of Configure Options------------------------------------------------
- %define binutils_target %{_target_platform}
- %define isnative 1
- %undefine _strict_symbol_defs_build
- %undefine __brp_strip_static_archive
- %if %{with debug}
- %undefine with_testsuite
- %endif
- Summary: A GNU collection of binary utilities.
- Summary(ja): GNU 版バイナリユーティリティ集
- Name: binutils
- Version: 2.42
- Release: 2%{?_dist_release}
- Group: programming
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: kenta, shaolin, inagaki
- License: GPLv3+
- URL: https://sourceware.org/binutils
- # Note - the Linux Kernel binutils releases are too unstable and contain
- # too many controversial patches so we stick with the official FSF version
- # instead.
- Source: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
- Source2: binutils-2.19.50.0.1-output-format.sed
- #----------------------------------------------------------------------------
- Patch00: binutils-%{version}-20240708.patch
- # Purpose: Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
- # default library search path of 64-bit targets.
- # Lifetime: Permanent, but it should not be. This is a bug in the libtool
- # sources used in both binutils and gcc, (specifically the
- # libtool.m4 file). These are based on a version released in 2009
- # (2.2.6?) rather than the latest version. (Definitely fixed in
- # libtool version 2.4.6).
- Patch01: binutils-libtool-lib64.patch
- # Purpose: Appends a RHEL or Fedora release string to the generic binutils
- # version string.
- # Lifetime: Permanent. This is a RHEL/Fedora specific patch.
- Patch02: binutils-version.patch
- # Purpose: Exports the demangle.h header file (associated with the libiberty
- # sources) with the binutils-devel rpm.
- # Lifetime: Permanent. This is a RHEL/Fedora specific patch.
- Patch03: binutils-export-demangle.h.patch
- # Purpose: Disables the check in the BFD library's bfd.h header file that
- # config.h has been included before the bfd.h header. See BZ
- # #845084 for more details.
- # Lifetime: Permanent - but it should not be. The bfd.h header defines
- # various types that are dependent upon configuration options, so
- # the order of inclusion is important.
- # FIXME: It would be better if the packages using the bfd.h header were
- # fixed so that they do include the header files in the correct
- # order.
- Patch04: binutils-no-config-h-check.patch
- # Purpose: Disable an x86/x86_64 optimization that moves functions from the
- # PLT into the GOTPLT for faster access. This optimization is
- # problematic for tools that want to intercept PLT entries, such
- # as ltrace and LD_AUDIT. See BZs 1452111 and 1333481.
- # Lifetime: Permanent. But it should not be.
- # FIXME: Replace with a configure time option.
- Patch05: binutils-revert-PLT-elision.patch
- # Purpose: Do not create PLT entries for AARCH64 IFUNC symbols referenced in
- # debug sections.
- # Lifetime: Permanent.
- # FIXME: Find related bug. Decide on permanency.
- Patch06: binutils-2.27-aarch64-ifunc.patch
- # Purpose: Stop the binutils from statically linking with libstdc++.
- # Lifetime: Permanent.
- Patch07: binutils-do-not-link-with-static-libstdc++.patch
- # Purpose: Allow OS specific sections in section groups.
- # Lifetime: Fixed in 2.43 (maybe)
- Patch08: binutils-special-sections-in-groups.patch
- # Purpose: Stop gold from aborting when input sections with the same name
- # have different flags.
- # Lifetime: Fixed in 2.43 (maybe)
- Patch09: binutils-gold-mismatched-section-flags.patch
- # Purpose: Change the gold configuration script to only warn about
- # unsupported targets. This allows the binutils to be built with
- # BPF support enabled.
- # Lifetime: Permanent.
- Patch10: binutils-gold-warn-unsupported.patch
- # Purpose: Enable the creation of .note.gnu.property sections by the GOLD
- # linker for x86 binaries.
- # Lifetime: Permanent.
- Patch11: binutils-gold-i386-gnu-property-notes.patch
- # Purpose: Allow the binutils to be configured with any (recent) version of
- # autoconf.
- # Lifetime: Fixed in 2.43 (maybe ?)
- Patch12: binutils-autoconf-version.patch
- # Purpose: Stop libtool from inserting useless runpaths into binaries.
- # Lifetime: Who knows.
- Patch13: binutils-libtool-no-rpath.patch
- %if %{enable_new_dtags}
- # Purpose: Change ld man page so that it says that --enable-new-dtags is the default.
- # Lifetime: Permanent
- Patch14: binutils-update-linker-manual.patch
- %endif
- # Purpose: Stop an abort when using dwp to process a file with no dwo links.
- # Lifetime: Fixed in 2.43 (maybe)
- Patch15: binutils-gold-empty-dwp.patch
- # Purpose: Fix binutils testsuite failures.
- # Lifetime: Permanent, but varies with each rebase.
- Patch16: binutils-testsuite-fixes.patch
- # Purpose: Fix binutils testsuite failures for the RISCV-64 target.
- # Lifetime: Permanent, but varies with each rebase.
- Patch17: binutils-riscv-testsuite-fixes.patch
- # Purpose: Make the GOLD linker ignore the "-z pack-relative-relocs" command line option.
- # Lifetime: Fixed in 2.43 (maybe)
- Patch18: binutils-gold-pack-relative-relocs.patch
- # Purpose: Let the gold lihnker ignore --error-execstack and --error-rwx-segments.
- # Lifetime: Fixed in 2.43 (maybe)
- Patch19: binutils-gold-ignore-execstack-error.patch
- # Purpose: Fix the ar test of non-deterministic archives.
- # Lifetime: Fixed in 2.43
- Patch20: binutils-fix-ar-test.patch
- # Purpose: Suppress the x86 linker's p_align-1 tests due to kernel bug on CentOS-10
- # Lifetime: TEMPORARY
- Patch99: binutils-suppress-ld-align-tests.patch
- #----------------------------------------------------------------------------
- %define gold_arches %ix86 x86_64
- %if %{with debug}
- # Define this if you want to skip the strip step and preserve debug info.
- # Useful for testing.
- %define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
- %define debug_package %{nil}
- %endif
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: texinfo >= 4.0, gettext, flex, bison, pkgconfig(zlib)
- # Required for: ld-bootstrap/bootstrap.exp bootstrap with --static
- # It should not be required for: ld-elf/elf.exp static {preinit,init,fini} array
- %if %{with testsuite}
- BuildRequires: dejagnu, glibc-devel, sharutils, bc, libstdc++
- #BuildRequires: dejagnu, zlib-static, glibc-static, sharutils
- %endif
- Conflicts: gcc-c++ < 4.0.0
- %ifarch ia64
- Obsoletes: gnupro
- %endif
- # The higher of these two numbers determines the default ld.
- %{!?ld_bfd_priority: %global ld_bfd_priority 50}
- %{!?ld_gold_priority:%global ld_gold_priority 30}
- %ifarch %gold_arches
- Requires(post): coreutils
- Requires(post): alternatives
- Requires(preun): alternatives
- %endif
- # On ARM EABI systems, we do want -gnueabi to be part of the
- # target triple.
- %ifnarch %{arm}
- %define _gnu %{nil}
- %endif
- %description
- Binutils is a collection of binary utilities, including ar (for
- creating, modifying and extracting from archives), as (a family of GNU
- assemblers), gprof (for displaying call graph profile data), ld (the
- GNU linker), nm (for listing symbols from object files), objcopy (for
- copying and translating object files), objdump (for displaying
- information from object files), ranlib (for generating an index for
- the contents of an archive), size (for listing the section sizes of an
- object or archive file), strings (for listing printable strings from
- files), strip (for discarding symbols), and addr2line (for converting
- addresses to file and line).
- %description -l ja
- Binutils はバイナリユーティリティ集です。 ar (アーカイブの作成、修正、
- 取り出しを行う)、as (GNU アセンブラファミリ)、gprof (グラフプロファイル
- データの表示)、ld (GNU リンカ)、nm (オブジェクトファイルのシンボル一覧を
- 表示)、objcopy (オブジェクトファイルのコピー,変換を行う)、
- objdump (オブジェクトファイルの情報を表示する)、ranlib (アーカイブの内容
- 一覧を作成)、size (オブジェクトやアーカイブのセクションサイズを表示)、
- strings (ファイルから表示可能な文字列を表示する)、strip (シンボルを
- 削除する)、addr2line (アドレスをファイル等に変換する) などが含まれています。
- %package devel
- Summary: BFD and opcodes static libraries and header files
- Group: programming
- Conflicts: binutils < 2.17.50.0.3-4
- Requires: pkgconfig(zlib)
- %description devel
- This package contains BFD and opcodes static libraries and associated
- header files. Only *.a libraries are included, because BFD doesn't
- have a stable ABI. Developers starting new projects are strongly encouraged
- to consider using libelf instead of BFD.
- %if %{with gprofng}
- %package gprofng
- Summary: Next Generating code profiling tool
- Provides: gprofng = %{version}-%{release}
- Requires: binutils >= %{version}
- %description gprofng
- Gprofng is the GNU Next Generation profiler for analyzing the performance
- of Linux applications. Gprofng allows you to:
- %endif
- %debug_package
- %prep
- %setup -q -n binutils-%{version}
- %autopatch -p1
- # On ppc64 and aarch64, we might use 64KiB pages
- sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
- sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*aarch64.c
- sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc
- sed -i -e '/pagesize/s/0x1000,/0x10000,/' gold/aarch64.cc
- # LTP sucks
- perl -pi -e 's/i\[3-7\]86/i[34567]86/g' */conf*
- sed -i -e 's/%''{release}/%{release}/g' bfd/Makefile{.am,.in}
- sed -i -e '/^libopcodes_la_\(DEPENDENCIES\|LIBADD\)/s,$, ../bfd/libbfd.la,' opcodes/Makefile.{am,in}
- # Build libbfd.so and libopcodes.so with -Bsymbolic-functions if possible.
- if gcc %{optflags} -v --help 2>&1 | grep -q -- -Bsymbolic-functions; then
- sed -i -e 's/^libbfd_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' bfd/Makefile.{am,in}
- sed -i -e 's/^libopcodes_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' opcodes/Makefile.{am,in}
- fi
- # $PACKAGE is used for the gettext catalog name.
- sed -i -e 's/^ PACKAGE=/ PACKAGE=%{?cross}/' */configure
- # Undo the name change to run the testsuite.
- for tool in binutils gas ld
- do
- sed -i -e "2aDEJATOOL = $tool" $tool/Makefile.am
- sed -i -e "s/^DEJATOOL = .*/DEJATOOL = $tool/" $tool/Makefile.in
- done
- # Touch the .info files so that they are newer then the .texi files and
- # hence do not need to be rebuilt. This eliminates the need for makeinfo.
- # The -print is there just to confirm that the command is working.
- %if %{without docs}
- find . -name *.info -print -exec touch {} \;
- %else
- # If we are creating the docs, touch the texi files so that the info and
- # man pages will be rebuilt.
- find . -name *.texi -print -exec touch {} \;
- %endif
- %build
- echo target is %{binutils_target}
- %set_build_flags
- %if %{with debug}
- export CFLAGS="$CFLAGS -O0 -ggdb2 -Wno-error -D_FORTIFY_SOURCE=0"
- %define enable_shared 0
- %endif
- %if %{enable_new_dtags}
- export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
- %endif
- CARGS=
- %if %{with debuginfod}
- CARGS="$CARGS --with-debuginfod"
- %endif
- # Extra targets to build along with the default one.
- #
- # BZ 1920373: Enable PEP support for all targets as the PERF package's
- # testsuite expects to be able to read PE format files ragrdless of
- # the host's architecture.
- #
- # Also enable the BPF target so that strip will work on BPF files.
- CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
- %if %{default_relro}
- CARGS="$CARGS --enable-relro=yes"
- %else
- CARGS="$CARGS --enable-relro=no"
- %endif
- CARGS="$CARGS --enable-warn-execstack=yes"
- CARGS="$CARGS --enable-default-execstack=no"
- CARGS="$CARGS --enable-warn-rwx-segments=yes"
- # We could optimize the cross builds size by --enable-shared but the produced
- # binaries may be less convenient in the embedded environment.
- %configure \
- --quiet \
- --build=%{_target_platform} --host=%{_target_platform} \
- --target=%{binutils_target} \
- %ifarch %gold_arches
- --enable-gold=default \
- %else
- --enable-gold=no \
- %endif
- --enable-ld \
- %if %{isnative}
- --with-sysroot=/ \
- %else
- --enable-targets=%{_host} \
- --enable-64-bit-bfd \
- --with-sysroot=%{_prefix}/%{binutils_target}/sys-root \
- --program-prefix=%{cross} \
- %endif
- --with-system-zlib \
- %if %{with gprofng}
- --enable-gprofng=yes \
- %else
- --enable-gprofng=no \
- %endif
- %if %{enable_shared}
- --enable-shared \
- %else
- --disable-shared \
- %endif
- %if %{enable_deterministic_archives}
- --enable-deterministic-archives \
- %else
- --enable-deterministic-archives=no \
- %endif
- %if %{enable_lto}
- --enable-lto \
- %endif
- %if %{enable_new_dtags}
- --enable-new-dtags \
- --disable-rpath \
- %endif
- %if %{default_compress_debug}
- --enable-compressed-debug-sections=all \
- %else
- --enable-compressed-debug-sections=none \
- %endif
- %if %{default_generate_notes}
- --enable-generate-build-notes=yes \
- %else
- --enable-generate-build-notes=no \
- %endif
- %if %{enable_threading}
- --enable-threads=yes \
- %else
- --enable-threads=no \
- %endif
- %if %{enable_separate_code}
- --enable-separate-code=yes \
- %endif
- $CARGS \
- --enable-plugins \
- --disable-werror \
- --with-bugurl=http://mantis.vinelinux.org/ \
- || cat config.log
- %if %{with docs}
- make %{_smp_mflags} tooldir=%{_prefix} all
- make %{_smp_mflags} tooldir=%{_prefix} info
- %else
- %make_build %{_smp_mflags} tooldir=%{_prefix} MAKEINFO=true all
- %endif
- # Do not use %%check as it is run after %%install where libbfd.so is rebuilt
- # with -fvisibility=hidden no longer being usable in its shared form.
- %if %{without testsuite}
- echo ====================TESTSUITE DISABLED=========================
- %else
- rm -f check_error
- make -k check-gas check-binutils check-ld < /dev/null || echo "failed" > check_error
- # The GOLD testsuite always returns an error code, even if no tests fail.
- make -k check-gold < /dev/null || :
- echo ====================TESTING=========================
- for f in {gas/testsuite/gas,ld/ld,binutils/binutils}.sum
- do
- if [ -f $f ]; then
- cat $f
- fi
- done
- if [ -f gold/test-suite.log ]; then
- cat gold/test-suite.log
- fi
- if [ -f gold/testsuite/test-suite.log ]; then
- cat gold/testsuite/*.log
- fi
- echo ====================TESTING END=====================
- for file in {gas/testsuite/gas,ld/ld,binutils/binutils}.{sum,log}
- do
- ln $file binutils-%{_target_platform}-$(basename $file) || :
- done
- tar cjf binutils-%{_target_platform}.tar.xz binutils-%{_target_platform}-*.{sum,log}
- uuencode binutils-%{_target_platform}.tar.xz binutils-%{_target_platform}.tar.xz
- rm -f binutils-%{_target_platform}.tar.xz binutils-%{_target_platform}-*.{sum,log}
- if [ -f gold/testsuite/test-suite.log ]; then
- tar cjf binutils-%{_target_platform}-gold.log.tar.xz gold/testsuite/*.log
- uuencode binutils-%{_target_platform}-gold.log.tar.xz binutils-%{_target_platform}-gold.log.tar.xz
- rm -f binutils-%{_target_platform}-gold.log.tar.xz
- fi
- %endif
- if [ -f check_error ]; then
- exit 1
- fi
- %install
- rm -rf $RPM_BUILD_ROOT
- %if %{with docs}
- %make_install
- %else
- %make_install MAKEINFO=true
- %endif
- %if %{isnative}
- %if %{with docs}
- make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
- %endif
- %if %{enable_new_dtags}
- export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
- %endif
- # Rebuild the static libiaries with -fPIC.
- # It would be nice to build the static libraries with -fno-lto so that
- # they can be used by programs that are built with a different version
- # of GCC from the one used to build the libraries, but this will trigger
- # warnings from annocheck.
- # Future: Remove it together with its header file, projects should bundle it.
- %make_build -s -C libiberty clean
- %set_build_flags
- %make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
- # Without the hidden visibility the 3rd party shared libraries would export
- # the bfd non-stable ABI.
- %make_build -s -C bfd clean
- %set_build_flags
- %make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
- # Rebuild libopcodes.a with -fPIC.
- %make_build -s -C opcodes clean
- %set_build_flags
- %make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
- %make_build -s -C libsframe clean
- %set_build_flags
- %make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libsframe
- install -m 644 bfd/.libs/libbfd.a %{buildroot}%{_libdir}
- install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
- install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
- install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
- install -m 644 libsframe/.libs/libsframe.a %{buildroot}%{_libdir}
- # Remove Windows/Novell only man pages
- rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
- %if %{without docs}
- rm -f %{buildroot}%{_mandir}/man1/{addr2line,ar,as,c++filt,elfedit,gprof,ld,nm,objcopy,objdump,ranlib,readelf,size,strings,strip}*
- rm -f %{buildroot}%{_infodir}/{as,bfd,binutils,gprof,ld}*
- %endif
- %if %{enable_shared}
- chmod +x %{buildroot}%{_libdir}/lib*.so*
- %endif
- # Prevent programs from linking against libbfd and libopcodes
- # dynamically, as they are changed far too often.
- rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
- # Remove libtool files, which reference the .so libs
- rm -f %{buildroot}%{_libdir}/*.la
- # Sanity check --enable-64-bit-bfd really works.
- grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h
- # Fix multilib conflicts of generated values by __WORDSIZE-based expressions.
- %ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm aarch64 riscv64
- sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include <bits/wordsize.h>~;}' \
- -e 's/^#define BFD_DEFAULT_TARGET_SIZE \(32\|64\) *$/#define BFD_DEFAULT_TARGET_SIZE __WORDSIZE/' \
- -e 's/^#define BFD_HOST_64BIT_LONG [01] *$/#define BFD_HOST_64BIT_LONG (__WORDSIZE == 64)/' \
- -e 's/^#define BFD_HOST_64_BIT \(long \)\?long *$/#if __WORDSIZE == 32\
- #define BFD_HOST_64_BIT long long\
- #else\
- #define BFD_HOST_64_BIT long\
- #endif/' \
- -e 's/^#define BFD_HOST_U_64_BIT unsigned \(long \)\?long *$/#define BFD_HOST_U_64_BIT unsigned BFD_HOST_64_BIT/' \
- %{buildroot}%{_prefix}/include/bfd.h
- %endif
- touch -r bfd/bfd-in2.h %{buildroot}%{_prefix}/include/bfd.h
- # Generate .so linker scripts for dependencies; imported from glibc/Makerules:
- # This fragment of linker script gives the OUTPUT_FORMAT statement
- # for the configuration we are building.
- OUTPUT_FORMAT="\
- /* Ensure this .so library will not be used by a link for a different format
- on a multi-architecture system. */
- $(gcc $CFLAGS $LDFLAGS -shared -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | sed -n -f "%{SOURCE2}")"
- tee %{buildroot}%{_libdir}/libbfd.so <<EOH
- /* GNU ld script */
- $OUTPUT_FORMAT
- /* The libz dependency is unexpected by legacy build scripts. */
- /* The libdl dependency is for plugin support. (BZ 889134) */
- INPUT ( %{_libdir}/libbfd.a %{_libdir}/libsframe.a -liberty -lz -ldl )
- EOH
- tee %{buildroot}%{_libdir}/libopcodes.so <<EOH
- /* GNU ld script */
- $OUTPUT_FORMAT
- INPUT ( %{_libdir}/libopcodes.a -lbfd )
- EOH
- %endif # !isnative
- # This one comes from gcc
- rm -f %{buildroot}%{_infodir}/dir
- rm -rf %{buildroot}%{_prefix}/%{binutils_target}
- %find_lang %{?cross}binutils
- %find_lang %{?cross}opcodes
- %find_lang %{?cross}bfd
- %find_lang %{?cross}gas
- %find_lang %{?cross}gprof
- cat %{?cross}opcodes.lang >> %{?cross}binutils.lang
- cat %{?cross}bfd.lang >> %{?cross}binutils.lang
- cat %{?cross}gas.lang >> %{?cross}binutils.lang
- cat %{?cross}gprof.lang >> %{?cross}binutils.lang
- if [ -x ld/ld-new ]; then
- %find_lang %{?cross}ld
- cat %{?cross}ld.lang >> %{?cross}binutils.lang
- fi
- if [ -x gold/ld-new ]; then
- %find_lang %{?cross}gold
- cat %{?cross}gold.lang >> %{?cross}binutils.lang
- fi
- /bin/ls %{buildroot}%{_bindir} | sed -e 's|^|%{_bindir}/|' -e '/\/ld$/d' > binutils.list
- %clean
- rm -rf $RPM_BUILD_ROOT
- %preun
- %ifarch %gold_arches
- if [ $1 = 0 ]; then
- /sbin/alternatives --remove ld %{_bindir}/ld.gold
- /sbin/alternatives --remove ld %{_bindir}/ld.bfd
- fi
- %endif
- %post
- %__rm -f %{_bindir}/%{?cross}ld
- /sbin/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
- %{_bindir}/%{?cross}ld.bfd %{ld_bfd_priority}
- %ifarch %gold_arches
- /sbin/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
- %{_bindir}/%{?cross}ld.gold %{ld_gold_priority}
- %endif
- # Do not run "alternatives --auto ld" here. Leave the setting to
- # however the user previously had it set. See BZ 1592069 for more details.
- /sbin/ldconfig
- exit 0
- %files -f binutils.lang
- %license COPYING COPYING3 COPYING3.LIB COPYING.LIB
- %defattr(-,root,root,-)
- %doc README
- %{_bindir}/%{?cross}[!l]*
- %exclude %{_bindir}/gp-*
- %exclude %{_bindir}/gprofng
- # %%verify(symlink) does not work for some reason, so using "owner" instead.
- %verify(owner) %{_bindir}/%{?cross}ld
- %{_bindir}/%{?cross}ld.bfd
- %ifarch %gold_arches
- %{_bindir}/%{?cross}ld.gold
- %endif
- # # Do not export any Windows tools (if they were built)
- # %%exclude %%{_bindir}/%%{?cross}dll*
- # %%exclude %%{_bindir}/%%{?cross}wind*
- %if %{with docs}
- %{_mandir}/man1/
- %exclude %{_mandir}/man1/gp-*
- %exclude %{_mandir}/man1/gprofng*
- %if %{isnative}
- %{_infodir}/as.info.*
- %{_infodir}/binutils.info.*
- %{_infodir}/ld.info.*
- %{_infodir}/ldint.info.*
- %{_infodir}/bfd.info.*
- %{_infodir}/ctf-spec.info.*
- %{_infodir}/gprof.info.*
- %{_infodir}/sframe-spec.info.*
- %endif
- %endif
- %if %{enable_shared}
- %{_libdir}/lib*.so
- %{_libdir}/lib*.so.*
- %exclude %{_libdir}/libbfd.so
- %exclude %{_libdir}/libopcodes.so
- %exclude %{_libdir}/libctf.a
- %exclude %{_libdir}/libctf-nobfd.a
- %{_libdir}/bfd-plugins/libdep.so
- %exclude %{_exec_prefix}/lib/debug/%{_libdir}/bfd-plugins/libdep.so-*
- %endif
- %files devel
- %defattr(-,root,root)
- %{_prefix}/include/*
- %{_libdir}/lib*.a
- %{_libdir}/libbfd.so
- %{_libdir}/libopcodes.so
- %if %{with gprofng}
- %files gprofng
- %{_bindir}/gp-*
- %{_bindir}/gprofng
- %{_mandir}/man1/gp-*
- %{_mandir}/man1/gprofng*
- %{_infodir}/gprofng.info.*
- %dir %{_libdir}/gprofng
- %{_libdir}/gprofng/*
- %dir %{_exec_prefix}/lib/debug/%{_libdir}/gprofng
- %{_exec_prefix}/lib/debug/%{_libdir}/gprofng/libgp*
- %{_sysconfdir}/gprofng.rc
- %endif
- %changelog
- * Mon Jul 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.42-2
- - updated Patch00.
- * Sat Jun 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.42-1
- - updated to 2.42.
- - updated Patch00.
- - re-imported patches from rawhide.
- * Thu Sep 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.41-1
- - updated to 2.41.
- - updated Patch00.
- - re-imported patches from rawhide.
- * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.39-1
- - updated to 2.39.
- - updated Patch00.
- - re-imported patches from rawhide.
- * Sat Jan 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.37-4
- - updated Patch00.
- * Thu Dec 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.37-3
- - updated Patch00.
- - imported Patch2000 from upstream to fix CVE-2021-45078.
- * Mon Nov 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.37-2
- - updated Patch00.
- - imported Patch18-24 from rawhide.
- - dropped install-info scriptlets.
- * Wed Aug 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.37-1
- - updated to 2.37.
- - imported Patch00 from upstream.
- - re-imported patches from rawhide.
- * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.36.1-2
- - imported Patch00 from upstream.
- - built with gcc-10.3.
- - updated Patch34.
- * Tue Feb 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.36.1-1
- - updated to 2.36.
- - dropped Patch10, 11 and 16.
- - renumbered patches.
- - imported Patch15-34 from rawhide.
- - added Patch0.
- - updated Patch6.
- * Thu Mar 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.34-1
- - updated to 2.34.
- - dropped Patch14-20, 22-26 and 28-29.
- - renumbered patches.
- - imported Patch16 from rawhide.
- * Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.32-1
- - updated to 2.32.
- - dropped Patch11, 13-22, 24 and 25: fixed in upstream.
- - renumbered patches.
- - imported Patch14-29 from rawhide.
- * Tue Jan 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.31.1-1
- - updated to 2.31.1.
- - dropped Patch1-9.
- - imported Patch01-25 from rawhide.
- * Sun Jun 26 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26-4
- - rebuild with gcc-5.4.0
- * Tue May 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.26-3
- - rebuilt only.
- * Sun May 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.26-2
- - added Patch09 (binutils-2.26-symbol-version.patch).
- * Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26-1
- - update to 2.26
- - update Patch04 (binutils-2.26-version.patch)
- - update Patch05 (binutils-2.26-set-long-long.patch)
- - remove Patch06 (binutils-2.23.2-build-id.patch)
- - update Patch07 (binutils-2.26-copy-osabi.patch)
- - update Patch08 (binutils-2.26-sec-merge-emit.patch)
- - add Patch1001: binutils-2.26-uio-vine.patch
- * Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.23.2-2
- - rebuild with VineSeed environment
- * Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.23.2-1
- - update to 2.23.2
- - remove Patch02 (binutils-2.20.51.0.12-ppc64-pie.patch)
- - update Patch06 (binutils-2.23.2-build-id.patch)
- * Tue Oct 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.22-3
- - rebuild with gcc-4.8.1
- * Sat Jan 14 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 2.22-2
- - enabled linker plugins support
- * Fri Nov 25 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 2.22-1
- - updated to 2.22 (gnu.org)
- - updated Patch06: build-id patch
- - dropped Patch09: gold-plugins patch
- * Sun Apr 03 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 2.20.51.0.12-1
- - updated to 2.20.51.0.12
- - updated --build-id patch.
- - dropped redundant patches:
- binutils-2.20.51.0.2-envvar-revert.patch,
- binutils-2.20.51.0.2-add-needed.patch,
- binutils-2.20.51.0.2-ifunc-ld-s.patch,
- binutils-2.20.51.0.2-lwp.patch,
- binutils-2.20.51.0.2-gas-expr.patch,
- binutils-2.20.51.0.2-ppc-hidden-plt-relocs.patch.
- * Tue Apr 6 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-5
- - rebuilt with gcc-4.4.3-4
- * Mon Feb 8 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-4
- - rebuilt with gcc-4.4.3-3
- * Mon Feb 1 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-3
- - add Patch12 and Patch13 for PR 10856 and 11088 respectively
- * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.20.51.0.2-2
- - rebuilt with gcc-4.4.3
- * Sun Nov 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.20.51.0.2-1
- - updated to 2.20.51.0.2
- * Wed Sep 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.18.50.0.6-1
- - updated to 2.18.50.0.6
- * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.17.50.0.18-3
- - new versioning policy
- - rebuild with gcc-4.1.2-18
- * Sun Feb 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.18-1vl2
- - rebuilt with glibc-2.7-2vl3 and gcc-4.1.2-0vl17
- * Wed Feb 06 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.18-1vl1
- - updated to 2.17.50.0.18
- - Thu Aug 16 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.18-1
- - update to 2.17.50.0.18
- - GPLv3+
- - preserve .note.gnu.build-id in objcopy --only-keep-debug (#251935)
- - fix sparc64/alpha broken by --build-id patch (#252936)
- - update License tag
- - fix ld crash with --build-id and non-ELF output format (Alan Modra, BZ#4923)
- - Tue Jul 31 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-7
- - fix ppc32 secure PLT detection (Alan Modra)
- - Wed Jul 25 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-6
- - rebuilt to make sure even libbfd.so and libopcodes.so aren't
- broken by #249435
- - Tue Jul 24 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-5
- - add .note.gnu.build-id into default linker script (#249435)
- - Tue Jul 24 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-4
- - don't kill the %%{_gnu} part of target name on arm
- (Lennert Buytenhek, #243516)
- - create just one PT_NOTE segment header for all consecutive SHT_NOTE
- sections
- - Wed Jul 18 2007 Roland McGrath <roland@redhat.com> 2.17.50.0.17-3
- - fix for ld --build-id
- - Sun Jul 15 2007 Roland McGrath <roland@redhat.com> 2.17.50.0.17-2
- - ld --build-id support
- - Wed Jun 27 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-1
- - update to 2.17.50.0.17
- - Tue Jun 12 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.16-1
- - update to 2.17.50.0.16
- - Sat Apr 14 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-4
- - fix linking non-ELF input objects into ELF output (#235747)
- - Wed Mar 14 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-3
- - don't require matching ELF_OSABI for target vecs with ELFOSABI_NONE,
- only prefer specific osabi target vecs over the generic ones
- (H.J.Lu, #230964, BZ#3826)
- - build libbfd.so and libopcodes.so with -Bsymbolic-functions
- - Fri Mar 2 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-2
- - ignore install-info errors from scriptlets (#223678)
- - Thu Mar 1 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-1
- - update to 2.17.50.0.12
- - revert the misdesigned LD_SYMBOLIC{,_FUNCTIONS} env var support,
- only support -Bsymbolic/-Bsymbolic-functions/--dynamic-list*
- - Mon Jan 8 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.9-1
- - update to 2.17.50.0.9
- - fix tekhex reader
- - Sat Dec 23 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.8-2
- - fix --as-needed on ppc64 (#219629)
- - Sun Dec 3 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.8-1
- - update to 2.17.50.0.8
- - initialize frch_cfi_data (BZ#3607)
- - Fri Dec 1 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.7-1
- - update to 2.17.50.0.7
- - .cfi_personality and .cfi_lsda directives, per subsection .cfi_*
- directives, better .eh_frame CIE merging
- - Thu Nov 9 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.6-3
- - fix popcnt instruction assembly and disassembly on amd64 (#214767)
- * Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.17.50.0.6-2vl5
- - dropt unnecessary changes of 2.17.50.0.6-2vl4
- * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.17.50.0.6-2vl4
- - added -fPIC to make (if x86_64)
- * Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.17.50.0.6-2vl3
- - rebuild with gcc-4.1.2-0vl12
- - changed devel package Group to Development/Libraries
- * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.6-2vl2
- - rebuild with gcc-4.1.2-0vl7 (expecially for ppc)
- * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.6-2vl1
- - updated to 2.17.50.0.6
- - Thu Dec 21 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.6-2.fc6
- - update to 2.17.50.0.6
- - fix for section relative linker script defined symbols in
- empty sections (#212032, BZ#3267)
- - fix handling of DW_CFA_set_loc in .eh_frame optimizations
- - fix R_PPC_{PLT,GOT{,_TLSGD,_TLSLD,_TPREL,_DTPREL}}16_HA relocation
- handling with weak undefined symbols (Alan Modra, #211094)
- - fix --cref (#212099)
- - fix --emit-relocs on ppc64 (#211991)
- - fix popcnt instruction assembly and disassembly on amd64 (#214767)
- * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl2
- - rebuilt with gcc-4.1.2-0vl6 and glibc-2.5-12vl1
- * Sun May 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl1
- - rebuild
- * Tue Apr 03 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl0
- - initial build for VineSeed based on FC 2.17.50.0.3-6
- * Tue Sep 12 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-6
- - fix multilib conflict in %{_prefix}/include/bfd.h
- * Tue Sep 12 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-5
- - fix efi-app-ia64 magic number (#206002, BZ#3171)
- * Tue Sep 5 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-4
- - link libopcodes*.so against libbfd*.so (#202327)
- - split *.a and header files into binutils-devel
- * Fri Aug 18 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-3
- - on ppc and ppc64 increase default -z commonpagesize to 64K (#203001)
- * Fri Jul 28 2006 Alexandre Oliva <aoliva@redhat.com> 2.17.50.0.3-2
- - do not infer x86 arch implicitly based on instruction in the input
- (#200330)
- * Mon Jul 17 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-1
- - update to 2.17.50.0.3
- * Fri Jul 14 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-8
- - add support for new AMDFAM10 instructions (#198281, IT#97662)
- - add -march=/-mtune= gas support on x86/x86-64
- - x86/x86-64 nop insn improvements
- - fix DT_GNU_HASH shift count value computation
- * Tue Jul 11 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-7
- - add DT_GNU_HASH support (--hash-style=gnu and --hash-style=both
- ld options)
- * Thu Jun 29 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-4
- - fix i?86 TLS GD->IE transition in executables (#196157, BZ#2513)
- * Mon Jun 19 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-3
- - fix two places in ld that misbehaved with MALLOC_PERTURB_=N
- - fix .tls_common handling in relocatable linking
- * Mon Jun 5 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-2
- - fix --as-needed (Alan Modra, #193689, BZ#2721)
- * Thu Jun 1 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-1
- - update to 2.17.50.0.2
- - update from CVS to 20060601
- - speed up the ELF linker by caching the result of kept section check
- (H.J. Lu)
- * Tue May 9 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.1-1
- - update to 2.17.50.0.1
- * Fri Mar 31 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-6
- - fix ld error message formatting, so that collect2 parser can
- parse it again for g++ -frepo (#187142)
- * Thu Mar 9 2006 Alexandre Oliva <aoliva@redhat.com> 2.16.91.0.6-4
- - fix relaxation of TLS GD to LE on PPC (#184590)
- * Fri Mar 3 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-3
- - support DW_CFA_val_{offset,offset_sf,expression} in readelf/objdump
- * Tue Feb 28 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-2
- - add MNI support on i?86/x86_64 (#183080)
- - support S signal frame augmentation flag in .eh_frame,
- add .cfi_signal_frame support (#175951, PR other/26208, BZ#300)
- * Tue Feb 14 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-1
- - update to 2.16.91.0.6
- - fix ppc64 --gc-sections
- - disassembler fixes for x86_64 cr/debug regs
- - fix linker search order for DT_NEEDED libs
- * Mon Jan 02 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.5-1
- - update to 2.16.91.0.5
- - don't error about .toc1 references to discarded sectiosn on ppc64
- (#175944)
- * Wed Dec 14 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.3-2
- - put .gnu.linkonce.d.rel.ro.* sections into relro region
- * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- - rebuilt
- * Fri Nov 11 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.3-1
- - update to 2.16.91.0.3
- - add .weakref support (Alexandre Oliva, #115157, #165728)
- * Thu Aug 18 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-4
- - install-info also configure.info
- - update standards.texi from gnulib (#165530)
- * Tue Aug 16 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-3
- - update to 20050816 CVS
- - better fix for ld-cdtest
- - fix symbol version script parsing
- * Fri Jul 29 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-2
- - don't complain about relocs to discarded sections in ppc32
- .got2 sections (Alan Modra, PR target/17828)
- * Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-1
- - update to 2.16.91.0.2
- * Thu Jul 21 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-3
- - fix buffer overflow in readelf ia64 unwind printing code
- - use vsnprintf rather than vsprintf in gas diagnostics (Tavis Ormandy)
- - fix ld-cdtest when CFLAGS contains -fexceptions
- * Wed Jul 20 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-2
- - update to 20050720 CVS
- * Mon Jul 11 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-1
- - update to 2.16.91.0.1 plus 20050708 CVS
- * Wed Jun 15 2005 Jakub Jelinek <jakub@redhat.com> 2.16.90.0.3-1
- - update to 2.16.90.0.3
- - update to 20050615 CVS
- - ppc32 secure PLT support (Alan Modra)
- - further bfd/readelf robustification
- * Sat Jun 11 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-4
- - further bfd robustification (CAN-2005-1704, #158680)
- * Fri Jun 10 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-3
- - further objdump and readelf robustification (CAN-2005-1704, #158680)
- * Wed May 25 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-2
- - bfd and readelf robustification (CAN-2005-1704, #158680)
- * Tue Mar 29 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-1
- - update to 2.15.94.0.2.2
- - speed up walk_wild_section (Robert O'Callahan)
- * Mon Mar 7 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-4
- - rebuilt with GCC 4
- * Mon Feb 28 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-3
- - fix buffer overflows in readelf (#149506)
- - move c++filt to binutils from gcc-c++, conflict with gcc-c++ < 4.0 (#86333)
- * Thu Feb 10 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-1
- - update to 2.15.94.0.2
- - fix .note.GNU-stack/PT_GNU_STACK computation in linker on ppc64 (#147296)
- - fix stripping of binaries/libraries that have empty sections right before
- .dynamic section (with the same starting address; #144038)
- - handle AS_NEEDED (...) in linker script INPUT/GROUP
- * Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-11
- - fix a longstanding -z relro bug
- * Mon Dec 13 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-10
- - avoid unnecessary gap with -z relro showing on i686 libc.so
- - ppc64 --emit-relocs fix (Alan Modra)
- - don't crash if STT_SECTION symbol has incorrect st_shndx (e.g. SHN_ABS,
- as created by nasm; #142181)
- - don't try to make absptr LSDAs relative if they don't have relocations
- against them (Alan Modra, #141162)
- * Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-5.EL4
- - fix ar xo (#104344)
- * Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-5
- - fix --just-symbols on ppc64 (Alan Modra, #135498)
- * Fri Oct 15 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-4
- - fix code detecting matching linkonce and single member comdat
- group sections (#133078)
- * Mon Oct 11 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-3
- - revert Sep 09 change to make ppc L second argument e.g. for tlbie
- non-optional
- - fix stripping of prelinked binaries and libraries (#133734)
- - allow strings(1) on 32-bit arches to be used again with > 2GB
- files (#133555)
- * Mon Oct 4 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-2
- - update to 2.15.92.0.2
- - change ld's ld.so.conf parser to match ldconfig's (#129340)
- * Mon Sep 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-9
- - avoid almost 1MB (sparse) gaps in the middle of -z relro
- libraries on x86-64 (Andreas Schwab)
- - fix -z relro to make sure end of PT_GNU_RELRO segment is always
- COMMONPAGESIZE aligned
- * Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-8
- - fix linker segfaults on input objects with SHF_LINK_ORDER with
- incorrect sh_link (H.J.Lu, Nick Clifton, #130198, BZ #290)
- * Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-7
- - resolve all undefined ppc64 .* syms to the function bodies through
- .opd, not just those used in brach instructions (Alan Modra)
- * Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-6
- - fix ppc64 ld --dotsyms (Alan Modra)
- * Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-5
- - various ppc64 make check fixes when using non-dot-syms gcc (Alan Modra)
- - fix --gc-sections
- - on ia64 create empty .gnu.linkonce.ia64unw*.* sections for
- .gnu.linkonce.t.* function doesn't need unwind info
- * Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-4
- - kill ppc64 dot symbols (Alan Modra)
- - objdump -d support for objects without dot symbols
- - support for overlapping ppc64 .opd entries
- * Mon Aug 9 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-3
- - fix a newly introduced linker crash on x86-64
- * Sun Aug 8 2004 Alan Cox <alan@redhat.com> 2.15.91.0.2-2
- - BuildRequire bison and macroise buildroot - from Steve Grubb
- * Fri Jul 30 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-1
- - update to 2.15.91.0.2
- - BuildRequire flex (#117763)
- * Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-7
- - use lib64 instead of lib directories on ia64 if %%{_lib} is
- set to lib64 by rpm
- * Sat May 15 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-6
- - fix a bug introduced in the ++/-- rejection patch
- from 2.15.90.0.3 (Alan Modra)
- * Tue May 4 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-5
- - fix s390{,x} .{,b,p2}align handling
- - ppc/ppc64 testsuite fix
- * Mon May 3 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-4
- - -z relro ppc/ppc64/ia64 fixes
- - change x86-64 .plt symbol st_size handling to match ia32
- - prettify objdump -d output
- * Tue Apr 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-3
- - several SPARC fixes
- * Sun Apr 18 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-2
- - yet another fix for .tbss handling
- * Fri Apr 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-1
- - update to 2.15.90.0.3
- * Fri Mar 26 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.1.1-2
- - update to 20040326 CVS
- - fix ppc64 weak .opd symbol handling (Alan Modra, #119086)
- - fix .tbss handling bug introduced
- * Fri Mar 26 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.1.1-1
- - update to 2.15.90.0.1.1
- * Sat Feb 21 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-8
- - with -z now without --enable-new-dtags create DT_BIND_NOW
- dynamic entry in addition to DT_FLAGS_1 with DF_1_NOW bit set
- * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-7
- - fix -pie on ppc32
- * Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-6
- - clear .plt sh_entsize on sparc32
- - put whole .got into relro area with -z now -z relro
- * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-4
- - fix -pie on IA64
- * Mon Jan 19 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-3
- - fix testcases on s390 and s390x
- * Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-2
- - fix testcases on AMD64
- - fix .got's sh_entsize on IA32/AMD64
- - set COMMONPAGESIZE on s390/s390x
- - set COMMONPAGESIZE on ppc32 (Alan Modra)
- * Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-1
- - update to 2.14.90.0.8
- * Tue Jan 13 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-4
- - fix -z relro on 64-bit arches
- * Mon Jan 12 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-3
- - fix some bugs in -z relro support
- * Fri Jan 9 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-2
- - -z relro support, reordering of RW sections
- * Fri Jan 9 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-1
- - update to 2.14.90.0.7
- * Mon Nov 24 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-4
- - fix assembly parsing of foo=(.-bar)/4 (Alan Modra)
- - fix IA-64 assembly parsing of (p7) hint @pause
- * Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-3
- - don't abort on some linker warnings/errors on IA-64
- * Sat Sep 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-2
- - fix up merge2.s to use .p2align instead of .align
- * Sat Sep 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-1
- - update to 2.14.90.0.6
- - speed up string merging (Lars Knoll, Michael Matz, Alan Modra)
- - speed up IA-64 local symbol handling during linking
- * Fri Sep 5 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-7
- - avoid ld -s segfaults introduced in 2.14.90.0.5-5 (Dmitry V. Levin,
- #103180)
- * Fri Aug 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-6
- - build old demangler into libiberty.a (#102268)
- - SPARC .cfi* support
- * Tue Aug 5 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-5
- - fix orphan section placement
- * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-4
- - fix ppc64 elfvsb linker tests
- - some more 64-bit cleanliness fixes, give ppc64 fdesc symbols
- type and size (Alan Modra)
- * Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-3
- - fix 64-bit unclean code in ppc-opc.c
- * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-2
- - fix 64-bit unclean code in tc-ppc.c
- * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-1
- - update to 2.14.90.0.5
- - fix ld -r on ppc64 (Alan Modra)
- * Fri Jul 18 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-23
- - rebuilt
- * Thu Jul 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-22
- - fix elfNN_ia64_dynamic_symbol_p (Richard Henderson, #86661)
- - don't access memory beyond what was allocated in readelf
- (Richard Henderson)
- * Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-21
- - add .cfi_* support on ppc{,64} and s390{,x}
- * Tue Jul 8 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-20
- - remove lib{bfd,opcodes}.la (#98190)
- * Mon Jul 7 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-19
- - fix -pie support on amd64, s390, s390x and ppc64
- - issue relocation overflow errors for s390/s390x -fpic code when
- accessing .got slots above 4096 bytes from .got start
- * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-18
- - rebuilt
- * Thu Jul 3 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-17
- - fix ia64 -pie support
- - require no undefined non-weak symbols in PIEs like required for normal
- binaries
- * Wed Jul 2 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-16
- - fix readelf -d on IA-64
- - build libiberty.a with -fPIC, so that it can be lined into shared
- libraries
- * Wed Jun 25 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-15
- - rebuilt
- * Wed Jun 25 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-14
- - added support for Intel Prescott instructions
- - fix hint@pause for ia64
- - add workaround for LTP sillyness (#97934)
- * Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-13
- - update CFI stuff to 2003-06-18
- - make sure .eh_frame is aligned to 8 bytes on 64-bit arches,
- remove padding within one .eh_frame section
- * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-12
- - rebuilt
- * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-11
- - one more fix for the same patch
- * Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-10
- - fix previous patch
- * Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-9
- - ensure R_PPC64_{RELATIVE,ADDR64} have *r_offset == r_addend
- and the other relocs have *r_offset == 0
- * Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-8
- - remove some unnecessary provides in ppc64 linker script
- which were causing e.g. empty .ctors/.dtors section creation
- * Fri Jun 6 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-7
- - some CFI updates/fixes
- - don't create dynamic relocations against symbols defined in PIE
- exported from its .dynsym
- * Wed Jun 4 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-6
- - update gas to 20030604
- - PT_GNU_STACK support
- * Mon Jun 2 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-5
- - buildrequire gettext (#91838)
- * Sat May 31 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-4
- - fix shared libraries with >= 8192 .plt slots on ppc32
- * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-3
- - rebuilt
- * Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-2
- - rename ld --dynamic option to --pic-executable or --pie
- - fix ld --help output
- - document --pie/--pic-executable in ld.info and ld.1
- * Wed May 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-1
- - update to 2.14.90.0.4-1
- - gas CFI updates (Richard Henderson)
- - dynamic executables (Ulrich Drepper)
- * Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.2-2
- - fix ELF visibility handling
- - tidy plt entries on IA-32, ppc and ppc64
- * Mon May 19 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.2-1
- - update to 2.14.90.0.2-1
- * Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-8
- - fix bfd_elf_hash on 64-bit arches (Andrew Haley)
- * Wed Apr 30 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-7
- - rebuilt
- * Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-6
- - optimize DW_CFA_advance_loc4 in gas even if there is 'z' augmentation
- with size 0 in FDE
- * Fri Apr 11 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-5
- - fix SPARC build
- * Thu Apr 3 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-4
- - fix ppc32 plt reference counting
- - don't include %{_prefix}/%{_lib}/debug in the non-debuginfo package
- (#87729)
- * Mon Mar 31 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-3
- - make elf64ppc target native extra on ppc and elf32ppc native extra
- on ppc64.
- * Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-2
- - fix TLS on IA-64 with ld relaxation
- * Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-1
- - update to 2.13.90.0.20
- * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-9
- - rebuilt
- * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-8
- - don't strip binaries in %%install, so that there is non-empty
- debuginfo
- * Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-7
- - don't optimize .eh_frame during ld -r
- * Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-6
- - don't clear elf_link_hash_flags in the .symver patch
- - only use TC_FORCE_RELOCATION in s390's TC_FORCE_RELOCATION_SUB_SAME
- (Alan Modra)
- * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-5
- - fix the previous .symver change
- - remove libbfd.so and libopcodes.so symlinks, so that other packages
- link statically, not dynamically against libbfd and libopcodes
- whose ABI is everything but stable
- * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-4
- - do .symver x, x@FOO handling earlier
- - support .file and .loc on s390*
- * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-3
- - handle .symver x, x@FOO in ld such that relocs against x become
- dynamic relocations against x@FOO (#83325)
- - two PPC64 TLS patches (Alan Modra)
- * Sun Feb 09 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-2
- - fix SEARCH_DIR on x86_64/s390x
- - fix Alpha --relax
- - create DT_RELA{,SZ,ENT} on s390 even if there is just .rela.plt
- and no .rela.dyn section
- - support IA-32 on IA-64 (#83752)
- - .eh_frame_hdr fix (Andreas Schwab)
- * Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-1
- - update to 2.13.90.0.18 + 20030121->20030206 CVS diff
- * Tue Feb 04 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-8
- - alpha TLS fixes
- - use .debug_line directory table to make the section tiny bit smaller
- - libtool fix from Jens Petersen
- * Sun Feb 02 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-7
- - sparc32 TLS
- * Fri Jan 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-6
- - s390{,x} TLS and two other mainframe patches
- * Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-5
- - fix IA-64 TLS IE in shared libs
- - .{preinit,init,fini}_array compat hack from Alexandre Oliva
- * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-4
- - IA-64 TLS fixes
- - fix .plt sh_entsize on Alpha
- - build with %%_smp_mflags
- * Sat Nov 30 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-3
- - fix strip on TLS binaries and libraries
- * Fri Nov 29 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-2
- - fix IA-64 ld bootstrap
- * Thu Nov 28 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-1
- - update to 2.13.90.0.16
- - STT_TLS SHN_UNDEF fix
- * Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-4
- - pad .rodata.cstNN sections at the end if they aren't sized to multiple
- of sh_entsize
- - temporary patch to make .eh_frame and .gcc_except_table sections
- readonly if possible (should be removed when AUTO_PLACE is implemented)
- - fix .PPC.EMB.apuinfo section flags
- * Wed Oct 23 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-3
- - fix names and content of alpha non-alloced .rela.* sections (#76583)
- - delete unpackaged files from the buildroot
- * Tue Oct 15 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-2
- - enable s390x resp. s390 emulation in linker too
- * Mon Oct 14 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-1
- - update to 2.13.90.0.10
- - add a bi-arch patch for sparc/s390/x86_64
- - add --enable-64-bit-bfd on sparc, s390 and ppc
- * Thu Oct 10 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-3
- - fix combreloc testcase
- * Thu Oct 10 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-2
- - fix orphan .rel and .rela section placement with -z combreloc (Alan Modra)
- - skip incompatible linker scripts when searching for libraries
- * 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
- - fix R_386_TPOFF32 addends (#70824)
- * Sat Aug 3 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-1
- - update to 2.13.90.0.2
- - fix ld TLS assertion failure (#70084)
- - fix readelf --debug-dump= handling to match man page and --help
- (#68997)
- - fix _GLOBAL_OFFSET_TABLE gas handling (#70241)
- * Wed Jul 24 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.15-1
- - update to 2.12.90.0.15
- - TLS .tbss fix
- - don't use rpm %%configure macro, it is broken too often (#69366)
- * Thu May 30 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.9-1
- - update to 2.12.90.0.9
- - TLS support
- - remove gasp.info from %%post/%%preun (#65400)
- * Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.7-1
- - update to 2.12.90.0.7
- - run make check
- * Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-12
- - fix .hidden handling on SPARC (Richard Henderson)
- - don't crash when linking -shared non-pic code with SHF_MERGE
- - fix .eh_frame_hdr for DW_EH_PE_aligned
- - correctly adjust DW_EH_PE_pcrel encoded personalities in CIEs
- * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-11
- - don't emit dynamic R_SPARC_DISP* relocs against STV_HIDDEN symbols
- into shared libraries
- * Thu Mar 21 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-10
- - don't merge IA-64 unwind info sections together during ld -r
- * Mon Mar 11 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-9
- - fix DATA_SEGMENT_ALIGN on ia64/alpha/sparc/sparc64
- * Fri Mar 8 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-8
- - don't crash on SHN_UNDEF local dynsyms (Andrew MacLeod)
- * Thu Mar 7 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-7
- - fix bfd configury bug (Alan Modra)
- * Tue Mar 5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-6
- - don't copy visibility when equating symbols
- - fix alpha .text/.data with .previous directive bug
- * Tue Mar 5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-5
- - fix SHF_MERGE crash with --gc-sections (#60369)
- - C++ symbol versioning patch
- * Fri Feb 22 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-4
- - add DW_EH_PE_absptr -> DW_EH_PE_pcrel optimization for shared libs,
- if DW_EH_PE_absptr cannot be converted that way, don't build the
- .eh_frame_hdr search table
- * Fri Feb 15 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-3
- - fix ld -N broken by last patch
- * Tue Feb 12 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-2
- - trade one saved runtime page for data segment (=almost always not shared)
- for up to one page of disk space where possible
- * Fri Feb 8 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-1
- - update to 2.11.93.0.2
- - use %%{ix86} instead of i386 for -z combreloc default (#59086)
- * Thu Jan 31 2002 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-10
- - don't create SHN_UNDEF STB_WEAK symbols unless there are any relocations
- against them
- * Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 2.11.92.0.12-9.1
- - rebuild (fix ia64 miscompilation)
- * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Fri Dec 28 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-8
- - two further .eh_frame patch fixes
- * Wed Dec 19 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-7
- - as ld is currently not able to shrink input sections to zero size
- during discard_info, build a fake minimal CIE in that case
- - update elf-strtab patch to what was commited
- * Mon Dec 17 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-6
- - one more .eh_frame patch fix
- - fix alpha .eh_frame handling
- - optimize elf-strtab finalize
- * Sat Dec 15 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-5
- - yet another fix for the .eh_frame patch
- * Fri Dec 14 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-4
- - Alan Modra's patch to avoid crash if there is no dynobj
- * Thu Dec 13 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-3
- - H.J.'s patch to avoid crash if input files are not ELF
- - don't crash if a SHF_MERGE for some reason could not be merged
- - fix objcopy/strip to preserve SHF_MERGE sh_entsize
- - optimize .eh_frame sections, add PT_GNU_EH_FRAME support
- - support anonymous version tags in version script
- * Tue Nov 27 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-2
- - fix IA-64 SHF_MERGE handling
- * Tue Nov 27 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-1
- - update to 2.11.92.0.12
- - optimize .dynstr and .shstrtab sections (#55524)
- - fix ld.1 glitch (#55459)
- - turn relocs against SHF_MERGE local symbols with zero addend
- into STT_SECTION + addend
- - remove man pages for programs not included (nlmconv, windres, dlltool;
- #55456, #55461)
- - add BuildRequires for texinfo
- * Thu Oct 25 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.7-2
- - duh, fix strings on bfd objects (#55084)
- * Sat Oct 20 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.7-1
- - update to 2.11.92.0.7
- - remove .rel{,a}.dyn from output if it is empty
- * Thu Oct 11 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.5-2
- - fix strings patch
- - use getc_unlocked in strings to speed it up by 50% on large files
- * Wed Oct 10 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.5-1
- - update to 2.11.92.0.5
- - binutils localization (#45148)
- - fix typo in REPORT_BUGS_TO (#54325)
- - support files bigger than 2GB in strings (#54406)
- * Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-12
- - on IA-64, don't mix R_IA64_IPLTLSB relocs with non-PLT relocs in
- .rela.dyn section.
- * Tue Sep 25 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-11
- - add iplt support for IA-64 (Richard Henderson)
- - switch to new section flags for SHF_MERGE and SHF_STRINGS, put
- in compatibility code
- - "s" section flag for small data sections on IA-64 and Alpha
- (Richard Henderson)
- - fix sparc64 .plt[32768+] handling
- - don't emit .rela.stab on sparc
- * Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-10
- - fix SHF_MERGE on Sparc
- * Fri Aug 31 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-9
- - on Alpha, copy *r_offset to R_ALPHA_RELATIVE's r_addend
- * Thu Aug 30 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-8
- - on IA-64, put crtend{,S}.o's .IA_64.unwind section last in
- .IA_64.unwind output section (for compatibility with 7.1 eh)
- * Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-7
- - put RELATIVE relocs first, not last
- - enable -z combreloc by default on IA-{32,64}, Alpha, Sparc*
- * Thu Aug 23 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-6
- - support for -z combreloc
- - remove .dynamic patch, -z combreloc patch does this better
- - set STT_FUNC default symbol sizes in .endp directive on IA-64
- * Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-5
- - fix last patch (H.J.Lu)
- * Fri Jul 13 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-4
- - fix placing of orphan sections
- * Sat Jun 23 2001 Jakub Jelinek <jakub@redhat.com>
- - fix SHF_MERGE support on Alpha
- * Fri Jun 8 2001 Jakub Jelinek <jakub@redhat.com>
- - 2.11.90.0.8
- - some SHF_MERGE suport fixes
- - don't build with tooldir /usrusr instead of /usr (#40937)
- - reserve few .dynamic entries for prelinking
- * Mon Apr 16 2001 Jakub Jelinek <jakub@redhat.com>
- - 2.11.90.0.5
- - SHF_MERGE support
- * Tue Apr 3 2001 Jakub Jelinek <jakub@redhat.com>
- - 2.11.90.0.4
- - fix uleb128 support, so that CVS gcc bootstraps
- - some ia64 fixes
- * Mon Mar 19 2001 Jakub Jelinek <jakub@redhat.com>
- - add -Bgroup support from Ulrich Drepper
- * Fri Mar 9 2001 Jakub Jelinek <jakub@redhat.com>
- - hack - add elf_i386_glibc21 emulation
- * Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
- - 2.10.91.0.2
- * Fri Feb 9 2001 Jakub Jelinek <jakub@redhat.com>
- - 2.10.1.0.7
- - remove ExcludeArch ia64
- - back out the -oformat, -omagic and -output change for now
- * Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
- - Prereq /sbin/install-info
- * Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
- - 2.10.1.0.2
- * Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
- - add one more alpha patch
- * Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
- - fix alpha visibility as problem
- - add support for Ultra-III
- * Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
- - and one more alpha patch
- * Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
- - two sparc patches
- * Mon Jul 24 2000 Jakub Jelinek <jakub@redhat.com>
- - 2.10.0.18
- * Mon Jul 10 2000 Jakub Jelinek <jakub@redhat.com>
- - 2.10.0.12
- * Mon Jun 26 2000 Jakub Jelinek <jakub@redhat.com>
- - 2.10.0.9
- * Thu Jun 15 2000 Jakub Jelinek <jakub@redhat.com>
- - fix ld -r
- * Mon Jun 5 2000 Jakub Jelinek <jakub@redhat.com>
- - 2.9.5.0.46
- - use _mandir/_infodir/_lib
- * Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.41
- * Wed Apr 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.34
- * Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.31
- * Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
- - man pages are compressed
- - apply kingdon's patch from #5031
- * Wed Jan 19 2000 Jeff Johnson <jbj@redhat.com>
- - Permit package to be built with a prefix other than /usr.
- * Thu Jan 13 2000 Cristian Gafton <gafton@redhat.com>
- - add pacth from hjl to fix the versioning problems in ld
- * Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - Add sparc patches from Jakub Jelinek <jakub@redhat.com>
- - Add URL:
- * Tue Dec 14 1999 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.22
- * Wed Nov 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.19
- * Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
- - 2.9.5.0.16
- * Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>
- - make shared non-pic libraries work on sparc with glibc 2.1.
- * Fri Aug 27 1999 Jim Kingdon
- - No source/spec changes, just rebuilding with egcs-1.1.2-18 because
- the older egcs was miscompling gprof.
- * Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
- - back out very *stupid* sparc patch done by HJLu. People, keep out of
- things you don't understand.
- - add alpha relax patch from rth
- * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
- - version 2.9.1.0.23
- - patch to make texinfo documentation compile
- - auto rebuild in the new build environment (release 2)
- * Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com>
- - updated to 2.9.1.0.21
- - merged with UltraPenguin
- * Mon Jan 04 1999 Cristian Gafton <gafton@redhat.com>
- - added ARM patch from philb
- - version 2.9.1.0.19a
- - added a patch to allow arm* arch to be identified as an ARM
- * Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com>
- - updated to 2.9.1.0.14.
- * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
- - updated to 2.9.1.0.13.
- * Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
- - updated to 2.9.1.0.12
- * Thu Jul 2 1998 Jeff Johnson <jbj@redhat.com>
- - updated to 2.9.1.0.7.
- * Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
- - updated to 2.9.1.0.6.
- * Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
- - added patch from rth to get right offsets for sections in relocateable
- objects on sparc32
- * Thu May 07 1998 Prospector System <bugs@redhat.com>
- - translations modified for de, fr, tr
- * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
- - version 2.9.1.0.4 is out; even more, it is public !
- * Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
- - updated to 2.9.1.0.3.
- * Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
- - updated to 2.9.0.3
- * Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
- - upgraded to 2.9.0.2
- * Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
- - updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
- :-)
- - "fixed" the damn make install command so that all tools get installed
- * Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
- - upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
- - added info packages handling
- * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
- - upgraded to 2.8.1.0.23
- * Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
- - updated to 2.8.1.0.15 (required to compile the newer glibc)
- - all patches are obsoleted now
- * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
- - added 2.8.1.0.1 patch from hj
- - added patch for alpha palcode form rth
|