Commit Graph

114 Commits

Author SHA1 Message Date
Christoph Reiter
c5ca7ce574 binutils: Update to 2.45.1
* b09f71c1c4680a639ab83bb273aea1f3f4380a6a.patch: included in this release

signing key advertised here:
https://sourceware.org/pipermail/binutils/2025-November/145592.html
2025-11-13 03:07:53 +01:00
Christoph Reiter
ceb8f98f74 binutils: backport windres crash fix (#25032)
Fixes #24998
2025-08-02 10:51:10 +02:00
Christoph Reiter
30d94719ae binutils: Update to 2.45 (#24963)
Remove backports which are included in this release
2025-07-27 17:06:33 +02:00
Jeremy Drake
cef453db44 binutils: backport upstream commits
This fixes #23577,
https://sourceware.org/bugzilla/show_bug.cgi?id=14339, and
https://sourceware.org/bugzilla/show_bug.cgi?id=32675 at least.  Also
backport support for filling in the load config directory with
_load_config_used.  This is not directly a bugfix, but avoided a
conflict with the other patches.
2025-06-13 11:18:40 -07:00
Christoph Reiter
20748f299a binutils: update upstream patch
See https://sourceware.org/bugzilla/show_bug.cgi?id=32942#c1
2025-05-10 07:29:11 +02:00
Christoph Reiter
4f92ed7ae9 gcc/binutils: apply codeview fixes (#24205)
See #24148

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051
2025-05-09 23:11:33 +02:00
Christoph Reiter
830d2ccff7 binutils: Update to 2.44
* 0110-binutils-mingw-gnu-print.patch: gold was removed, so remove gold hunks
* 2001-ld-option-to-move-default-bases-under-4GB.patch: refresh
2025-02-02 15:50:48 +01:00
مهدي شينون (Mehdi Chinoune)
c9e5b84b9b NFC: Always quote ${srcdir} and ${pkgdir}
Just in case someone has space in his path to MINGW-packages repo.
2025-01-14 09:27:50 +01:00
Christoph Reiter
afbe0f87f4 binutils: Update to 2.43.1 2024-08-31 11:58:06 +02:00
Yang Kun
c62b56e5bc binutils: update to 2.43 2024-08-15 06:27:41 +08:00
مهدي شينون (Mehdi Chinoune)
6487fa5eeb binutils: rebuild against latest mingw-w64
To fix an issue of randomizing tmp file names.
2024-04-15 12:56:31 +01:00
Christoph Reiter
619a8198e5 Add some CPEs 2024-03-26 11:53:19 +01:00
Christoph Reiter
ffc97b98c2 binutils: Update to 2.42
Remove all backports which are included in this new release.

Remove specify-timestamp.patch, looks like this was implemented upstream in:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=6badd1020f5bebd3f
and it seems to work here.

Work around binutils linking against the system libiberty instead of
the included one.

Also binutils now links against libintl, so add gettext as a dependency
2024-02-01 19:31:22 +01:00
Christoph Reiter
c2aee7d894 update checksums 2023-12-01 16:45:10 +01:00
Christoph Reiter
af0c2c5fbe binutils: build with system zlib
instead of the outdated internal one

See https://github.com/msys2/MSYS2-packages/issues/4218
2023-12-01 14:01:09 +01:00
oltolm
5edde623ff binutils: backport patch "optimize handle_COMDAT" 2023-08-28 18:13:14 +02:00
Christoph Reiter
edd9c6459a binutils: Update to 2.41
All removed patches are included in the new release
2023-07-30 21:12:58 +02:00
Markus Mützel
aa3cf5acdf binutils: Cherry-pick more follow-up patches. 2023-05-26 19:38:22 +02:00
Markus Mützel
ec0c92801f binutils: Cherry-pick some patches to improve link performance.
Upstreamed patches by @oltolm.
See also #16095.
2023-05-26 19:38:22 +02:00
Luca Bacci
29ef03a436 binutils: backport patch for x86 import libs 2023-05-17 18:18:41 +02:00
Christoph Reiter
f1a0873ece binutils: try to work around msvc lib linking regression
See #15469
2023-02-07 17:49:29 +01:00
مهدي شينون (Mehdi Chinoune)
594c064fd4 binutils: update to 2.40 2023-02-03 07:12:33 +01:00
Himal
1e503ebc71 binutils-handle-windows-nul 2023-01-09 08:48:42 +05:30
Christoph Reiter
40bcc2f2ba binutils: backport support for -exclude-symbols 2022-08-13 13:40:31 +02:00
Christoph Reiter
b670042a0a binutils: Update to 2.39
Remove one patch that is in 2.39.
Refresh the printf patch: some format specifiers are now correctly set
via autotools or use C99 macros. Also fix one broken ifdef line I
noticed while at it (mixing ifdef and defined)
2022-08-05 19:24:50 +02:00
Christoph Reiter
93afe2e8a5 binutils: backport fix for "local symbol `0' has no section" errors
This usually got triggered when linking meson subprojects.

https://sourceware.org/bugzilla/show_bug.cgi?id=29389
2022-08-03 21:31:28 +02:00
Orgad Shaneh
23cdbc4a17 binutils: Move include and libs back to native directories
They were moved to a subdirectory in 047d1d662f (binutils: resolve
conflicts with headers and libs with gdb, Dec 2013). Since then, gdb and
binutils repositories were merged, and gdb does not install these headers
and libs at all, so there is no conflict.

Linux systems have bfd.h, libbfd.a and libiberty.a in include and lib, and
not in a subdirectory.

Also, placing them in a subdirectory requires the users to specify the lib
directory, and have non-portable #include statements (binutils/bfd.h on
MinGW, else bfd.h).

Keep the original locations as symbolic links to maintain backwards
compatibility.
2022-05-31 12:06:43 +03:00
Luca Bacci
8d1a9f3182 binutils: add patch to fix replace operation on thin static library archives
Fixes https://github.com/msys2/MINGW-packages/issues/10860
2022-03-01 14:44:49 +01:00
Mehdi Chinoune
4b591bf09e binutils: update to 2.38 2022-02-20 07:21:05 +01:00
Christoph Reiter
07b287daa1 binutils: install under ${MINGW_PREFIX} 2022-02-05 12:14:48 +01:00
Christoph Reiter
7c67d9c465 Make sure every package using a C/C++ compiler depends on one
The "cc" virtual package provides the environment default compiler.
2022-01-08 17:11:16 +01:00
Christoph Reiter
3eac67e2ca Makedepend on autotools where needed 2021-12-17 12:41:47 +01:00
Christoph Reiter
672f8522dd binutils: backport a fix for too many FDs
from the 2.37 stable branch
2021-08-17 08:40:04 +02:00
Christoph Reiter
c24c06db7b binutils: take reproducibility patches from debian
It's a nice property to have.

They also use --enable-deterministic-archives, so do that too.
2021-08-16 08:37:03 +02:00
Christoph Reiter
04805c0929 binutils: revert a different commit
See https://github.com/msys2/MINGW-packages/pull/9233#issuecomment-889439433
2021-07-31 11:59:05 +02:00
Christoph Reiter
82323fa743 binutils: Update to 2.37 2021-07-29 09:54:28 +02:00
Jeremy Drake
0e9ea916c9 remove clang64 from binutils, it's likely to conflict with things provided by clang 2021-04-26 10:25:46 -07:00
Christoph Reiter
81bf16586c Enable clang64 for everything 2021-04-25 19:30:11 +02:00
Christoph Reiter
ea10978f3c binutils: backport fix for "relocation truncated to fit" errors
example: relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `strtoflt128'

Fixes #7023
2021-04-01 19:30:24 +02:00
Christoph Reiter
d7aec6a3d9 binutils: remove libdep.a which leads to errors when using ar
Not sure if this needs to be fixed or just isn't useful on Windows.

Fixes #7890
2021-03-31 09:05:10 +02:00
Christoph Reiter
c21d3b08c5 Set some mingw_arch 2021-03-26 13:42:25 +01:00
Christoph Reiter
6d907ac48c binutils: Update to 2.36.1 2021-02-06 18:47:00 +01:00
Christoph Reiter
ed9fc96282 binutils: remove commented out code 2021-02-06 18:46:38 +01:00
Christoph Reiter
52b8bb5c13 binutils: fix windres quoting issues
our space handling patch conflicts with https://sourceware.org/bugzilla/show_bug.cgi?id=26865
which results in ffmpg failing to build with something like
"fatal error: config.h: No such file or directory"

Drop that patch and backport https://sourceware.org/bugzilla/show_bug.cgi?id=4356
instead which seems to do something similar.

Fixes the ffmpeg build.
2021-02-01 23:44:16 +01:00
Christoph Reiter
174c7ac6c1 binutils: enable ASLR by default 2021-01-31 16:53:35 +01:00
Christoph Reiter
e2759b15ff binutils: remove unused patches 2021-01-31 16:42:43 +01:00
Astrum-polaris
7de2799b71 binutils: update to 2.36
Remove patches merged upstream
2021-01-26 13:19:28 +08:00
Orgad Shaneh
15a97a671a binutils: Remove gold linker
It doesn't support MinGW, and is generally useless on Windows.

This reverts commit fbb2df5f81.
2020-11-09 10:05:23 +02:00
jeremyd2019
9912be2cf8 Binutils 2.35.1 (#7079)
* binutils: update to 2.35.1.

Remove NEWS/ChangeLog changes from patches to reduce conflicts.

* binutils: upstream patch to DWARF decoding.

Should fix "DWARF error: could not find variable specification" from
 #7027 (and https://gitter.im/msys2/msys2?at=5f761f89f9cfbe19f931bbe8)
2020-10-02 08:06:01 +03:00
Christoph Reiter
92b8490651 binutils: default to <4GB image base for now
It can still be enabled via --default-image-base-high
2020-09-26 16:06:57 +02:00