binutils-vl.spec 62 KB

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