Skip to contentSkip to conversation

package/elf2flt: update to 2024.05

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Aug 7, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/elf2flt: update to 2024.05

Patch 0001 is upstream, this is also the only change in this release.

---
 ...r-new-style-ctors-when-using-riscv64.patch | 34 -------------------
 package/elf2flt/elf2flt.hash                  |  2 +-
 package/elf2flt/elf2flt.mk                    |  2 +-
 3 files changed, 2 insertions(+), 36 deletions(-)
 delete mode 100644 package/elf2flt/0001-fix-alignment-for-new-style-ctors-when-using-riscv64.patch
package/elf2flt/0001-fix-alignment-for-new-style-ctors-when-using-riscv64.patch deleted +0 -34
deleted file mode 100644
index fea726dab2..0000000000
@@ -1,34 +0,0 @@
-From eead8d5e9f3911243182311f16178c25c6ea03c4 Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <[email protected]>
-Date: Sat, 23 Mar 2024 07:23:45 +0100
-Subject: [PATCH] fix alignment for new-style ctors when using riscv64
-
-Recently uClibc-ng enabled UCLIBC_CTOR_DTOR for riscv64, so
-that f.e. C++ applications are running fine. As a side effect
-this breaks noMMU support. The problem is the alignment for
-the ctors in elf2flt. This patch fixes it.
-
-Tested with Qemu for ARM, M68k and Xtensa with no regressions.
-
-Signed-off-by: Waldemar Brodkorb <[email protected]>
-Upstream: https://github.com/uclinux-dev/elf2flt/commit/eead8d5e9f3911243182311f16178c25c6ea03c4
----
- elf2flt.ld.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/elf2flt.ld.in b/elf2flt.ld.in
-index a99c69e..230c382 100644
---- a/elf2flt.ld.in
-+++ b/elf2flt.ld.in
-@@ -139,7 +139,7 @@ R_RODAT:	*(.gnu.linkonce.r*)
- 		@SYMBOL_PREFIX@_ssro_size = @SYMBOL_PREFIX@_essro - @SYMBOL_PREFIX@_ssro;
- 		PROVIDE(@SYMBOL_PREFIX@_SDA2_BASE_ = @SYMBOL_PREFIX@_ssro + (@SYMBOL_PREFIX@_ssro_size / 2));
- 
--		. = ALIGN(4) ;
-+		. = ALIGN(8) ;
- TOR:		@SYMBOL_PREFIX@__CTOR_LIST__ = .;
- TOR:		LONG((@SYMBOL_PREFIX@__CTOR_END__ - @SYMBOL_PREFIX@__CTOR_LIST__) / 4 - 2)
- SINGLE_LINK:	/* gcc uses crtbegin.o to find the start of
--- 
-2.30.2
-
package/elf2flt/elf2flt.hash +1 -1
index e338ff6780..1e9c7cbedc 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  e1d419c463431ff1af7fdc76a402f628744ad10dff063bea76a386942255119c  elf2flt-2024.02.tar.gz
+sha256  9fd899d0c66552ecb175ff6764e5af810aa1bb78db38a64768a1b97c3c62199d  elf2flt-2024.05.tar.gz
 sha256  f20bc5007904094e3a4e9fbcc3526cdd40893f91d458c3139b308e5c4c0899c6  LICENSE.TXT
package/elf2flt/elf2flt.mk +1 -1
index 077e661b96..344ae97018 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ELF2FLT_VERSION = 2024.02
+ELF2FLT_VERSION = 2024.05
 ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,v$(ELF2FLT_VERSION))
 ELF2FLT_LICENSE = GPL-2.0+
 ELF2FLT_LICENSE_FILES = LICENSE.TXT
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Wed, 7 Aug 2024 08:17:03 +0200 Waldemar Brodkorb <[email protected]> wrote:

Patch 0001 is upstream, this is also the only change in this release.

---
 ...r-new-style-ctors-when-using-riscv64.patch | 34 -------------------
 package/elf2flt/elf2flt.hash                  |  2 +-
 package/elf2flt/elf2flt.mk                    |  2 +-
 3 files changed, 2 insertions(+), 36 deletions(-)
 delete mode 100644 package/elf2flt/0001-fix-alignment-for-new-style-ctors-when-using-riscv64.patch

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot