Skip to content

Commit 3fd101e

Browse files
authored
Merge pull request #359 from fosslinux/binutils-2.41
Update binutils to 2.41
2 parents 6905852 + 191c013 commit 3fd101e

11 files changed

+87
-72
lines changed

steps/SHA256SUMS.pkgs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ d5fcce4baea5e11f983a7e4b7148545ab6720bb4e010898c73387f6711be67f4 autoconf-2.64_
99
298dcf17a439adb306237b308e3c4ed3d376cb863ae0f0f08bfdf1f3199a548b autoconf-2.69_0.tar.bz2
1010
8c2401edf1c68910005bbcb8b8e84727a46f7d9643d2ad1267bd0259078dadc4 autoconf-2.71_0.tar.bz2
1111
6ff691e3ddd4f3d1796d28b07a2a96691dbd9801844c99ccbe660da59dabd74b autoconf-archive-2021.02.19_0.tar.bz2
12-
56cb475253b1175f09d69bc81a5b1d954f486c9b97b1a0ae3217e63d18f64573 autogen-5.18.16_0.tar.bz2
12+
9b52663ad7c591520805b96c519c4a291d8a9a960a907341c5b78cd631ebb344 autogen-5.18.16_0.tar.bz2
1313
02a426e82a52d4a2cd7e73fe3dc5a2c58b3ed100f24a92c57e42511fd86e247c automake-1.10.3_0.tar.bz2
1414
34925adeaa2876a5e068adeb17b71fe7c7105244c3cb5439d33f7406310674da automake-1.11.2_0.tar.bz2
1515
a7bd12bd0c639783ce1c0e9f640cf004a87460bbda8154bc550c5e6884457b48 automake-1.15.1_0.tar.bz2
@@ -23,8 +23,8 @@ c5807850a377e4bb9aa4121d9781d145bdd80327626a9419630a75ce2c8d9c71 automake-1.9.6
2323
f8a55bf656f950ee3c5cea48af03f552166f6db9926b78c78843f3cc52a6e22d bash-5.2.15_0.tar.bz2
2424
ebc631ee8e9382650005984ec5f3910492ccb6fb2656b4c0af0f4afc16998906 bc-1.07.1_0.tar.bz2
2525
28b38078f88d77ebfa8ad1a514a5724fe11581bdbfc72b79f087fa24986ac9cb binutils-2.30_0.tar.bz2
26-
6eb26a856e1eb79a1b3f6d76e42138bf1b868fc5f229c3a1e22d3eb68dfb88ba binutils-2.38_0.tar.bz2
27-
57e339eb76a5a0f4b7298d0071f83354911dda928f4aa54e47a21ebc9c8390a7 binutils-2.38_1.tar.bz2
26+
da658346866061324b92a6b734561257acfdb981783ad5794d67a0cd56e14e58 binutils-2.41_0.tar.bz2
27+
026447a32ab08a8a5150bab82a2f150af4a2ed90c47cfde631e1460eaed019aa binutils-2.41_1.tar.bz2
2828
f0bb18831983493b82fde53917e8d16c6a380761ac5e71e14769a82193fee788 bison-2.3_0.tar.bz2
2929
7018edd13a1dd5ba35fdc8be49af91b28901aad3080fdeebdb98b79f8a90d7ed bison-3.4.1_0.tar.bz2
3030
41c9a95b11cf183524927f52f9f7e97a479e0261c0551f6a4c22690b931243db bison-3.4.1_1.tar.bz2
@@ -49,17 +49,17 @@ b3a8d59229289ca5a1de6a24c9c828d2847144f6662e0d5b7f41e7ff6e57abaa flex-2.5.33_0.
4949
408131b1c033a5f8a6845997b049784be0b466cec107a71270e5a04dae2c1e6c flex-2.6.4_0.tar.bz2
5050
5ff7fbe16b55563719b108260bd6a34ebabab0465d758ca98cba522932532e45 gawk-3.0.4_0.tar.bz2
5151
6de1c1380026ef9948387e665610185b6014f47a80453177a6c81898c95cbbd3 gc-8.0.4_0.tar.bz2
52-
872eabeff12a0b1b9dc2bd146f2c1e493597281795548377ff1ec5f6a1853e88 gcc-10.4.0_0.tar.bz2
53-
4f50d8f5e1f123a8e6d34dff1d5892f79d250f2fb5d7fa2a94cff1f2e8f9649c gcc-13.1.0_0.tar.bz2
52+
c99d080cf17ac3f75cbae67095cb76220a92d96d877c92c896a7f05c9c94e92d gcc-10.4.0_0.tar.bz2
53+
e0c9e7f4f0cd0d5027f2a38eb262f883133c31ac9ec93ee6afa5abc028096bc0 gcc-13.1.0_0.tar.bz2
5454
526c3710b5067bd2fc869371541d7e71dcff1cffcba7ddecabedc33967e19e2c gcc-4.0.4_0.tar.bz2
5555
c1bf792e90df13bf7a24d3f8ce3939fd96ff61b8117e4dcef75605974f3fcf25 gcc-4.0.4_1.tar.bz2
5656
7ac087bf006188154c28401d0c875ede56076c19d41bc54ffa0d7cc18ce40800 gcc-4.7.4_0.tar.bz2
5757
dc67fc1b132fa3945349efe74c5b2197bd0b6babf4d29d2deddd04f09d9af680 gettext-0.21_0.tar.bz2
5858
309282ba840f80b5e10897b1221f3ff3329b9e05b982c788d03652f411974524 gmp-6.2.1_0.tar.bz2
59-
f5917ffad5dd282d5ea17e791b470455c328ea0ebc845ed5ec80937a8d0eb933 gperf-3.1_0.tar.bz2
59+
62edfa633f64202b2d29199d11d56a897654a441c7ae39a4d59ca5fe75199f61 gperf-3.1_0.tar.bz2
6060
67d706423e079a9cd764fd9607027d296c0ff2380c1104006a2230a299eb2c1d grep-2.4_0.tar.bz2
61-
0939a34d58ff31e2c234f6f47f964633ceae4839de49ce368ad027c016850d58 grep-3.7_0.tar.bz2
62-
9dacbb0d2a12585079ba2527af5bb165337aa6fe68fa42b93842abe3b8d46ef6 guile-3.0.9_0.tar.bz2
61+
8e612afb9a439aa8bf5db0fc2589eec890a6017690412d5c8e88a5838730b42c grep-3.7_0.tar.bz2
62+
e2a85aad6d51e52c9a30afeed058f95172fde1215f77243549274672990f6237 guile-3.0.9_0.tar.bz2
6363
8d2015b87337abbf287f7a39ee4cf53514120b5d3e90a93fe7d533dcc43f14fa help2man-1.36.4_0.tar.bz2
6464
f650c3b24de6edd49cd662c9e9ce11f7b0b5ea6df66d561b46a032b08fc34faa kbd-1.15_0.tar.bz2
6565
50a0f881161c68fe7c9ec6836b11a905b0d54e08e99b2476e8d1f5ac3212769e kexec-linux-1.0.0_0.tar.bz2
@@ -82,7 +82,7 @@ e69554b0a77b419ddd5d0a0e418ba4005ecd0f6784c92a6928a0270bd929a098 make-3.82_0.ta
8282
b79e0f8a39ba8880d43aa27551b72915655c62af39125e1f4ac8f8e69e71aaca musl-1.1.24_2.tar.bz2
8383
81f79a0faf58e105c5f12d9f538d3ea7578a3b361e633ab8f47324ec23ec9de6 musl-1.2.4_0.tar.bz2
8484
6dc5e763b747b66f72692c6820d7f46b7f4cf2e2fe05229a1d01c03919c1c936 musl-1.2.4_1.tar.bz2
85-
107548dd69ff4d5dfceb5891eed8a237cc6a22fd65915b44c838be1eba07668b musl-1.2.4_2.tar.bz2
85+
820203286127e7c22cee9f1b3cff664431f10d14c3f22f00b3e771fd849fd449 musl-1.2.4_2.tar.bz2
8686
c490016e49bbf77e7f63071f7aa60e8290a0c67f017846def1c3f65bd10d5712 openssl-1.1.1l_0.tar.bz2
8787
71864d042cdc564b65eab21360902c714e9b43f80a19689c5600589529b267e7 patch-2.7.6_0.tar.bz2
8888
914a7abf36a64723b6e9f9b0b6ccd19c8e544fa798896a2bb1151dc341890c22 perl-5.000_0.tar.bz2
@@ -93,26 +93,26 @@ b86fc586d72a6d204d0b9017afe17aa2439529e13f43befc56648b78de17c8f8 perl5.004-05_0
9393
fdccd3ba27a44d2149f159040414a04b39bfc72673ba36f50051b61199cc425c perl-5.32.1_0.tar.bz2
9494
9fa8850897248d77d554caa2b3d52e7890308cbf28750ffc24c09f498aee563c perl-5.6.2_0.tar.bz2
9595
1b9d4260edf7b2241d10e4c4ad17d0f90047bd4bf42f2487a7133902529e9dfe pkg-config-0.29.2_0.tar.bz2
96-
d4a263a4039b8d18ab95b5a7188a5c8b0defdf17d1cf899bf23a597be2df0658 python-2.0.1_0.tar.bz2
97-
95ecbf909a8781d77e9b89e6ff3dc39e3ed702aebdec8b0a491df2dd4af8c780 python-2.0.1_1.tar.bz2
98-
14b20bd76f6dfab0cc19141fd8d39c2841227b3876e5d107b1b57b05a51a83aa python-2.3.7_0.tar.bz2
99-
5395d185003b22c607eb55a5b9f1adca5bbe178e7c774faabe758d0499936397 python-2.3.7_1.tar.bz2
100-
374fc8c2577d681b7aa2670000fcc2450e2b50eb1cc8d739994ece69f83f4155 python-2.5.6_0.tar.bz2
101-
e1321250c6421515f982a89ee4ceb8a8b7d2ecc3e192c7c7ede58e98f2bc75de python-3.11.1_0.tar.bz2
102-
8f096d93f799a6575bae06a578625b92a888c25ed6b4d296173fc20fcadb003a python-3.1.5_0.tar.bz2
103-
fb123d00e591452a6f077aaa8aa22ab8693e665ffa95e185a2bf79883d3d4684 python-3.1.5_1.tar.bz2
104-
a9b73271407427f749406e1d3eabd51f627fd0fbe92332b792eeff1b9bfc44a5 python-3.3.7_0.tar.bz2
105-
f95ce9de6002c47d82c41804e943a7079614fe7bc669fba15fe4552f9f08a7e3 python-3.4.10_0.tar.bz2
106-
18bf5480d894d65bb11cad9d8591410e8a3b399f6eef3568d45144c363cd7d43 python-3.8.16_0.tar.bz2
96+
1e882c3206f9d1de2a9be8b5c6ae4cc65e80a4de607bd521058577bf4169c0e9 python-2.0.1_0.tar.bz2
97+
aba9710341db75b78c7bc1eb4ef45b9496e23f7a356128af6c2b116ee0f3f31a python-2.0.1_1.tar.bz2
98+
d497c9b614194b941620bb5c5111fc72eca8cafd7d4f476eacb24fb7f909b614 python-2.3.7_0.tar.bz2
99+
8a977205933431c2a4207f647cb683b570dfdb0146e21abf5fab3f8426e1356b python-2.3.7_1.tar.bz2
100+
34e5083ed3e72da5aa5950acebf9e95464089d693e3d6a047a2b69b6103f5ca9 python-2.5.6_0.tar.bz2
101+
52ffb1ea6f2b893a6fd26f930c8ff63f78ddcc31ac3ec9c2ddade555205aa1ef python-3.11.1_0.tar.bz2
102+
3508248f299b73c50e3607c4c294d40face05170476a5026b0821aed69025863 python-3.1.5_0.tar.bz2
103+
12b1ffc7ec98ba8f807160b93ba69a694d5395567c3bcac1e49e8f8d1d50de43 python-3.1.5_1.tar.bz2
104+
60b93253a2078f849f81e7e1ed6233e30702f03b1893640eee95671d814f5514 python-3.3.7_0.tar.bz2
105+
da7c8ec579dd225c0d8bee63d95aeeb27ac2d5a60d4eefe298508cbf86bf506c python-3.4.10_0.tar.bz2
106+
0be505f63205b4bc1b1421896c610468ad1a2194bbc4c9abf58f61685c2023d1 python-3.8.16_0.tar.bz2
107107
6081832f1fc258df7dd927986821991b49fa78a71b76f4b37b5c34a8ebc9bc86 sed-4.0.9_0.tar.bz2
108-
e58d8ec46c5b31175de9598bf0da214b88ccbd4cca7a787f3d048c44edaf3ceb sed-4.8_0.tar.bz2
108+
e8daec00b2c2de7b18efbec057dc9290eed06668806c6f5a48914d4a5cd95eb4 sed-4.8_0.tar.bz2
109109
912d8f344104f1322255d6210c7c7e1371413ab530b2c6796e6aa565c74bf647 tar-1.34_0.tar.bz2
110110
d5d0df210248a385ae255cc5651369108e9a71fa8668821a6b1ed30a8d7364a1 tcc-0.9.27_0.tar.bz2
111111
79276f54bc57933b6002e5511e6d8d88e22159dcf1cbbc9da763c38691a2c628 tcc-0.9.27_1.tar.bz2
112112
31b5cbfec69d8037cc7f788c658f6fcd8c88794ecba34a2c5724bf6223b210f5 tcc-0.9.27_2.tar.bz2
113113
2b503cd31d3326ac1ed0eb9f506ac93c93770da51164e152a812cd248961069c tcc-0.9.27_3.tar.bz2
114114
50ebaa1d8fcc4a03a43d431eb71e2f435cc8712ae47d400564df3716037d553a texinfo-6.7_0.tar.bz2
115115
229d9189adac10ad2a2c76fc147a4c317fc5b34026cef1c47edc9159aee480da util-linux-2.19.1_0.tar.bz2
116-
5a1fdd2b42080f3b4808ceb1bf80a95873e614a25524545e6803b7d9f1fd5605 which-2.21_0.tar.bz2
116+
ecdb7ffeb9256f6a9760be70969fe5dea9cde6a538cc88595281fe44340e98a1 which-2.21_0.tar.bz2
117117
3fade2079cc91f2c5624ff7247220059caee82e7de493332103d7a78155400b2 xz-5.4.1_0.tar.bz2
118118
ca8ec9876a7334f5f87e1159e0efe343b8b497ffb0dea8b548223035ecd67f9e zlib-1.2.13_0.tar.bz2

steps/binutils-2.38/patches/libiberty-add-missing-config-directory-reference.patch

Lines changed: 0 additions & 18 deletions
This file was deleted.

steps/binutils-2.38/patches/opcodes-ensure-i386-init-dependencies-are-satisfied.patch

Lines changed: 0 additions & 17 deletions
This file was deleted.

steps/binutils-2.38/sources

Lines changed: 0 additions & 1 deletion
This file was deleted.

steps/binutils-2.38/pass1.sh renamed to steps/binutils-2.41/pass1.sh

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ src_prepare() {
1111

1212
# Remove unused generated files
1313
rm etc/Makefile.in etc/configure
14-
1514
rm zlib/aclocal.m4 zlib/configure
1615

16+
# Remove gprofng
17+
rm -r gprofng
18+
1719
# Regenerate autoconf
18-
for dir in bfd binutils gas gold gprof intl ld libctf libiberty opcodes; do
20+
for dir in bfd binutils gas gold gprof intl ld libctf libiberty libsframe opcodes; do
1921
cd $dir
2022
AUTOPOINT=true ACLOCAL=aclocal-1.15 AUTOMAKE=automake-1.15 autoreconf-2.69 -fi
2123
cd ..
@@ -26,9 +28,6 @@ src_prepare() {
2628
pushd gold
2729
automake-1.15 -fai testsuite/Makefile
2830
popd
29-
pushd bfd
30-
automake-1.15 -fai doc/Makefile
31-
popd
3231

3332
# Rebuild bison files
3433
touch -- */*.y
@@ -59,12 +58,14 @@ src_prepare() {
5958
-delete
6059

6160
# Remove pregenerated opcodes files
62-
rm opcodes/i386-init.h opcodes/i386-tbl.h
61+
rm opcodes/i386-init.h opcodes/i386-tbl.h opcodes/i386-mnem.h
6362
rm opcodes/ia64-asmtab.c
6463
rm opcodes/z8k-opc.h
6564
rm opcodes/aarch64-asm-2.c opcodes/aarch64-opc-2.c opcodes/aarch64-dis-2.c
6665
rm $(grep -l 'MACHINE GENERATED' opcodes/*.c opcodes/*.h)
6766

67+
rm libiberty/functions.texi
68+
6869
# Regenerate MeP sections
6970
./bfd/mep-relocs.pl
7071

@@ -73,7 +74,7 @@ src_prepare() {
7374
}
7475

7576
src_configure() {
76-
for dir in intl libctf libiberty opcodes bfd binutils gas gprof ld; do
77+
for dir in intl libctf libiberty libsframe opcodes bfd binutils gas gprof ld; do
7778
cd $dir
7879

7980
./configure \
@@ -95,13 +96,13 @@ src_configure() {
9596

9697
src_compile() {
9798
make -C bfd headers
98-
for dir in libiberty bfd opcodes libctf binutils gas gprof ld; do
99+
for dir in libiberty libsframe bfd opcodes libctf binutils gas gprof ld; do
99100
make "${MAKEJOBS}" -C $dir tooldir=${PREFIX} CFLAGS="-std=c99"
100101
done
101102
}
102103

103104
src_install() {
104-
for dir in libiberty bfd opcodes libctf binutils gas gprof ld; do
105+
for dir in libiberty bfd opcodes libctf libsframe binutils gas gprof ld; do
105106
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" install
106107
done
107108

steps/binutils-2.38/pass2.sh renamed to steps/binutils-2.41/pass2.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ src_prepare() {
1717
ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
1818

1919
# Regenerate autoconf
20-
for dir in bfd binutils gas gold gprof intl ld libctf libiberty opcodes; do
20+
for dir in bfd binutils gas gold gprof gprofng intl ld libctf libiberty libsframe opcodes; do
2121
cd $dir
2222
ACLOCAL=aclocal-1.15 AUTOMAKE=automake-1.15 autoreconf-2.69 -fi
2323
cd ..
@@ -27,8 +27,10 @@ src_prepare() {
2727
pushd gold
2828
automake-1.15 -fai testsuite/Makefile
2929
popd
30-
pushd bfd
30+
pushd gprofng
3131
automake-1.15 -fai doc/Makefile
32+
automake-1.15 -fai gp-display-html/Makefile
33+
automake-1.15 -fai src/Makefile
3234
popd
3335

3436
# intl/ Makefile is a bit broken because of new gettext
@@ -67,12 +69,14 @@ src_prepare() {
6769
-delete
6870

6971
# Remove pregenerated opcodes files
70-
rm opcodes/i386-init.h opcodes/i386-tbl.h
72+
rm opcodes/i386-init.h opcodes/i386-tbl.h opcodes/i386-mnem.h
7173
rm opcodes/ia64-asmtab.c
7274
rm opcodes/z8k-opc.h
7375
rm opcodes/aarch64-asm-2.c opcodes/aarch64-opc-2.c opcodes/aarch64-dis-2.c
7476
rm $(grep -l 'MACHINE GENERATED' opcodes/*.c opcodes/*.h)
7577

78+
rm libiberty/functions.texi
79+
7680
# Regenerate MeP sections
7781
./bfd/mep-relocs.pl
7882

@@ -95,6 +99,7 @@ src_configure() {
9599
--disable-nls \
96100
--disable-multilib \
97101
--disable-plugins \
102+
--disable-gprofng \
98103
--enable-threads \
99104
--enable-64-bit-bfd \
100105
--enable-gold \
File renamed without changes.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
SPDX-FileCopyrightText: 2023 fosslinux <[email protected]>
2+
3+
SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
Ensure functions.texi dependencies are satisfied.
6+
7+
--- libiberty/Makefile.in 2023-12-08 15:18:57.985791235 +1100
8+
+++ libiberty/Makefile.in 2023-12-08 15:19:15.391252344 +1100
9+
@@ -368,12 +368,12 @@
10+
libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
11+
$(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
12+
13+
-@MAINT@$(srcdir)/functions.texi : stamp-functions
14+
-@MAINT@ @true
15+
+$(srcdir)/functions.texi : stamp-functions
16+
+ @true
17+
18+
-@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
19+
-@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
20+
-@MAINT@ echo stamp > stamp-functions
21+
+stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
22+
+@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
23+
+ echo stamp > stamp-functions
24+
25+
INSTALL_DEST = @INSTALL_DEST@
26+
install: install_to_$(INSTALL_DEST) install-subdir
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
SPDX-FileCopyrightText: 2022 Dor Askayo <[email protected]>
2+
SPDX-FileCopyrightText: 2023 fosslinux <[email protected]>
3+
4+
SPDX-License-Identifier: GPL-3.0-or-later
5+
6+
Ensure i386-tbl.h dependencies are satisfied.
7+
8+
--- opcodes/Makefile.am 2023-12-08 17:13:05.669136957 +1100
9+
+++ opcodes/Makefile.am 2023-12-08 17:13:18.410480026 +1100
10+
@@ -540,7 +540,7 @@
11+
# i386-gen will generate all headers in one go. Use a pattern rule to properly
12+
# express this, with the inner dash ('-') arbitrarily chosen to be the stem.
13+
$(srcdir)/i386%tbl.h $(srcdir)/i386%init.h $(srcdir)/i386%mnem.h: \
14+
- @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
15+
+ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
16+
$(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
17+
< $(srcdir)/i386-opc.tbl \
18+
| ./i386-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir)

steps/binutils-2.41/sources

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://mirrors.kernel.org/gnu/binutils/binutils-2.41.tar.xz ae9a5789e23459e59606e6714723f2d3ffc31c03174191ef0d015bdf06007450

0 commit comments

Comments
 (0)