binutils-vl.spec 63 KB

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