binutils-vl.spec 62 KB

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