LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] OpenRISC module fixups
@ 2024-04-11 16:42 Stafford Horne
  2024-04-11 16:42 ` [PATCH v2 1/2] openrisc: Define openrisc relocation types Stafford Horne
  2024-04-11 16:42 ` [PATCH v2 2/2] openrisc: Add support for more module relocations Stafford Horne
  0 siblings, 2 replies; 3+ messages in thread
From: Stafford Horne @ 2024-04-11 16:42 UTC (permalink / raw
  To: LKML; +Cc: Linux OpenRISC, Stafford Horne

This series implements some missing OpenRISC relocations to allow
module loading to work.  I tested a few modules and these relocations
were enough to allow for several modules I tested with.

In the series we:
  1. Update the relocations to add all of the relocation types currently
     defined in gnu binutils.
  2. Implement two of the missing relocations needed for module loading.

Since v1:
 - Added patch suggested by Geert to rename all relocation types to the
   R_OR1K_* form.

Stafford Horne (2):
  openrisc: Define openrisc relocation types
  openrisc: Add support for more module relocations

 arch/openrisc/include/uapi/asm/elf.h | 75 ++++++++++++++++++++++++----
 arch/openrisc/kernel/module.c        | 18 +++++--
 2 files changed, 80 insertions(+), 13 deletions(-)

-- 
2.44.0


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 16:42 [PATCH v2 0/2] OpenRISC module fixups Stafford Horne
2024-04-11 16:42 ` [PATCH v2 1/2] openrisc: Define openrisc relocation types Stafford Horne
2024-04-11 16:42 ` [PATCH v2 2/2] openrisc: Add support for more module relocations Stafford Horne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).