binutils-vl.spec 61 KB

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