source: projects/specs/trunk/b/binutils/binutils-vl.spec @ 12225

Revision 12225, 62.1 KB checked in by tomop, 5 years ago (diff)

updated 4 packages

binutils-2.32-1

gcc-8.3.1-1

glibc-2.30-1

libtool-2.4.6-5

Line 
1# rpmbuild parameters:
2# --with debug: Build without optimizations and without splitting the debuginfo.
3# --without testsuite: Do not run the testsuite.  Default is to run it.
4# --with testsuite: Run the testsuite.  Default --with debug is not to run it.
5
6# Enable support for GCC LTO compilation.
7%define enable_lto 1
8
9# Disable the default generation of compressed debug sections.
10%define default_compress_debug 0
11
12# Default to read-only-relocations (relro) in shared binaries.
13%define default_relro 1
14
15# Disable the default generation of GNU Build notes by the assembler.
16# This has turned out to be problematic for the i686 architecture.
17# although the exact reason has not been determined.  (See BZ 1572485)
18# It also breaks building EFI binaries on AArch64, as these cannot have
19# relocations against absolute symbols.
20%define default_generate_notes 0
21
22# Enable thread support in the GOLD linker.  This is particularly
23# important if plugins to the linker intend to use threads themselves.
24# See BZ 1636479 for more details.  This option is made configurable
25# in case there is ever a need to disable thread support.
26%define enable_threading 1
27
28%define binutils_target %{_target_platform}
29%define isnative 1
30%define enable_shared 1
31
32%bcond_without docs
33
34Summary: A GNU collection of binary utilities.
35Summary(ja): GNU 版バイナリユーティリティ集
36Name: binutils
37Version: 2.32
38Release: 1%{?_dist_release}
39License: GPLv3+
40Group: Development/Tools
41URL: http://sources.redhat.com/binutils
42
43Vendor:         Project Vine
44Distribution:   Vine Linux
45Packager:       kenta, shaolin, inagaki
46
47# Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
48# The ftp.kernel.org/pub/linux/devel/binutils/ page is (temporarily) unavailable
49# so we use the GNU site instead.
50# Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
51Source: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
52Source2: binutils-2.19.50.0.1-output-format.sed
53
54#----------------------------------------------------------------------------
55
56# Purpose:  Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
57#           default library search path of 64-bit targets.
58# Lifetime: Permanent, but it should not be.  This is a bug in the libtool
59#           sources used in both binutils and gcc, (specifically the
60#           libtool.m4 file).  These are based on a version released in 2009
61#           (2.2.6?) rather than the latest version.  (Definitely fixed in
62#           libtool version 2.4.6).
63Patch01: binutils-2.20.51.0.2-libtool-lib64.patch
64
65# Purpose:  Appends a RHEL or Fedora release string to the generic binutils
66#           version string.
67# Lifetime: Permanent.  This is a RHEL/Fedora specific patch.
68Patch02: binutils-2.25-version.patch
69
70# Purpose:  Exports the demangle.h header file (associated with the libiberty
71#           sources) with the binutils-devel rpm.
72# Lifetime: Permanent.  This is a RHEL/Fedora specific patch.
73Patch03: binutils-export-demangle.h.patch
74
75# Purpose:  Disables the check in the BFD library's bfd.h header file that
76#           config.h has been included before the bfd.h header.  See BZ
77#           #845084 for more details.
78# Lifetime: Permanent - but it should not be.  The bfd.h header defines
79#           various types that are dependent upon configuration options, so
80#           the order of inclusion is important.
81# FIXME:    It would be better if the packages using the bfd.h header were
82#           fixed so that they do include the header files in the correct
83#           order.
84Patch04: binutils-2.22.52.0.4-no-config-h-check.patch
85
86# Purpose:  Include the filename concerned in readelf error messages.  This
87#           makes readelf's output more helpful when it is run on multiple
88#           input files.
89# Lifetime: Permanent.  This patch changes the format of readelf's output,
90#           making it better (IMHO) but also potentially breaking tools that
91#           depend upon readelf's current format.  Hence it remains a local
92#           patch.
93Patch05: binutils-2.29-filename-in-error-messages.patch
94
95# Purpose:  Disable an x86/x86_64 optimization that moves functions from the
96#           PLT into the GOTPLT for faster access.  This optimization is
97#           problematic for tools that want to intercept PLT entries, such
98#           as ltrace and LD_AUDIT.  See BZs 1452111 and 1333481.
99# Lifetime: Permanent.  But it should not be.
100# FIXME:    Replace with a configure time option.
101Patch06: binutils-2.29-revert-PLT-elision.patch
102
103# Purpose:  Changes readelf so that when it displays extra information about
104#           a symbol, this information is placed at the end of the line.
105# Lifetime: Permanent.
106# FIXME:    The proper fix would be to update the scripts that are expecting
107#           a fixed output from readelf.  But it seems that some of them are
108#           no longer being maintained.
109Patch07: binutils-readelf-other-sym-info.patch
110
111# Purpose:  Do not create PLT entries for AARCH64 IFUNC symbols referenced in
112#           debug sections.
113# Lifetime: Permanent.
114# FIXME:    Find related bug.  Decide on permanency.
115Patch08: binutils-2.27-aarch64-ifunc.patch
116
117# Purpose:  Stop the binutils from statically linking with libstdc++.
118# Lifetime: Permanent.
119Patch09: binutils-do-not-link-with-static-libstdc++.patch
120
121# Purpose:  Add a .attach_to_group pseudo-op to the assembler for
122#           use by the annobin gcc plugin.
123# Lifetime: Permanent.
124Patch10: binutils-attach-to-group.patch
125
126# Purpose:  Stop gold from complaining about relocs in the .gnu.build.attribute
127#           section that reference symbols in discarded sections.
128# Lifetime: Fixed in 2.33 (maybe)
129Patch11: binutils-gold-ignore-discarded-note-relocs.patch
130
131# Purpose:  Allow OS specific sections in section groups.
132# Lifetime: Might be fixed in 2.33
133Patch12: binutils-special-sections-in-groups.patch
134
135# Purpose:  Fix linker testsuite failures.
136# Lifetime: Fixed in 2.33 (possibly)
137Patch13: binutils-fix-testsuite-failures.patch
138
139# Purpose:  Improve objdump's handling of corrupt input files.
140# Lifetime: Fixed in 2.33
141Patch14: binutils-CVE-2019-9073.patch
142
143# Purpose:  Stop illegal memory access parsing corrupt PE files.
144# Lifetime: Fixed in 2.33
145Patch15: binutils-CVE-2019-9074.patch
146
147# Purpose:  Stop illegal memory access parsing corrupt archives.
148# Lifetime: Fixed in 2.33
149Patch16: binutils-CVE-2019-9075.patch
150
151# Purpose:  Stop illegal memory access parsing a corrupt MIPS binary.
152# Lifetime: Fixed in 2.33
153Patch17: binutils-CVE-2019-9077.patch
154
155# Purpose:  Stop a seg-fault when disassembling an EFI binary.
156# Lifetime: Fixed in 2.33
157Patch18: binutils-disassembling-efi-files.patch
158
159# Purpose:  Fix a stack exhaustion problem in libiberty's name demangling code.
160# Lifetime: Fixed in 2.33
161Patch19: binutils-CVE-2019-9071.patch
162
163# Purpose:  Have the GOLD linker for AArch64 generate PLT entries for MOVW_ABS
164#           relocations if necessary.
165# Lifetime: Fixed in 2.33
166Patch20: binutils-aarch64-gold-PLT-for-MOVW_ABS.patch
167
168# Purpose:  Stop gold from aborting when input sections with the same name
169#            have different flags.
170# Lifetime: Fixed in 2.33 (probably)
171Patch21: binutils-gold-mismatched-section-flags.patch
172
173# Purpose:  Corrcect a memory corruption when generating relocs for build
174#            notes in the assembler.
175# Lifetime: Fixed in 2.33
176Patch22: binutils-gas-build-note-relocs.patch
177
178# Purpose:  Stop the BFD library from issueing warning messages about allocated
179#            sections being found outside of loadable segments, if they are
180#            found inside debuginfo files.
181# Lifetime: Fixed in 2.33
182Patch23: binutils-do-not-warn-about-debuginfo-files.patch
183
184# Purpose:  Stops the linker from merging section groups with different exclusion flags.
185# Lifetime: Fixed in 2.33
186Patch24: binutils-do-not-merge-differing-SHF_EXCLUDE-groups.patch
187
188# Purpose: Fix -Map and property merging
189# Lifetime: Fixed in 2.33
190Patch25: binutils-rh1736114.patch
191
192# Purpose: Change objcopy/strip so that they do not complain if the
193#  first note in a sequence of build notes is not a version note.
194# Lifetime: Fixed in 2.33
195Patch26: binutils-objcopy-gnu-build-version-notes.patch
196
197# Purpose: Add a check to the GOLD linker for a corrupt input file
198#  with a fuzzed section offset.
199# Lifetime: Fixed in 2.33
200Patch27: binutils-CVE-2019-1010204.patch
201
202# Purpose: Add check to libiberty library in order to prevent an integer overflow in the gold linker.
203# Lifetime: Fixed in 2.33
204Patch28: binutils-CVE-2019-14250.patch
205
206# Purpose: Add check to readelf in order to prevent an integer overflow.
207# Lifetime: Fixed in 2.33
208Patch29: binutils-CVE-2019-14444.patch
209
210#----------------------------------------------------------------------------
211
212Patch1001: binutils-2.26-uio-vine.patch
213
214%if %{?_dist_release} > vl6
215%define gold_arches %ix86 x86_64
216%endif
217
218%if 0%{?_with_debug:1}
219# Define this if you want to skip the strip step and preserve debug info.
220# Useful for testing.
221%define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
222%define debug_package %{nil}
223%define run_testsuite 0%{?_with_testsuite:1}
224%else
225%define run_testsuite 0%{!?_without_testsuite:1}
226%endif
227
228Buildroot: %{_tmppath}/%{name}-%{version}-root
229BuildRequires: texinfo >= 4.0, gettext, flex, bison, zlib-devel
230# Required for: ld-bootstrap/bootstrap.exp bootstrap with --static
231# It should not be required for: ld-elf/elf.exp static {preinit,init,fini} array
232%if %{run_testsuite}
233BuildRequires: dejagnu, zlib-static, glibc-devel, sharutils
234#BuildRequires: dejagnu, zlib-static, glibc-static, sharutils
235%endif
236Conflicts: gcc-c++ < 4.0.0
237Requires(post): /sbin/install-info
238Requires(preun): /sbin/install-info
239%ifarch ia64
240Obsoletes: gnupro
241%endif
242
243# The higher of these two numbers determines the default ld.
244%{!?ld_bfd_priority: %global ld_bfd_priority    50}
245%{!?ld_gold_priority:%global ld_gold_priority   30}
246
247%ifarch %gold_arches
248Requires(post): coreutils
249Requires(post): alternatives
250Requires(preun): alternatives
251%endif
252
253# On ARM EABI systems, we do want -gnueabi to be part of the
254# target triple.
255%ifnarch %{arm}
256%define _gnu %{nil}
257%endif
258
259%description
260Binutils is a collection of binary utilities, including ar (for
261creating, modifying and extracting from archives), as (a family of GNU
262assemblers), gprof (for displaying call graph profile data), ld (the
263GNU linker), nm (for listing symbols from object files), objcopy (for
264copying and translating object files), objdump (for displaying
265information from object files), ranlib (for generating an index for
266the contents of an archive), size (for listing the section sizes of an
267object or archive file), strings (for listing printable strings from
268files), strip (for discarding symbols), and addr2line (for converting
269addresses to file and line).
270
271%description -l ja
272Binutils はバイナリユーティリティ集です。 ar (アーカイブの作成、修正、
273取り出しを行う)、as (GNU アセンブラファミリ)、gprof (グラフプロファイル
274データの表示)、ld (GNU リンカ)、nm (オブジェクトファイルのシンボル一覧を
275表示)、objcopy (オブジェクトファイルのコピー,変換を行う)、
276objdump (オブジェクトファイルの情報を表示する)、ranlib (アーカイブの内容
277一覧を作成)、size (オブジェクトやアーカイブのセクションサイズを表示)、
278strings (ファイルから表示可能な文字列を表示する)、strip (シンボルを
279削除する)、addr2line (アドレスをファイル等に変換する) などが含まれています。
280
281
282%package devel
283Summary: BFD and opcodes static libraries and header files
284Group: Development/Libraries
285Conflicts: binutils < 2.17.50.0.3-4
286Requires(post): /sbin/install-info
287Requires(preun): /sbin/install-info
288Requires: zlib-devel
289
290%description devel
291This package contains BFD and opcodes static libraries and associated
292header files.  Only *.a libraries are included, because BFD doesn't
293have a stable ABI.  Developers starting new projects are strongly encouraged
294to consider using libelf instead of BFD.
295
296
297%prep
298%autosetup -p1
299
300# We cannot run autotools as there is an exact requirement of autoconf-2.59.
301
302# On ppc64 and aarch64, we might use 64KiB pages
303sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
304sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*aarch64.c
305sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc
306sed -i -e '/pagesize/s/0x1000,/0x10000,/' gold/aarch64.cc
307# LTP sucks
308perl -pi -e 's/i\[3-7\]86/i[34567]86/g' */conf*
309sed -i -e 's/%''{release}/%{release}/g' bfd/Makefile{.am,.in}
310sed -i -e '/^libopcodes_la_\(DEPENDENCIES\|LIBADD\)/s,$, ../bfd/libbfd.la,' opcodes/Makefile.{am,in}
311# Build libbfd.so and libopcodes.so with -Bsymbolic-functions if possible.
312if gcc %{optflags} -v --help 2>&1 | grep -q -- -Bsymbolic-functions; then
313sed -i -e 's/^libbfd_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' bfd/Makefile.{am,in}
314sed -i -e 's/^libopcodes_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' opcodes/Makefile.{am,in}
315fi
316# $PACKAGE is used for the gettext catalog name.
317sed -i -e 's/^ PACKAGE=/ PACKAGE=%{?cross}/' */configure
318# Undo the name change to run the testsuite.
319for tool in binutils gas ld
320do
321  sed -i -e "2aDEJATOOL = $tool" $tool/Makefile.am
322  sed -i -e "s/^DEJATOOL = .*/DEJATOOL = $tool/" $tool/Makefile.in
323done
324touch */configure
325# Touch the .info files so that they are newer then the .texi files and
326# hence do not need to be rebuilt.  This eliminates the need for makeinfo.
327# The -print is there just to confirm that the command is working.
328%if %{without docs}
329  find . -name *.info -print -exec touch {} \;
330%endif
331
332
333%build
334echo target is %{binutils_target}
335export CFLAGS="$RPM_OPT_FLAGS"
336CARGS=
337
338case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*)
339  CARGS="$CARGS --enable-64-bit-bfd"
340  ;;
341esac
342
343case %{binutils_target} in x86_64*|i?86*|arm*|aarch64*)
344  CARGS="$CARGS --enable-targets=x86_64-pep"
345  ;;
346esac
347
348%if %{default_relro}
349  CARGS="$CARGS --enable-relro=yes"
350%else
351  CARGS="$CARGS --enable-relro=no"
352%endif
353
354%if 0%{?_with_debug:1}
355CFLAGS="$CFLAGS -O0 -ggdb2"
356%define enable_shared 0
357%endif
358
359# We could optimize the cross builds size by --enable-shared but the produced
360# binaries may be less convenient in the embedded environment.
361%configure \
362  --build=%{_target_platform} --host=%{_target_platform} \
363  --target=%{binutils_target} \
364%ifarch %gold_arches
365  --enable-gold=default \
366%else
367  --enable-gold=no \
368%endif
369  --enable-ld \
370%if %{isnative}
371  --with-sysroot=/ \
372%else
373  --enable-targets=%{_host} \
374  --with-sysroot=%{_prefix}/%{binutils_target}/sys-root \
375  --program-prefix=%{cross} \
376%endif
377%if %{enable_shared}
378  --enable-shared \
379%else
380  --disable-shared \
381%endif
382%if %{enable_lto}
383  --enable-lto \
384%endif
385%if %{default_compress_debug}
386  --enable-compressed-debug-sections=all \
387%else
388  --enable-compressed-debug-sections=none \
389%endif
390%if %{default_generate_notes}
391  --enable-generate-build-notes=yes \
392%else
393  --enable-generate-build-notes=no \
394%endif
395%if %{enable_threading}
396  --enable-threads=yes \
397%else
398  --enable-threads=no \
399%endif
400  $CARGS \
401  --enable-plugins \
402  --disable-werror \
403  --with-bugurl=http://bugzilla.redhat.com/bugzilla/
404
405%if %{with docs}
406make %{_smp_mflags} tooldir=%{_prefix} all
407make %{_smp_mflags} tooldir=%{_prefix} info
408%else
409%make_build %{_smp_mflags} tooldir=%{_prefix} MAKEINFO=true all
410%endif
411
412# Do not use %%check as it is run after %%install where libbfd.so is rebuild
413# with -fvisibility=hidden no longer being usable in its shared form.
414%if !%{run_testsuite}
415echo ====================TESTSUITE DISABLED=========================
416%else
417make -k check < /dev/null || :
418echo ====================TESTING=========================
419cat {gas/testsuite/gas,ld/ld,binutils/binutils}.sum
420if [ -f gold/test-suite.log ]; then
421    cat gold/test-suite.log
422fi
423if [ -f gold/testsuite/test-suite.log ]; then
424    cat gold/testsuite/*.log
425fi
426echo ====================TESTING END=====================
427for file in {gas/testsuite/gas,ld/ld,binutils/binutils}.{sum,log}
428do
429  ln $file binutils-%{_target_platform}-$(basename $file) || :
430done
431tar cjf binutils-%{_target_platform}.tar.xz  binutils-%{_target_platform}-*.{sum,log}
432uuencode binutils-%{_target_platform}.tar.xz binutils-%{_target_platform}.tar.xz
433rm -f binutils-%{_target_platform}.tar.xz    binutils-%{_target_platform}-*.{sum,log}
434if [ -f gold/testsuite/test-suite.log ]; then
435  tar cjf  binutils-%{_target_platform}-gold.log.tar.xz gold/testsuite/*.log
436  uuencode binutils-%{_target_platform}-gold.log.tar.xz binutils-%{_target_platform}-gold.log.tar.xz
437  rm -f    binutils-%{_target_platform}-gold.log.tar.xz
438fi
439%endif
440
441%install
442rm -rf $RPM_BUILD_ROOT
443%if %{with docs}
444%make_install DESTDIR=%{buildroot}
445%else
446%make_install DESTDIR=%{buildroot} MAKEINFO=true
447%endif
448
449%if %{isnative}
450%if %{with docs}
451make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
452%endif
453
454# Rebuild libiberty.a with -fPIC.
455# Future: Remove it together with its header file, projects should bundle it.
456make -C libiberty clean
457make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
458
459# Rebuild libbfd.a with -fPIC.
460# Without the hidden visibility the 3rd party shared libraries would export
461# the bfd non-stable ABI.
462make -C bfd clean
463make CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
464
465# Rebuild libopcodes.a with -fPIC.
466make -C opcodes clean
467make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
468
469install -m 644 bfd/libbfd.a $RPM_BUILD_ROOT%{_libdir}
470install -m 644 libiberty/libiberty.a $RPM_BUILD_ROOT%{_libdir}
471install -m 644 include/libiberty.h $RPM_BUILD_ROOT%{_prefix}/include
472install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
473# Remove Windows/Novell only man pages
474rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
475%if %{without docs}
476rm -f %{buildroot}%{_mandir}/man1/{addr2line,ar,as,c++filt,elfedit,gprof,ld,nm,objcopy,objdump,ranlib,readelf,size,strings,strip}*
477rm -f %{buildroot}%{_infodir}/{as,bfd,binutils,gprof,ld}*
478%endif
479
480%if %{enable_shared}
481chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so*
482%endif
483
484# Prevent programs from linking against libbfd and libopcodes
485# dynamically, as they are change far too often.
486rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
487
488# Remove libtool files, which reference the .so libs
489rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
490
491# Sanity check --enable-64-bit-bfd really works.
492grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h
493# Fix multilib conflicts of generated values by __WORDSIZE-based expressions.
494%ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm
495sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include <bits/wordsize.h>~;}' \
496    -e 's/^#define BFD_DEFAULT_TARGET_SIZE \(32\|64\) *$/#define BFD_DEFAULT_TARGET_SIZE __WORDSIZE/' \
497    -e 's/^#define BFD_HOST_64BIT_LONG [01] *$/#define BFD_HOST_64BIT_LONG (__WORDSIZE == 64)/' \
498    -e 's/^#define BFD_HOST_64_BIT \(long \)\?long *$/#if __WORDSIZE == 32\
499#define BFD_HOST_64_BIT long long\
500#else\
501#define BFD_HOST_64_BIT long\
502#endif/' \
503    -e 's/^#define BFD_HOST_U_64_BIT unsigned \(long \)\?long *$/#define BFD_HOST_U_64_BIT unsigned BFD_HOST_64_BIT/' \
504    %{buildroot}%{_prefix}/include/bfd.h
505%endif
506touch -r bfd/bfd-in2.h %{buildroot}%{_prefix}/include/bfd.h
507
508# Generate .so linker scripts for dependencies; imported from glibc/Makerules:
509
510# This fragment of linker script gives the OUTPUT_FORMAT statement
511# for the configuration we are building.
512OUTPUT_FORMAT="\
513/* Ensure this .so library will not be used by a link for a different format
514   on a multi-architecture system.  */
515$(gcc $CFLAGS $LDFLAGS -shared -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | sed -n -f "%{SOURCE2}")"
516
517tee $RPM_BUILD_ROOT%{_libdir}/libbfd.so <<EOH
518/* GNU ld script */
519
520$OUTPUT_FORMAT
521
522/* The libz dependency is unexpected by legacy build scripts.  */
523/* The libdl dependency is for plugin support.  (BZ 889134)  */
524INPUT ( %{_libdir}/libbfd.a -liberty -lz -ldl )
525EOH
526
527tee %{buildroot}%{_libdir}/libopcodes.so <<EOH
528/* GNU ld script */
529
530$OUTPUT_FORMAT
531
532INPUT ( %{_libdir}/libopcodes.a -lbfd )
533EOH
534%endif # !isnative
535
536# This one comes from gcc
537rm -f $RPM_BUILD_ROOT%{_infodir}/dir
538rm -rf $RPM_BUILD_ROOT%{_prefix}/%{binutils_target}
539
540%find_lang binutils
541%find_lang opcodes
542%find_lang bfd
543%find_lang gas
544%find_lang gprof
545cat opcodes.lang >> binutils.lang
546cat bfd.lang >> binutils.lang
547cat gas.lang >> binutils.lang
548cat gprof.lang >> binutils.lang
549
550if [ -x ld/ld-new ]; then
551  %find_lang ld
552  cat ld.lang >> binutils.lang
553fi
554if [ -x gold/ld-new ]; then
555  %find_lang gold
556  cat gold.lang >> binutils.lang
557fi
558
559%clean
560rm -rf $RPM_BUILD_ROOT
561
562
563%post
564%ifarch %gold_arches
565%__rm -f %{_bindir}/ld
566  /sbin/alternatives --install %{_bindir}/ld ld \
567  %{_bindir}/ld.bfd %{ld_bfd_priority}
568  /sbin/alternatives --install %{_bindir}/ld ld \
569  %{_bindir}/ld.gold %{ld_gold_priority}
570  /sbin/alternatives --auto ld
571%endif
572
573/sbin/ldconfig
574if [ -e %{_infodir}/binutils.info.gz ]
575then
576  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
577  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
578  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
579  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
580fi
581
582%preun
583%ifarch %gold_arches
584if [ $1 = 0 ]; then
585  /sbi/alternatives --remove ld %{_bindir}/ld.gold
586  /sbin/alternatives --remove ld %{_bindir}/ld.bfd
587fi
588%endif
589
590if [ $1 = 0 ] ;then
591  if [ -e %{_infodir}/binutils.info.gz ]
592  then
593      /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
594      /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
595      /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
596      /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
597  fi
598fi
599
600%postun -p /sbin/ldconfig
601
602%post devel
603if [ -e %{_infodir}/bfd.info.gz ]
604then
605    /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
606fi
607
608%preun devel
609if [ $1 = 0 ] ;then
610  if [ -e %{_infodir}/bfd.info.gz ]
611  then
612      /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
613  fi
614fi
615
616
617%files -f binutils.lang
618%defattr(-,root,root,-)
619%doc README
620%{_bindir}/*
621%ifarch %gold_arches
622%ghost %{_bindir}/ld
623%endif
624%{_mandir}/man1/*
625%if %{enable_shared}
626%{_libdir}/lib*.so
627%exclude %{_libdir}/libbfd.so
628%exclude %{_libdir}/libopcodes.so
629%endif
630%{_infodir}/[^b]*info*
631%{_infodir}/binutils*info*
632
633%files devel
634%defattr(-,root,root)
635%{_prefix}/include/*
636%{_libdir}/libbfd.so
637%{_libdir}/libopcodes.so
638%{_libdir}/lib*.a
639%{_infodir}/bfd*info*
640
641
642%changelog
643* Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.32-1
644- updated to 2.32.
645- dropped Patch11, 13-22, 24 and 25: fixed in upstream.
646- renumbered patches.
647- imported Patch14-29 from rawhide.
648
649* Tue Jan 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.31.1-1
650- updated to 2.31.1.
651- dropped Patch1-9.
652- imported Patch01-25 from rawhide.
653
654* Sun Jun 26 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26-4
655- rebuild with gcc-5.4.0
656
657* Tue May 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.26-3
658- rebuilt only.
659
660* Sun May 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.26-2
661- added Patch09 (binutils-2.26-symbol-version.patch).
662
663* Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26-1
664- update to 2.26
665- update Patch04 (binutils-2.26-version.patch)
666- update Patch05 (binutils-2.26-set-long-long.patch)
667- remove Patch06 (binutils-2.23.2-build-id.patch)
668- update Patch07 (binutils-2.26-copy-osabi.patch)
669- update Patch08 (binutils-2.26-sec-merge-emit.patch)
670- add Patch1001: binutils-2.26-uio-vine.patch
671
672* Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.23.2-2
673- rebuild with VineSeed environment
674
675* Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.23.2-1
676- update to 2.23.2
677- remove Patch02 (binutils-2.20.51.0.12-ppc64-pie.patch)
678- update Patch06 (binutils-2.23.2-build-id.patch)
679
680* Tue Oct 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.22-3
681- rebuild with gcc-4.8.1
682
683* Sat Jan 14 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 2.22-2
684- enabled linker plugins support
685
686* Fri Nov 25 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 2.22-1
687- updated to 2.22 (gnu.org)
688- updated Patch06: build-id patch
689- dropped Patch09: gold-plugins patch
690
691* Sun Apr 03 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 2.20.51.0.12-1
692- updated to 2.20.51.0.12
693- updated --build-id patch.
694- dropped redundant patches:
695  binutils-2.20.51.0.2-envvar-revert.patch,
696  binutils-2.20.51.0.2-add-needed.patch,
697  binutils-2.20.51.0.2-ifunc-ld-s.patch,
698  binutils-2.20.51.0.2-lwp.patch,
699  binutils-2.20.51.0.2-gas-expr.patch,
700  binutils-2.20.51.0.2-ppc-hidden-plt-relocs.patch.
701
702* Tue Apr  6 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-5
703- rebuilt with gcc-4.4.3-4
704
705* Mon Feb  8 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-4
706- rebuilt with gcc-4.4.3-3
707
708* Mon Feb  1 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.51.0.2-3
709- add Patch12 and Patch13 for PR 10856 and 11088 respectively
710
711* Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.20.51.0.2-2
712- rebuilt with gcc-4.4.3
713
714* Sun Nov  8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.20.51.0.2-1
715- updated to 2.20.51.0.2
716
717* Wed Sep 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.18.50.0.6-1
718- updated to 2.18.50.0.6
719
720* Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.17.50.0.18-3
721- new versioning policy
722- rebuild with gcc-4.1.2-18
723
724* Sun Feb 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.18-1vl2
725- rebuilt with glibc-2.7-2vl3 and gcc-4.1.2-0vl17
726
727* Wed Feb 06 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.18-1vl1
728- updated to 2.17.50.0.18
729
730  - Thu Aug 16 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.18-1
731  - update to 2.17.50.0.18
732    - GPLv3+
733    - preserve .note.gnu.build-id in objcopy --only-keep-debug (#251935)
734    - fix sparc64/alpha broken by --build-id patch (#252936)
735  - update License tag
736  - fix ld crash with --build-id and non-ELF output format (Alan Modra, BZ#4923)
737
738  - Tue Jul 31 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-7
739  - fix ppc32 secure PLT detection (Alan Modra)
740
741  - Wed Jul 25 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-6
742  - rebuilt to make sure even libbfd.so and libopcodes.so aren't
743  broken by #249435
744
745  - Tue Jul 24 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-5
746  - add .note.gnu.build-id into default linker script (#249435)
747
748  - Tue Jul 24 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-4
749  - don't kill the %%{_gnu} part of target name on arm
750    (Lennert Buytenhek, #243516)
751  - create just one PT_NOTE segment header for all consecutive SHT_NOTE
752    sections
753
754  - Wed Jul 18 2007 Roland McGrath <roland@redhat.com> 2.17.50.0.17-3
755  - fix for ld --build-id
756
757  - Sun Jul 15 2007 Roland McGrath <roland@redhat.com> 2.17.50.0.17-2
758  - ld --build-id support
759
760  - Wed Jun 27 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-1
761  - update to 2.17.50.0.17
762
763  - Tue Jun 12 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.16-1
764  - update to 2.17.50.0.16
765
766  - Sat Apr 14 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-4
767  - fix linking non-ELF input objects into ELF output (#235747)
768
769  - Wed Mar 14 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-3
770  - don't require matching ELF_OSABI for target vecs with ELFOSABI_NONE,
771    only prefer specific osabi target vecs over the generic ones
772    (H.J.Lu, #230964, BZ#3826)
773  - build libbfd.so and libopcodes.so with -Bsymbolic-functions
774
775  - Fri Mar  2 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-2
776  - ignore install-info errors from scriptlets (#223678)
777
778  - Thu Mar  1 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.12-1
779  - update to 2.17.50.0.12
780  - revert the misdesigned LD_SYMBOLIC{,_FUNCTIONS} env var support,
781    only support -Bsymbolic/-Bsymbolic-functions/--dynamic-list*
782
783  - Mon Jan  8 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.9-1
784  - update to 2.17.50.0.9
785  - fix tekhex reader
786
787  - Sat Dec 23 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.8-2
788  - fix --as-needed on ppc64 (#219629)
789
790  - Sun Dec  3 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.8-1
791  - update to 2.17.50.0.8
792  - initialize frch_cfi_data (BZ#3607)
793
794  - Fri Dec  1 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.7-1
795  - update to 2.17.50.0.7
796    - .cfi_personality and .cfi_lsda directives, per subsection .cfi_*
797      directives, better .eh_frame CIE merging
798
799  - Thu Nov  9 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.6-3
800  - fix popcnt instruction assembly and disassembly on amd64 (#214767)
801
802* Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.17.50.0.6-2vl5
803- dropt unnecessary changes of 2.17.50.0.6-2vl4
804
805* Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.17.50.0.6-2vl4
806- added -fPIC to make (if x86_64)
807
808* Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.17.50.0.6-2vl3
809- rebuild with gcc-4.1.2-0vl12
810- changed devel package Group to Development/Libraries
811
812* Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.6-2vl2
813- rebuild with gcc-4.1.2-0vl7 (expecially for ppc)
814
815* Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.6-2vl1
816- updated to 2.17.50.0.6
817
818  - Thu Dec 21 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.6-2.fc6
819  - update to 2.17.50.0.6
820    - fix for section relative linker script defined symbols in
821      empty sections (#212032, BZ#3267)
822    - fix handling of DW_CFA_set_loc in .eh_frame optimizations
823    - fix R_PPC_{PLT,GOT{,_TLSGD,_TLSLD,_TPREL,_DTPREL}}16_HA relocation
824      handling with weak undefined symbols (Alan Modra, #211094)
825    - fix --cref (#212099)
826    - fix --emit-relocs on ppc64 (#211991)
827  - fix popcnt instruction assembly and disassembly on amd64 (#214767)
828
829* Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl2
830- rebuilt with gcc-4.1.2-0vl6 and glibc-2.5-12vl1
831
832* Sun May 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl1
833- rebuild
834
835* Tue Apr 03 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.17.50.0.3-6vl0
836- initial build for VineSeed based on FC 2.17.50.0.3-6
837
838* Tue Sep 12 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-6
839- fix multilib conflict in %{_prefix}/include/bfd.h
840
841* Tue Sep 12 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-5
842- fix efi-app-ia64 magic number (#206002, BZ#3171)
843
844* Tue Sep  5 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-4
845- link libopcodes*.so against libbfd*.so (#202327)
846- split *.a and header files into binutils-devel
847
848* Fri Aug 18 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-3
849- on ppc and ppc64 increase default -z commonpagesize to 64K (#203001)
850
851* Fri Jul 28 2006 Alexandre Oliva <aoliva@redhat.com> 2.17.50.0.3-2
852- do not infer x86 arch implicitly based on instruction in the input
853  (#200330)
854
855* Mon Jul 17 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.3-1
856- update to 2.17.50.0.3
857
858* Fri Jul 14 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-8
859- add support for new AMDFAM10 instructions (#198281, IT#97662)
860- add -march=/-mtune= gas support on x86/x86-64
861- x86/x86-64 nop insn improvements
862- fix DT_GNU_HASH shift count value computation
863
864* Tue Jul 11 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-7
865- add DT_GNU_HASH support (--hash-style=gnu and --hash-style=both
866  ld options)
867
868* Thu Jun 29 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-4
869- fix i?86 TLS GD->IE transition in executables (#196157, BZ#2513)
870
871* Mon Jun 19 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-3
872- fix two places in ld that misbehaved with MALLOC_PERTURB_=N
873- fix .tls_common handling in relocatable linking
874
875* Mon Jun  5 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-2
876- fix --as-needed (Alan Modra, #193689, BZ#2721)
877
878* Thu Jun  1 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.2-1
879- update to 2.17.50.0.2
880- update from CVS to 20060601
881- speed up the ELF linker by caching the result of kept section check
882  (H.J. Lu)
883
884* Tue May  9 2006 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.1-1
885- update to 2.17.50.0.1
886
887* Fri Mar 31 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-6
888- fix ld error message formatting, so that collect2 parser can
889  parse it again for g++ -frepo (#187142)
890
891* Thu Mar  9 2006 Alexandre Oliva <aoliva@redhat.com> 2.16.91.0.6-4
892- fix relaxation of TLS GD to LE on PPC (#184590)
893
894* Fri Mar  3 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-3
895- support DW_CFA_val_{offset,offset_sf,expression} in readelf/objdump
896
897* Tue Feb 28 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-2
898- add MNI support on i?86/x86_64 (#183080)
899- support S signal frame augmentation flag in .eh_frame,
900  add .cfi_signal_frame support (#175951, PR other/26208, BZ#300)
901
902* Tue Feb 14 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.6-1
903- update to 2.16.91.0.6
904  - fix ppc64 --gc-sections
905  - disassembler fixes for x86_64 cr/debug regs
906  - fix linker search order for DT_NEEDED libs
907
908* Mon Jan 02 2006 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.5-1
909- update to 2.16.91.0.5
910- don't error about .toc1 references to discarded sectiosn on ppc64
911  (#175944)
912
913* Wed Dec 14 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.3-2
914- put .gnu.linkonce.d.rel.ro.* sections into relro region
915
916* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
917- rebuilt
918
919* Fri Nov 11 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.3-1
920- update to 2.16.91.0.3
921- add .weakref support (Alexandre Oliva, #115157, #165728)
922
923* Thu Aug 18 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-4
924- install-info also configure.info
925- update standards.texi from gnulib (#165530)
926
927* Tue Aug 16 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-3
928- update to 20050816 CVS
929- better fix for ld-cdtest
930- fix symbol version script parsing
931
932* Fri Jul 29 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-2
933- don't complain about relocs to discarded sections in ppc32
934  .got2 sections (Alan Modra, PR target/17828)
935
936* Fri Jul 22 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.2-1
937- update to 2.16.91.0.2
938
939* Thu Jul 21 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-3
940- fix buffer overflow in readelf ia64 unwind printing code
941- use vsnprintf rather than vsprintf in gas diagnostics (Tavis Ormandy)
942- fix ld-cdtest when CFLAGS contains -fexceptions
943
944* Wed Jul 20 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-2
945- update to 20050720 CVS
946
947* Mon Jul 11 2005 Jakub Jelinek <jakub@redhat.com> 2.16.91.0.1-1
948- update to 2.16.91.0.1 plus 20050708 CVS
949
950* Wed Jun 15 2005 Jakub Jelinek <jakub@redhat.com> 2.16.90.0.3-1
951- update to 2.16.90.0.3
952- update to 20050615 CVS
953  - ppc32 secure PLT support (Alan Modra)
954- further bfd/readelf robustification
955
956* Sat Jun 11 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-4
957- further bfd robustification (CAN-2005-1704, #158680)
958
959* Fri Jun 10 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-3
960- further objdump and readelf robustification (CAN-2005-1704, #158680)
961
962* Wed May 25 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-2
963- bfd and readelf robustification (CAN-2005-1704, #158680)
964
965* Tue Mar 29 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2.2-1
966- update to 2.15.94.0.2.2
967- speed up walk_wild_section (Robert O'Callahan)
968
969* Mon Mar  7 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-4
970- rebuilt with GCC 4
971
972* Mon Feb 28 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-3
973- fix buffer overflows in readelf (#149506)
974- move c++filt to binutils from gcc-c++, conflict with gcc-c++ < 4.0 (#86333)
975
976* Thu Feb 10 2005 Jakub Jelinek <jakub@redhat.com> 2.15.94.0.2-1
977- update to 2.15.94.0.2
978- fix .note.GNU-stack/PT_GNU_STACK computation in linker on ppc64 (#147296)
979- fix stripping of binaries/libraries that have empty sections right before
980  .dynamic section (with the same starting address; #144038)
981- handle AS_NEEDED (...) in linker script INPUT/GROUP
982
983* Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-11
984- fix a longstanding -z relro bug
985
986* Mon Dec 13 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-10
987- avoid unnecessary gap with -z relro showing on i686 libc.so
988- ppc64 --emit-relocs fix (Alan Modra)
989- don't crash if STT_SECTION symbol has incorrect st_shndx (e.g. SHN_ABS,
990  as created by nasm; #142181)
991- don't try to make absptr LSDAs relative if they don't have relocations
992  against them (Alan Modra, #141162)
993
994* Wed Oct 27 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-5.EL4
995- fix ar xo (#104344)
996
997* Wed Oct 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-5
998- fix --just-symbols on ppc64 (Alan Modra, #135498)
999
1000* Fri Oct 15 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-4
1001- fix code detecting matching linkonce and single member comdat
1002  group sections (#133078)
1003
1004* Mon Oct 11 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-3
1005- revert Sep 09 change to make ppc L second argument e.g. for tlbie
1006  non-optional
1007- fix stripping of prelinked binaries and libraries (#133734)
1008- allow strings(1) on 32-bit arches to be used again with > 2GB
1009  files (#133555)
1010
1011* Mon Oct  4 2004 Jakub Jelinek <jakub@redhat.com> 2.15.92.0.2-2
1012- update to 2.15.92.0.2
1013- change ld's ld.so.conf parser to match ldconfig's (#129340)
1014
1015* Mon Sep 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-9
1016- avoid almost 1MB (sparse) gaps in the middle of -z relro
1017  libraries on x86-64 (Andreas Schwab)
1018- fix -z relro to make sure end of PT_GNU_RELRO segment is always
1019  COMMONPAGESIZE aligned
1020
1021* Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-8
1022- fix linker segfaults on input objects with SHF_LINK_ORDER with
1023  incorrect sh_link (H.J.Lu, Nick Clifton, #130198, BZ #290)
1024
1025* Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-7
1026- resolve all undefined ppc64 .* syms to the function bodies through
1027  .opd, not just those used in brach instructions (Alan Modra)
1028
1029* Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-6
1030- fix ppc64 ld --dotsyms (Alan Modra)
1031
1032* Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-5
1033- various ppc64 make check fixes when using non-dot-syms gcc (Alan Modra)
1034- fix --gc-sections
1035- on ia64 create empty .gnu.linkonce.ia64unw*.* sections for
1036  .gnu.linkonce.t.* function doesn't need unwind info
1037
1038* Mon Aug 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-4
1039- kill ppc64 dot symbols (Alan Modra)
1040- objdump -d support for objects without dot symbols
1041- support for overlapping ppc64 .opd entries
1042
1043* Mon Aug 9 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-3
1044- fix a newly introduced linker crash on x86-64
1045
1046* Sun Aug 8 2004 Alan Cox <alan@redhat.com> 2.15.91.0.2-2
1047- BuildRequire bison and macroise buildroot - from Steve Grubb
1048
1049* Fri Jul 30 2004 Jakub Jelinek <jakub@redhat.com> 2.15.91.0.2-1
1050- update to 2.15.91.0.2
1051- BuildRequire flex (#117763)
1052
1053* Wed May 19 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-7
1054- use lib64 instead of lib directories on ia64 if %%{_lib} is
1055  set to lib64 by rpm
1056
1057* Sat May 15 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-6
1058- fix a bug introduced in the ++/-- rejection patch
1059  from 2.15.90.0.3 (Alan Modra)
1060
1061* Tue May  4 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-5
1062- fix s390{,x} .{,b,p2}align handling
1063- ppc/ppc64 testsuite fix
1064
1065* Mon May  3 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-4
1066- -z relro ppc/ppc64/ia64 fixes
1067- change x86-64 .plt symbol st_size handling to match ia32
1068- prettify objdump -d output
1069
1070* Tue Apr 20 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-3
1071- several SPARC fixes
1072
1073* Sun Apr 18 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-2
1074- yet another fix for .tbss handling
1075
1076* Fri Apr 16 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.3-1
1077- update to 2.15.90.0.3
1078
1079* Fri Mar 26 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.1.1-2
1080- update to 20040326 CVS
1081  - fix ppc64 weak .opd symbol handling (Alan Modra, #119086)
1082- fix .tbss handling bug introduced
1083
1084* Fri Mar 26 2004 Jakub Jelinek <jakub@redhat.com> 2.15.90.0.1.1-1
1085- update to 2.15.90.0.1.1
1086
1087* Sat Feb 21 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-8
1088- with -z now without --enable-new-dtags create DT_BIND_NOW
1089  dynamic entry in addition to DT_FLAGS_1 with DF_1_NOW bit set
1090
1091* Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-7
1092- fix -pie on ppc32
1093
1094* Fri Feb 20 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-6
1095- clear .plt sh_entsize on sparc32
1096- put whole .got into relro area with -z now -z relro
1097
1098* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
1099- rebuilt
1100
1101* Thu Jan 22 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-4
1102- fix -pie on IA64
1103
1104* Mon Jan 19 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-3
1105- fix testcases on s390 and s390x
1106
1107* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-2
1108- fix testcases on AMD64
1109- fix .got's sh_entsize on IA32/AMD64
1110- set COMMONPAGESIZE on s390/s390x
1111- set COMMONPAGESIZE on ppc32 (Alan Modra)
1112
1113* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.8-1
1114- update to 2.14.90.0.8
1115
1116* Tue Jan 13 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-4
1117- fix -z relro on 64-bit arches
1118
1119* Mon Jan 12 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-3
1120- fix some bugs in -z relro support
1121
1122* Fri Jan  9 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-2
1123- -z relro support, reordering of RW sections
1124
1125* Fri Jan  9 2004 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.7-1
1126- update to 2.14.90.0.7
1127
1128* Mon Nov 24 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-4
1129- fix assembly parsing of foo=(.-bar)/4 (Alan Modra)
1130- fix IA-64 assembly parsing of (p7) hint @pause
1131
1132* Tue Sep 30 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-3
1133- don't abort on some linker warnings/errors on IA-64
1134
1135* Sat Sep 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-2
1136- fix up merge2.s to use .p2align instead of .align
1137
1138* Sat Sep 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.6-1
1139- update to 2.14.90.0.6
1140- speed up string merging (Lars Knoll, Michael Matz, Alan Modra)
1141- speed up IA-64 local symbol handling during linking
1142
1143* Fri Sep  5 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-7
1144- avoid ld -s segfaults introduced in 2.14.90.0.5-5 (Dmitry V. Levin,
1145  #103180)
1146
1147* Fri Aug 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-6
1148- build old demangler into libiberty.a (#102268)
1149- SPARC .cfi* support
1150
1151* Tue Aug  5 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-5
1152- fix orphan section placement
1153
1154* Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-4
1155- fix ppc64 elfvsb linker tests
1156- some more 64-bit cleanliness fixes, give ppc64 fdesc symbols
1157  type and size (Alan Modra)
1158
1159* Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-3
1160- fix 64-bit unclean code in ppc-opc.c
1161
1162* Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-2
1163- fix 64-bit unclean code in tc-ppc.c
1164
1165* Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.5-1
1166- update to 2.14.90.0.5
1167- fix ld -r on ppc64 (Alan Modra)
1168
1169* Fri Jul 18 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-23
1170- rebuilt
1171
1172* Thu Jul 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-22
1173- fix elfNN_ia64_dynamic_symbol_p (Richard Henderson, #86661)
1174- don't access memory beyond what was allocated in readelf
1175  (Richard Henderson)
1176
1177* Thu Jul 10 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-21
1178- add .cfi_* support on ppc{,64} and s390{,x}
1179
1180* Tue Jul  8 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-20
1181- remove lib{bfd,opcodes}.la (#98190)
1182
1183* Mon Jul  7 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-19
1184- fix -pie support on amd64, s390, s390x and ppc64
1185- issue relocation overflow errors for s390/s390x -fpic code when
1186  accessing .got slots above 4096 bytes from .got start
1187
1188* Thu Jul  3 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-18
1189- rebuilt
1190
1191* Thu Jul  3 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-17
1192- fix ia64 -pie support
1193- require no undefined non-weak symbols in PIEs like required for normal
1194  binaries
1195
1196* Wed Jul  2 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-16
1197- fix readelf -d on IA-64
1198- build libiberty.a with -fPIC, so that it can be lined into shared
1199  libraries
1200
1201* Wed Jun 25 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-15
1202- rebuilt
1203
1204* Wed Jun 25 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-14
1205- added support for Intel Prescott instructions
1206- fix hint@pause for ia64
1207- add workaround for LTP sillyness (#97934)
1208
1209* Wed Jun 18 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-13
1210- update CFI stuff to 2003-06-18
1211- make sure .eh_frame is aligned to 8 bytes on 64-bit arches,
1212  remove padding within one .eh_frame section
1213
1214* Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-12
1215- rebuilt
1216
1217* Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-11
1218- one more fix for the same patch
1219
1220* Tue Jun 17 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-10
1221- fix previous patch
1222
1223* Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-9
1224- ensure R_PPC64_{RELATIVE,ADDR64} have *r_offset == r_addend
1225  and the other relocs have *r_offset == 0
1226
1227* Tue Jun 10 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-8
1228- remove some unnecessary provides in ppc64 linker script
1229  which were causing e.g. empty .ctors/.dtors section creation
1230
1231* Fri Jun  6 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-7
1232- some CFI updates/fixes
1233- don't create dynamic relocations against symbols defined in PIE
1234  exported from its .dynsym
1235
1236* Wed Jun  4 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-6
1237- update gas to 20030604
1238- PT_GNU_STACK support
1239
1240* Mon Jun  2 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-5
1241- buildrequire gettext (#91838)
1242
1243* Sat May 31 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-4
1244- fix shared libraries with >= 8192 .plt slots on ppc32
1245
1246* Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-3
1247- rebuilt
1248
1249* Thu May 29 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-2
1250- rename ld --dynamic option to --pic-executable or --pie
1251- fix ld --help output
1252- document --pie/--pic-executable in ld.info and ld.1
1253
1254* Wed May 28 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.4-1
1255- update to 2.14.90.0.4-1
1256- gas CFI updates (Richard Henderson)
1257- dynamic executables (Ulrich Drepper)
1258
1259* Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.2-2
1260- fix ELF visibility handling
1261- tidy plt entries on IA-32, ppc and ppc64
1262
1263* Mon May 19 2003 Jakub Jelinek <jakub@redhat.com> 2.14.90.0.2-1
1264- update to 2.14.90.0.2-1
1265
1266* Tue May 13 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-8
1267- fix bfd_elf_hash on 64-bit arches (Andrew Haley)
1268
1269* Wed Apr 30 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-7
1270- rebuilt
1271
1272* Mon Apr 14 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-6
1273- optimize DW_CFA_advance_loc4 in gas even if there is 'z' augmentation
1274  with size 0 in FDE
1275
1276* Fri Apr 11 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-5
1277- fix SPARC build
1278
1279* Thu Apr  3 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-4
1280- fix ppc32 plt reference counting
1281- don't include %{_prefix}/%{_lib}/debug in the non-debuginfo package
1282  (#87729)
1283
1284* Mon Mar 31 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-3
1285- make elf64ppc target native extra on ppc and elf32ppc native extra
1286  on ppc64.
1287
1288* Fri Mar 28 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-2
1289- fix TLS on IA-64 with ld relaxation
1290
1291* Sat Mar 22 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.20-1
1292- update to 2.13.90.0.20
1293
1294* Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-9
1295- rebuilt
1296
1297* Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-8
1298- don't strip binaries in %%install, so that there is non-empty
1299  debuginfo
1300
1301* Mon Feb 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-7
1302- don't optimize .eh_frame during ld -r
1303
1304* Thu Feb 13 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-6
1305- don't clear elf_link_hash_flags in the .symver patch
1306- only use TC_FORCE_RELOCATION in s390's TC_FORCE_RELOCATION_SUB_SAME
1307  (Alan Modra)
1308
1309* Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-5
1310- fix the previous .symver change
1311- remove libbfd.so and libopcodes.so symlinks, so that other packages
1312  link statically, not dynamically against libbfd and libopcodes
1313  whose ABI is everything but stable
1314
1315* Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-4
1316- do .symver x, x@FOO handling earlier
1317- support .file and .loc on s390*
1318
1319* Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-3
1320- handle .symver x, x@FOO in ld such that relocs against x become
1321  dynamic relocations against x@FOO (#83325)
1322- two PPC64 TLS patches (Alan Modra)
1323
1324* Sun Feb 09 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-2
1325- fix SEARCH_DIR on x86_64/s390x
1326- fix Alpha --relax
1327- create DT_RELA{,SZ,ENT} on s390 even if there is just .rela.plt
1328  and no .rela.dyn section
1329- support IA-32 on IA-64 (#83752)
1330- .eh_frame_hdr fix (Andreas Schwab)
1331
1332* Thu Feb 06 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.18-1
1333- update to 2.13.90.0.18 + 20030121->20030206 CVS diff
1334
1335* Tue Feb 04 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-8
1336- alpha TLS fixes
1337- use .debug_line directory table to make the section tiny bit smaller
1338- libtool fix from Jens Petersen
1339
1340* Sun Feb 02 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-7
1341- sparc32 TLS
1342
1343* Fri Jan 24 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-6
1344- s390{,x} TLS and two other mainframe patches
1345
1346* Fri Jan 17 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-5
1347- fix IA-64 TLS IE in shared libs
1348- .{preinit,init,fini}_array compat hack from Alexandre Oliva
1349
1350* Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-4
1351- IA-64 TLS fixes
1352- fix .plt sh_entsize on Alpha
1353- build with %%_smp_mflags
1354
1355* Sat Nov 30 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-3
1356- fix strip on TLS binaries and libraries
1357
1358* Fri Nov 29 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-2
1359- fix IA-64 ld bootstrap
1360
1361* Thu Nov 28 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.16-1
1362- update to 2.13.90.0.16
1363- STT_TLS SHN_UNDEF fix
1364
1365* Wed Nov 27 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-4
1366- pad .rodata.cstNN sections at the end if they aren't sized to multiple
1367  of sh_entsize
1368- temporary patch to make .eh_frame and .gcc_except_table sections
1369  readonly if possible (should be removed when AUTO_PLACE is implemented)
1370- fix .PPC.EMB.apuinfo section flags
1371
1372* Wed Oct 23 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-3
1373- fix names and content of alpha non-alloced .rela.* sections (#76583)
1374- delete unpackaged files from the buildroot
1375
1376* Tue Oct 15 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-2
1377- enable s390x resp. s390 emulation in linker too
1378
1379* Mon Oct 14 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.10-1
1380- update to 2.13.90.0.10
1381- add a bi-arch patch for sparc/s390/x86_64
1382- add --enable-64-bit-bfd on sparc, s390 and ppc
1383
1384* Thu Oct 10 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-3
1385- fix combreloc testcase
1386
1387* Thu Oct 10 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-2
1388- fix orphan .rel and .rela section placement with -z combreloc (Alan Modra)
1389- skip incompatible linker scripts when searching for libraries
1390
1391* Tue Oct  1 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.4-1
1392- update to 2.13.90.0.4
1393- x86-64 TLS support
1394- some IA-32 TLS fixes
1395- some backported patches from trunk
1396- include opcodes, ld, gas and bfd l10n too
1397
1398* Thu Sep 19 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-3
1399- allow addends for IA-32 TLS @tpoff, @ntpoff and @dtpoff
1400- clear memory at *r_offset of dynamic relocs on PPC
1401- avoid ld crash if accessing non-local symbols through LE relocs
1402- new IA-32 TLS relocs, bugfixes and testcases
1403- use brl insn on IA-64 (Richard Henderson)
1404- fix R_IA64_PCREL21{M,F} handling (Richard Henderson)
1405- build in separate builddir, so that gasp tests don't fail
1406- include localization
1407
1408* Thu Aug  8 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-2
1409- fix R_386_TPOFF32 addends (#70824)
1410
1411* Sat Aug  3 2002 Jakub Jelinek <jakub@redhat.com> 2.13.90.0.2-1
1412- update to 2.13.90.0.2
1413  - fix ld TLS assertion failure (#70084)
1414  - fix readelf --debug-dump= handling to match man page and --help
1415    (#68997)
1416- fix _GLOBAL_OFFSET_TABLE gas handling (#70241)
1417
1418* Wed Jul 24 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.15-1
1419- update to 2.12.90.0.15
1420- TLS .tbss fix
1421- don't use rpm %%configure macro, it is broken too often (#69366)
1422
1423* Thu May 30 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.9-1
1424- update to 2.12.90.0.9
1425  - TLS support
1426- remove gasp.info from %%post/%%preun (#65400)
1427
1428* Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 2.12.90.0.7-1
1429- update to 2.12.90.0.7
1430- run make check
1431
1432* Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-12
1433- fix .hidden handling on SPARC (Richard Henderson)
1434- don't crash when linking -shared non-pic code with SHF_MERGE
1435- fix .eh_frame_hdr for DW_EH_PE_aligned
1436- correctly adjust DW_EH_PE_pcrel encoded personalities in CIEs
1437
1438* Fri Apr  5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-11
1439- don't emit dynamic R_SPARC_DISP* relocs against STV_HIDDEN symbols
1440  into shared libraries
1441
1442* Thu Mar 21 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-10
1443- don't merge IA-64 unwind info sections together during ld -r
1444
1445* Mon Mar 11 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-9
1446- fix DATA_SEGMENT_ALIGN on ia64/alpha/sparc/sparc64
1447
1448* Fri Mar  8 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-8
1449- don't crash on SHN_UNDEF local dynsyms (Andrew MacLeod)
1450
1451* Thu Mar  7 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-7
1452- fix bfd configury bug (Alan Modra)
1453
1454* Tue Mar  5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-6
1455- don't copy visibility when equating symbols
1456- fix alpha .text/.data with .previous directive bug
1457
1458* Tue Mar  5 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-5
1459- fix SHF_MERGE crash with --gc-sections (#60369)
1460- C++ symbol versioning patch
1461
1462* Fri Feb 22 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-4
1463- add DW_EH_PE_absptr -> DW_EH_PE_pcrel optimization for shared libs,
1464  if DW_EH_PE_absptr cannot be converted that way, don't build the
1465  .eh_frame_hdr search table
1466
1467* Fri Feb 15 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-3
1468- fix ld -N broken by last patch
1469
1470* Tue Feb 12 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-2
1471- trade one saved runtime page for data segment (=almost always not shared)
1472  for up to one page of disk space where possible
1473
1474* Fri Feb  8 2002 Jakub Jelinek <jakub@redhat.com> 2.11.93.0.2-1
1475- update to 2.11.93.0.2
1476- use %%{ix86} instead of i386 for -z combreloc default (#59086)
1477
1478* Thu Jan 31 2002 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-10
1479- don't create SHN_UNDEF STB_WEAK symbols unless there are any relocations
1480  against them
1481
1482* Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 2.11.92.0.12-9.1
1483- rebuild (fix ia64 miscompilation)
1484
1485* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
1486- automated rebuild
1487
1488* Fri Dec 28 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-8
1489- two further .eh_frame patch fixes
1490
1491* Wed Dec 19 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-7
1492- as ld is currently not able to shrink input sections to zero size
1493  during discard_info, build a fake minimal CIE in that case
1494- update elf-strtab patch to what was commited
1495
1496* Mon Dec 17 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-6
1497- one more .eh_frame patch fix
1498- fix alpha .eh_frame handling
1499- optimize elf-strtab finalize
1500
1501* Sat Dec 15 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-5
1502- yet another fix for the .eh_frame patch
1503
1504* Fri Dec 14 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-4
1505- Alan Modra's patch to avoid crash if there is no dynobj
1506
1507* Thu Dec 13 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-3
1508- H.J.'s patch to avoid crash if input files are not ELF
1509- don't crash if a SHF_MERGE for some reason could not be merged
1510- fix objcopy/strip to preserve SHF_MERGE sh_entsize
1511- optimize .eh_frame sections, add PT_GNU_EH_FRAME support
1512- support anonymous version tags in version script
1513
1514* Tue Nov 27 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-2
1515- fix IA-64 SHF_MERGE handling
1516
1517* Tue Nov 27 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.12-1
1518- update to 2.11.92.0.12
1519  - optimize .dynstr and .shstrtab sections (#55524)
1520  - fix ld.1 glitch (#55459)
1521- turn relocs against SHF_MERGE local symbols with zero addend
1522  into STT_SECTION + addend
1523- remove man pages for programs not included (nlmconv, windres, dlltool;
1524  #55456, #55461)
1525- add BuildRequires for texinfo
1526
1527* Thu Oct 25 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.7-2
1528- duh, fix strings on bfd objects (#55084)
1529
1530* Sat Oct 20 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.7-1
1531- update to 2.11.92.0.7
1532- remove .rel{,a}.dyn from output if it is empty
1533
1534* Thu Oct 11 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.5-2
1535- fix strings patch
1536- use getc_unlocked in strings to speed it up by 50% on large files
1537
1538* Wed Oct 10 2001 Jakub Jelinek <jakub@redhat.com> 2.11.92.0.5-1
1539- update to 2.11.92.0.5
1540  - binutils localization (#45148)
1541  - fix typo in REPORT_BUGS_TO (#54325)
1542- support files bigger than 2GB in strings (#54406)
1543
1544* Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-12
1545- on IA-64, don't mix R_IA64_IPLTLSB relocs with non-PLT relocs in
1546  .rela.dyn section.
1547
1548* Tue Sep 25 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-11
1549- add iplt support for IA-64 (Richard Henderson)
1550- switch to new section flags for SHF_MERGE and SHF_STRINGS, put
1551  in compatibility code
1552- "s" section flag for small data sections on IA-64 and Alpha
1553  (Richard Henderson)
1554- fix sparc64 .plt[32768+] handling
1555- don't emit .rela.stab on sparc
1556
1557* Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-10
1558- fix SHF_MERGE on Sparc
1559
1560* Fri Aug 31 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-9
1561- on Alpha, copy *r_offset to R_ALPHA_RELATIVE's r_addend
1562
1563* Thu Aug 30 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-8
1564- on IA-64, put crtend{,S}.o's .IA_64.unwind section last in
1565  .IA_64.unwind output section (for compatibility with 7.1 eh)
1566
1567* Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-7
1568- put RELATIVE relocs first, not last
1569- enable -z combreloc by default on IA-{32,64}, Alpha, Sparc*
1570
1571* Thu Aug 23 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-6
1572- support for -z combreloc
1573- remove .dynamic patch, -z combreloc patch does this better
1574- set STT_FUNC default symbol sizes in .endp directive on IA-64
1575
1576* Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-5
1577- fix last patch (H.J.Lu)
1578
1579* Fri Jul 13 2001 Jakub Jelinek <jakub@redhat.com> 2.11.90.0.8-4
1580- fix placing of orphan sections
1581
1582* Sat Jun 23 2001 Jakub Jelinek <jakub@redhat.com>
1583- fix SHF_MERGE support on Alpha
1584
1585* Fri Jun  8 2001 Jakub Jelinek <jakub@redhat.com>
1586- 2.11.90.0.8
1587  - some SHF_MERGE suport fixes
1588- don't build with tooldir /usrusr instead of /usr (#40937)
1589- reserve few .dynamic entries for prelinking
1590
1591* Mon Apr 16 2001 Jakub Jelinek <jakub@redhat.com>
1592- 2.11.90.0.5
1593  - SHF_MERGE support
1594
1595* Tue Apr  3 2001 Jakub Jelinek <jakub@redhat.com>
1596- 2.11.90.0.4
1597  - fix uleb128 support, so that CVS gcc bootstraps
1598  - some ia64 fixes
1599
1600* Mon Mar 19 2001 Jakub Jelinek <jakub@redhat.com>
1601- add -Bgroup support from Ulrich Drepper
1602
1603* Fri Mar  9 2001 Jakub Jelinek <jakub@redhat.com>
1604- hack - add elf_i386_glibc21 emulation
1605
1606* Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
1607- 2.10.91.0.2
1608
1609* Fri Feb  9 2001 Jakub Jelinek <jakub@redhat.com>
1610- 2.10.1.0.7
1611- remove ExcludeArch ia64
1612- back out the -oformat, -omagic and -output change for now
1613
1614* Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
1615- Prereq /sbin/install-info
1616
1617* Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
1618- 2.10.1.0.2
1619
1620* Tue Nov 21 2000 Jakub Jelinek <jakub@redhat.com>
1621- add one more alpha patch
1622
1623* Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
1624- fix alpha visibility as problem
1625- add support for Ultra-III
1626
1627* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
1628- and one more alpha patch
1629
1630* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
1631- two sparc patches
1632
1633* Mon Jul 24 2000 Jakub Jelinek <jakub@redhat.com>
1634- 2.10.0.18
1635
1636* Mon Jul 10 2000 Jakub Jelinek <jakub@redhat.com>
1637- 2.10.0.12
1638
1639* Mon Jun 26 2000 Jakub Jelinek <jakub@redhat.com>
1640- 2.10.0.9
1641
1642* Thu Jun 15 2000 Jakub Jelinek <jakub@redhat.com>
1643- fix ld -r
1644
1645* Mon Jun  5 2000 Jakub Jelinek <jakub@redhat.com>
1646- 2.9.5.0.46
1647- use _mandir/_infodir/_lib
1648
1649* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1650- 2.9.5.0.41
1651
1652* Wed Apr 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1653- 2.9.5.0.34
1654
1655* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1656- 2.9.5.0.31
1657
1658* Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
1659- man pages are compressed
1660- apply kingdon's patch from #5031
1661
1662* Wed Jan 19 2000 Jeff Johnson <jbj@redhat.com>
1663- Permit package to be built with a prefix other than /usr.
1664
1665* Thu Jan 13 2000 Cristian Gafton <gafton@redhat.com>
1666- add pacth from hjl to fix the versioning problems in ld
1667
1668* Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1669- Add sparc patches from Jakub Jelinek <jakub@redhat.com>
1670- Add URL:
1671
1672* Tue Dec 14 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1673- 2.9.5.0.22
1674
1675* Wed Nov 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1676- 2.9.5.0.19
1677
1678* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1679- 2.9.5.0.16
1680
1681* Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>
1682- make shared non-pic libraries work on sparc with glibc 2.1.
1683
1684* Fri Aug 27 1999 Jim Kingdon
1685- No source/spec changes, just rebuilding with egcs-1.1.2-18 because
1686  the older egcs was miscompling gprof.
1687
1688* Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
1689- back out very *stupid* sparc patch done by HJLu. People, keep out of
1690  things you don't understand.
1691- add alpha relax patch from rth
1692
1693* Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
1694- version  2.9.1.0.23
1695- patch to make texinfo documentation compile
1696- auto rebuild in the new build environment (release 2)
1697
1698* Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com>
1699- updated to 2.9.1.0.21
1700- merged with UltraPenguin
1701
1702* Mon Jan 04 1999 Cristian Gafton <gafton@redhat.com>
1703- added ARM patch from philb
1704- version 2.9.1.0.19a
1705- added a patch to allow arm* arch to be identified as an ARM
1706
1707* Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com>
1708- updated to 2.9.1.0.14.
1709
1710* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
1711- updated to 2.9.1.0.13.
1712
1713* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
1714- updated to 2.9.1.0.12
1715
1716* Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
1717- updated to 2.9.1.0.7.
1718
1719* Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
1720- updated to 2.9.1.0.6.
1721
1722* Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
1723- added patch from rth to get right offsets for sections in relocateable
1724  objects on sparc32
1725
1726* Thu May 07 1998 Prospector System <bugs@redhat.com>
1727- translations modified for de, fr, tr
1728
1729* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
1730- version 2.9.1.0.4 is out; even more, it is public !
1731
1732* Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
1733- updated to 2.9.1.0.3.
1734
1735* Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
1736- updated to 2.9.0.3
1737
1738* Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
1739- upgraded to 2.9.0.2
1740
1741* Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
1742- updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
1743  :-)
1744- "fixed" the damn make install command so that all tools get installed
1745
1746* Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
1747- upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
1748- added info packages handling
1749
1750* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
1751- upgraded to 2.8.1.0.23
1752
1753* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
1754- updated to 2.8.1.0.15 (required to compile the newer glibc)
1755- all patches are obsoleted now
1756
1757* Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
1758- added 2.8.1.0.1 patch from hj
1759- added patch for alpha palcode form rth
Note: See TracBrowser for help on using the repository browser.