Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions recipes/devel/binutils.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
inherit: [autotools, patch]

metaEnvironment:
PKG_VERSION: "2.45.1"
PKG_VERSION: "2.46.0"
PKG_LICENSE: "FSFAP AND GFDL-1.3 AND GPL-2.0-or-later AND LGPL-2.0-or-later"

checkoutSCM:
scm: url
url: ${GNU_MIRROR}/binutils/binutils-${PKG_VERSION}.tar.xz
digestSHA1: "db1bb5b24bab487664380f4cbb498c8b2595e5a8"
digestSHA1: "ca9c3b9f829d4243adfec46108417cec7c6985bb"
stripComponents: 1

checkoutDeterministic: True
Expand Down
70 changes: 35 additions & 35 deletions recipes/devel/binutils/0001-Add-L4Re-as-a-target.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Date: Mon, 19 May 2025 16:42:07 +0200
Subject: [PATCH] Add L4Re as a target

diff -Nurp a/bfd/config.bfd b/bfd/config.bfd
--- a/bfd/config.bfd 2025-11-10 01:00:00.000000000 +0100
+++ b/bfd/config.bfd 2025-12-12 11:43:46.804841462 +0100
@@ -274,6 +274,11 @@ case "${targ}" in
--- a/bfd/config.bfd 2026-04-14 08:42:29.142350168 +0200
+++ b/bfd/config.bfd 2026-04-14 08:44:24.743876516 +0200
@@ -270,6 +270,11 @@ case "${targ}" in
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
Expand All @@ -14,21 +14,21 @@ diff -Nurp a/bfd/config.bfd b/bfd/config.bfd
+ targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec aarch64_pei_le_vec aarch64_pe_le_vec"
+ want64=true
+ ;;
aarch64-*-cloudabi*)
targ_defvec=aarch64_elf64_le_cloudabi_vec
targ_selvecs=aarch64_elf64_be_cloudabi_vec
@@ -376,6 +381,10 @@ case "${targ}" in
aarch64-*-openbsd*)
targ_defvec=aarch64_elf64_le_vec
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
@@ -377,6 +382,10 @@ case "${targ}" in
targ_defvec=arm_elf32_le_vec
targ_selvecs="arm_elf32_fdpic_le_vec arm_elf32_be_vec arm_elf32_fdpic_be_vec arm_pe_le_vec arm_pe_be_vec arm_pei_le_vec arm_pei_be_vec"
;;
+ arm-*-l4re*)
+ targ_defvec=arm_elf32_le_vec
+ targ_selvecs="arm_elf32_be_vec"
+ ;;
arm-*-nacl*)
targ_defvec=arm_elf32_nacl_le_vec
targ_selvecs="arm_elf32_nacl_be_vec"
@@ -587,7 +596,7 @@ case "${targ}" in
armeb-*-netbsd*)
targ_defvec=arm_elf32_be_vec
targ_selvecs="arm_elf32_le_vec"
@@ -590,7 +599,7 @@ case "${targ}" in
targ_selvecs=hppa_elf32_vec
;;

Expand All @@ -37,7 +37,7 @@ diff -Nurp a/bfd/config.bfd b/bfd/config.bfd
targ_defvec=i386_elf32_vec
targ_selvecs="iamcu_elf32_vec i386_coff_vec"
;;
@@ -681,11 +690,11 @@ case "${targ}" in
@@ -678,11 +687,11 @@ case "${targ}" in
targ_selvecs="i386_elf32_vec iamcu_elf32_vec"
want64=true
;;
Expand All @@ -52,8 +52,8 @@ diff -Nurp a/bfd/config.bfd b/bfd/config.bfd
esac
want64=true
diff -Nurp a/gas/config/tc-i386.c b/gas/config/tc-i386.c
--- a/gas/config/tc-i386.c 2025-11-10 01:00:00.000000000 +0100
+++ b/gas/config/tc-i386.c 2025-12-11 14:19:35.383263645 +0100
--- a/gas/config/tc-i386.c 2026-04-14 08:42:29.325490263 +0200
+++ b/gas/config/tc-i386.c 2026-04-14 08:43:05.448330751 +0200
@@ -574,7 +574,8 @@ const char extra_symbol_chars[] = "*%-([
&& !defined (TE_Haiku) \
&& !defined (TE_FreeBSD) \
Expand All @@ -66,7 +66,7 @@ diff -Nurp a/gas/config/tc-i386.c b/gas/config/tc-i386.c
--divide will remove '/' from this list. */
diff -Nurp a/gas/config/te-arml4reeabi.h b/gas/config/te-arml4reeabi.h
--- a/gas/config/te-arml4reeabi.h 1970-01-01 01:00:00.000000000 +0100
+++ b/gas/config/te-arml4reeabi.h 2025-12-11 14:15:11.115733180 +0100
+++ b/gas/config/te-arml4reeabi.h 2026-04-14 08:43:05.449628334 +0200
@@ -0,0 +1,25 @@
+/* Copyright (C) 2004-2025 Free Software Foundation, Inc.
+
Expand Down Expand Up @@ -95,7 +95,7 @@ diff -Nurp a/gas/config/te-arml4reeabi.h b/gas/config/te-arml4reeabi.h
+
diff -Nurp a/gas/config/te-l4re.h b/gas/config/te-l4re.h
--- a/gas/config/te-l4re.h 1970-01-01 01:00:00.000000000 +0100
+++ b/gas/config/te-l4re.h 2025-12-11 14:14:06.976941014 +0100
+++ b/gas/config/te-l4re.h 2026-04-14 08:43:05.449686223 +0200
@@ -0,0 +1,31 @@
+/* te-l4re.h -- L4Re target environment declarations.
+ Copyright (C) 2000-2025 Free Software Foundation, Inc.
Expand Down Expand Up @@ -129,8 +129,8 @@ diff -Nurp a/gas/config/te-l4re.h b/gas/config/te-l4re.h
+#include "obj-format.h"
+
diff -Nurp a/gas/configure.tgt b/gas/configure.tgt
--- a/gas/configure.tgt 2025-11-10 01:00:00.000000000 +0100
+++ b/gas/configure.tgt 2025-12-11 14:17:04.656682621 +0100
--- a/gas/configure.tgt 2026-04-14 08:42:29.328635985 +0200
+++ b/gas/configure.tgt 2026-04-14 08:43:05.449746727 +0200
@@ -130,6 +130,7 @@ case ${generic_target} in
aarch64*-*-fuchsia*) fmt=elf;;
aarch64*-*-haiku*) fmt=elf em=haiku ;;
Expand All @@ -139,15 +139,15 @@ diff -Nurp a/gas/configure.tgt b/gas/configure.tgt
aarch64*-*-linux*) fmt=elf em=linux
case ${cpu}-${os} in
aarch64*-linux-gnu_ilp32) arch=aarch64:32 ;;
@@ -169,6 +170,7 @@ case ${generic_target} in
@@ -168,6 +169,7 @@ case ${generic_target} in
arm-*-pe) fmt=coff em=pe ;;
arm-*-fuchsia*) fmt=elf ;;
arm-*-haiku*) fmt=elf em=haiku ;;
+ arm-*-l4re*) fmt=elf em=arml4reeabi ;;

avr-*-*) fmt=elf bfd_gas=yes ;;

@@ -232,6 +234,7 @@ case ${generic_target} in
@@ -231,6 +233,7 @@ case ${generic_target} in
i386-*-fuchsia*) fmt=elf ;;
i386-*-haiku*) fmt=elf em=haiku ;;
i386-*-genode*) fmt=elf ;;
Expand All @@ -156,9 +156,9 @@ diff -Nurp a/gas/configure.tgt b/gas/configure.tgt
i386-*-netbsd*-gnu* | \
i386-*-knetbsd*-gnu | \
diff -Nurp a/ld/configure.tgt b/ld/configure.tgt
--- a/ld/configure.tgt 2025-11-10 01:00:00.000000000 +0100
+++ b/ld/configure.tgt 2025-12-11 13:34:38.706376257 +0100
@@ -98,6 +98,9 @@ aarch64-*-freebsd*) targ_emul=aarch64fbs
--- a/ld/configure.tgt 2026-04-14 08:42:29.182666614 +0200
+++ b/ld/configure.tgt 2026-04-14 08:43:05.449914102 +0200
@@ -95,6 +95,9 @@ aarch64-*-freebsd*) targ_emul=aarch64fbs
aarch64-*-fuchsia*) targ_emul=aarch64elf
targ_extra_emuls="aarch64elfb armelf armelfb"
;;
Expand All @@ -168,7 +168,7 @@ diff -Nurp a/ld/configure.tgt b/ld/configure.tgt
aarch64_be-*-linux-gnu_ilp32)
targ_emul=aarch64linux32b
targ_extra_libpath="aarch64linuxb aarch64linux aarch64linux32 armelfb_linux_eabi armelf_linux_eabi"
@@ -257,6 +260,9 @@ arm*-*-fuchsia*) targ_emul=armelf_fuchsi
@@ -242,6 +245,9 @@ arm*-*-fuchsia*) targ_emul=armelf_fuchsi
arm*-*-haiku*) targ_emul=armelf_haiku
targ_extra_emuls=armelf
;;
Expand All @@ -178,7 +178,7 @@ diff -Nurp a/ld/configure.tgt b/ld/configure.tgt
avr-*-*) targ_emul=avr2
targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega2_flmap avrxmega3 avrxmega4 avrxmega4_flmap avrxmega5 avrxmega6 avrxmega7 avrtiny"
;;
@@ -402,7 +408,7 @@ i[3-7]86-*-openbsd*)
@@ -383,7 +389,7 @@ i[3-7]86-*-openbsd*)
i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu
targ_extra_emuls=elf_i386
;;
Expand All @@ -187,26 +187,26 @@ diff -Nurp a/ld/configure.tgt b/ld/configure.tgt
targ_emul=elf_i386
targ_extra_emuls=elf_iamcu
;;
@@ -1032,7 +1038,7 @@ x86_64-*-netbsd* | x86_64-*-openbsd*)
@@ -978,7 +984,7 @@ x86_64-*-netbsd* | x86_64-*-openbsd*)
tdir_elf_i386=`echo ${targ_alias} | \
sed -e 's/x86_64/i386/' -e 's/aout//'`
;;
-x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*)
+x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode* | x86_64-*-l4re*)
targ_emul=elf_x86_64
targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64"
targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64"
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
diff -Nurp a/ld/emulparams/armelf_l4re.sh b/ld/emulparams/armelf_l4re.sh
--- a/ld/emulparams/armelf_l4re.sh 1970-01-01 01:00:00.000000000 +0100
+++ b/ld/emulparams/armelf_l4re.sh 2025-12-11 13:34:38.706376257 +0100
+++ b/ld/emulparams/armelf_l4re.sh 2026-04-14 08:43:05.450041794 +0200
@@ -0,0 +1,3 @@
+source_sh ${srcdir}/emulparams/armelf_linux_eabi.sh
+
+TEXT_START_ADDR=0x01000000
diff -Nurp a/ld/Makefile.am b/ld/Makefile.am
--- a/ld/Makefile.am 2025-11-10 01:00:00.000000000 +0100
+++ b/ld/Makefile.am 2025-12-11 13:34:38.706376257 +0100
@@ -168,6 +168,7 @@ ALL_EMULATION_SOURCES = \
--- a/ld/Makefile.am 2026-04-14 08:42:29.182334512 +0200
+++ b/ld/Makefile.am 2026-04-14 08:43:05.450099038 +0200
@@ -169,6 +169,7 @@ ALL_EMULATION_SOURCES = \
earmelf_fbsd.c \
earmelf_fuchsia.c \
earmelf_haiku.c \
Expand All @@ -215,17 +215,17 @@ diff -Nurp a/ld/Makefile.am b/ld/Makefile.am
earmelf_linux_eabi.c \
earmelf_linux_fdpiceabi.c \
diff -Nurp a/ld/Makefile.in b/ld/Makefile.in
--- a/ld/Makefile.in 2025-11-10 01:00:00.000000000 +0100
+++ b/ld/Makefile.in 2025-12-11 13:34:38.706376257 +0100
@@ -679,6 +679,7 @@ ALL_EMULATION_SOURCES = \
--- a/ld/Makefile.in 2026-04-14 08:42:29.182351623 +0200
+++ b/ld/Makefile.in 2026-04-14 08:43:05.450281272 +0200
@@ -684,6 +684,7 @@ ALL_EMULATION_SOURCES = \
earmelf_fbsd.c \
earmelf_fuchsia.c \
earmelf_haiku.c \
+ earmelf_l4re.c \
earmelf_linux.c \
earmelf_linux_eabi.c \
earmelf_linux_fdpiceabi.c \
@@ -1301,6 +1302,7 @@ distclean-compile:
@@ -1298,6 +1299,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fbsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fuchsia.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_haiku.Po@am__quote@
Expand Down
4 changes: 2 additions & 2 deletions recipes/devel/m4.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
inherit: [autotools, patch]

metaEnvironment:
PKG_VERSION: "1.4.20"
PKG_VERSION: "1.4.21"
PKG_LICENSE: "GPL-3.0-or-later"

checkoutSCM:
scm: url
url: ${GNU_MIRROR}/m4/m4-${PKG_VERSION}.tar.xz
digestSHA256: "e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b"
digestSHA256: "f25c6ab51548a73a75558742fb031e0625d6485fe5f9155949d6486a2408ab66"
stripComponents: 1

checkoutDeterministic: True
Expand Down
Loading