1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +00:00

Toolchain+Ports: Update binutils to 2.41

Aside from a straightforward rebase, this contains an out-of-tree patch
from MaskRay which adds the `-Bsymbolic-non-weak-functions` flag to ld.
This commit is contained in:
Daniel Bertalan 2023-09-04 07:48:49 +02:00
parent ae21002cb5
commit 4defa401d3
7 changed files with 346 additions and 49 deletions

View file

@ -270,7 +270,7 @@ ensure_toolchain() {
if [ "$TOOLCHAIN_TYPE" = "GNU" ]; then
local ld_version
ld_version="$("$TOOLCHAIN_DIR"/bin/"$TARGET"-pc-serenity-ld -v)"
local expected_version="GNU ld (GNU Binutils) 2.40"
local expected_version="GNU ld (GNU Binutils) 2.41"
if [ "$ld_version" != "$expected_version" ]; then
echo "Your toolchain has an old version of binutils installed."
echo " installed version: \"$ld_version\""