-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kmod segfaults with musl 1.2.5. I missed this while updating other stuff. Signed-off-by: Noel Georgi <git@frezbo.dev>
- Loading branch information
Showing
4 changed files
with
34 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/musl/0001-elf.h-add-typedefs-for-Elf-_Relr.patch | ||
|
||
From 981144ebc9ff30b085af107f1337543de7b0bf94 Mon Sep 17 00:00:00 2001 | ||
From: Natanael Copa <ncopa@alpinelinux.org> | ||
Date: Mon, 6 Nov 2023 12:29:16 +0100 | ||
Subject: [PATCH] elf.h: add typedefs for Elf*_Relr | ||
|
||
Add typedefs for Elf32_Relr and Elf64_relr as a follow-up to commit | ||
d32dadd60efb (ldso: support DT_RELR relative relocation format) | ||
--- | ||
include/elf.h | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/include/elf.h b/include/elf.h | ||
index 23f2c4bc..aa186d9d 100644 | ||
--- a/include/elf.h | ||
+++ b/include/elf.h | ||
@@ -32,6 +32,9 @@ typedef uint16_t Elf64_Section; | ||
typedef Elf32_Half Elf32_Versym; | ||
typedef Elf64_Half Elf64_Versym; | ||
|
||
+typedef Elf32_Word Elf32_Relr; | ||
+typedef Elf64_Xword Elf64_Relr; | ||
+ | ||
#define EI_NIDENT (16) | ||
|
||
typedef struct { | ||
-- | ||
2.42.1 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters