0003-riscv64-alignment.patch 637 B

123456789101112
  1. diff -Nur elf2flt-v2024.02.orig/elf2flt.ld.in elf2flt-v2024.02/elf2flt.ld.in
  2. --- elf2flt-v2024.02.orig/elf2flt.ld.in 2024-03-22 04:51:08.000000000 +0100
  3. +++ elf2flt-v2024.02/elf2flt.ld.in 2024-03-22 13:08:31.793773247 +0100
  4. @@ -139,7 +139,7 @@
  5. @SYMBOL_PREFIX@_ssro_size = @SYMBOL_PREFIX@_essro - @SYMBOL_PREFIX@_ssro;
  6. PROVIDE(@SYMBOL_PREFIX@_SDA2_BASE_ = @SYMBOL_PREFIX@_ssro + (@SYMBOL_PREFIX@_ssro_size / 2));
  7. - . = ALIGN(4) ;
  8. + . = ALIGN(8) ;
  9. TOR: @SYMBOL_PREFIX@__CTOR_LIST__ = .;
  10. TOR: LONG((@SYMBOL_PREFIX@__CTOR_END__ - @SYMBOL_PREFIX@__CTOR_LIST__) / 4 - 2)
  11. SINGLE_LINK: /* gcc uses crtbegin.o to find the start of