0001-.rofixup-fix.patch 843 B

123456789101112131415161718192021222324252627282930313233
  1. From 270b461e88b47781b3ef9bba2779074d0eb4996b Mon Sep 17 00:00:00 2001
  2. From: Waldemar Brodkorb <wbx@openadk.org>
  3. Date: Fri, 25 Aug 2023 05:04:53 +0200
  4. Subject: [PATCH] .rofixup fix
  5. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  6. ---
  7. elf2flt.ld.in | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/elf2flt.ld.in b/elf2flt.ld.in
  10. index c7e01a6..c69531e 100644
  11. --- a/elf2flt.ld.in
  12. +++ b/elf2flt.ld.in
  13. @@ -31,6 +31,7 @@ W_RODAT *(.rodata)
  14. W_RODAT *(.rodata1)
  15. W_RODAT *(.rodata.*)
  16. W_RODAT *(.gnu.linkonce.r*)
  17. +W_RODAT *(.rofixup)
  18. /* This is special code area at the end of the normal
  19. text section. It contains a small lookup table at
  20. @@ -60,6 +61,7 @@ R_RODAT *(.rodata)
  21. R_RODAT *(.rodata1)
  22. R_RODAT *(.rodata.*)
  23. R_RODAT *(.gnu.linkonce.r*)
  24. +R_RODAT *(.rofixup)
  25. *(.data)
  26. *(.data1)
  27. *(.data.*)
  28. --
  29. 2.30.2