All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] riscv64: Support riscv_align relocations
@ 2024-09-11  9:41 Vladimir Serbinenko
  2024-09-11  9:41 ` [PATCH 2/8] compiler-rt: Add __multi3 Vladimir Serbinenko
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Vladimir Serbinenko @ 2024-09-11  9:41 UTC (permalink / raw)
  To: grub-devel; +Cc: Vladimir Serbinenko

They are purely for optimization, so no need to do anything.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
 grub-core/kern/riscv/dl.c | 1 +
 util/grub-mkimagexx.c     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/grub-core/kern/riscv/dl.c b/grub-core/kern/riscv/dl.c
index 896653bb4..c47db6959 100644
--- a/grub-core/kern/riscv/dl.c
+++ b/grub-core/kern/riscv/dl.c
@@ -329,6 +329,7 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr,
 	  break;
 
 	case R_RISCV_RELAX:
+	case R_RISCV_ALIGN:
 	  break;
 	default:
 	  {
diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c
index e50b29533..f9158edda 100644
--- a/util/grub-mkimagexx.c
+++ b/util/grub-mkimagexx.c
@@ -1477,6 +1477,7 @@ SUFFIX (relocate_addrs) (Elf_Ehdr *e, struct section_metadata *smd,
 		     }
 		     break;
 		   case R_RISCV_RELAX:
+		   case R_RISCV_ALIGN:
 		     break;
 		   default:
 		     grub_util_error (_("relocation 0x%x is not implemented yet"),
@@ -1891,6 +1892,7 @@ translate_relocation_pe (struct translate_context *ctx,
 	  }
 	  break;
 	case R_RISCV_RELAX:
+	case R_RISCV_ALIGN:
 	  break;
 	default:
 	  grub_util_error (_("relocation 0x%x is not implemented yet"),
-- 
2.39.2


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-11  9:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11  9:41 [PATCH 1/8] riscv64: Support riscv_align relocations Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 2/8] compiler-rt: Add __multi3 Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 3/8] Support clang integrated-as sparc64 Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 4/8] powerpc-ieee1275: Fix warnings and alignment Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 5/8] efi/linux: Silence warning Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 6/8] btrfs: Add an explicit GRUB_PACKED Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 7/8] Enable __clzsi2/__clzdi2 on arm Vladimir Serbinenko
2024-09-11  9:41 ` [PATCH 8/8] configure: Try -msoft-float -mfloat-abi=soft " Vladimir Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.