Commit Graph

104 Commits

Author SHA1 Message Date
مهدي شينون (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
Jeremy Drake
a2a71015f8 binutils: allow creating an empty import library
Fixes #7029
2020-09-24 13:04:30 -07:00
Jeremy Drake
77121a64e3 binutils: fix crash creating empty implib.
Fixes #6107 (most of the comments at least).

Also, added another upstream test patch, and turned my last patch into a
git-format one.
2020-09-10 11:26:29 -07:00
Jeremy Drake
d32cd1ee0b binutils: option to move default bases under 4GB
msys2/MINGW-packages#6932 and msys2/MINGW-packages#6907 show packages
have issues with the new default base addresses, so add an option to
change back to the old defaults during the transition.
2020-09-07 15:13:16 -07:00
Jeremy Drake
f5bd043617 binutils: temporarily revert default dll charactaristics.
Until more testing is done, this patch reverts the
DEFAULT_DLL_CHARACTERISTICS to 0, but keeps the new --disable- options
for the flags so that they can be overridden later on the command line.

Note that this does NOT revert the default --enable-reloc-section.  This
shouldn't hurt anything other than making the resulting executable
larger.
2020-08-31 10:58:51 -07:00
Jeremy Drake
031cf25670 binutils: add upstream patches changing PE defaults. 2020-08-29 11:27:48 -07:00
Christoph Reiter
d0540739b1 binutils: move the base addr above 4gb so we get full ASLR support if enabled 2020-08-27 09:13:58 +02:00
Christoph Reiter
b84eb4eecf binutils: Update to 2.35 2020-08-26 23:08:50 +02:00
Alexey Pavlov
d9041a437e binutils: Import upstream patches 2020-06-02 08:45:45 +03:00
Orgad Shaneh
db0468152a binutils: Use xz instead of bz2
20M instead of 30M.
2020-05-27 23:39:04 +03:00
Alexey Pavlov
7410bb5b69 binutils: Revert part of changes for handle spaces by windres 2020-05-07 12:37:41 +03:00