![]() |
|
Message-ID: <n81s0021-r5o7-465o-1nn7-9o80n502p6pn@nqncgvir-ragrecevfrf.pbz> Date: Tue, 15 Apr 2025 09:50:37 +1000 (AEST) From: David Leonard <d@...ptive-enterprises.com> To: musl@...ts.openwall.com Subject: [PATCH] arm: add support for R_ARM_REL32 relocations This fixes an issue found after building libpcap.so with -Os: Error relocating /lib/libpcap.so.1: unsupported relocation type 3 $ readelf -Dr lib/libpcap.so.1.10.4 | grep R_ARM_REL32 00019058 0000be03 R_ARM_REL32 00037044 eproto_db --- arch/arm/reloc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/reloc.h b/arch/arm/reloc.h index d98eb8af..d055b68c 100644 --- a/arch/arm/reloc.h +++ b/arch/arm/reloc.h @@ -17,6 +17,7 @@ #define TPOFF_K 0 #define REL_SYMBOLIC R_ARM_ABS32 +#define REL_OFFSET32 R_ARM_REL32 #define REL_GOT R_ARM_GLOB_DAT #define REL_PLT R_ARM_JUMP_SLOT #define REL_RELATIVE R_ARM_RELATIVE -- 2.43.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.