From 83c71a0bec528bf6b78aab8dd25f3a7d528e8082 Mon Sep 17 00:00:00 2001 From: Force Charlie Date: Sat, 21 Sep 2024 14:43:19 +0800 Subject: [PATCH] Fix bela redefined STT_GNU_IFUNC --- vendor/bela.lock | 2 +- vendor/bela/include/hazel/details/elf.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vendor/bela.lock b/vendor/bela.lock index 4085785..987fa10 100644 --- a/vendor/bela.lock +++ b/vendor/bela.lock @@ -1 +1 @@ -https://github.com/fcharlie/bela/tree/f1f667f1be8ff5468b62df3a2739563126c760f8 +https://github.com/fcharlie/bela/tree/96686cfb2173c52baad010be6832e0059824f7f8 diff --git a/vendor/bela/include/hazel/details/elf.h b/vendor/bela/include/hazel/details/elf.h index 0f556a1..298f3bf 100644 --- a/vendor/bela/include/hazel/details/elf.h +++ b/vendor/bela/include/hazel/details/elf.h @@ -1190,7 +1190,6 @@ enum { STT_RELC = 8, // Complex relocation expression. STT_SRELC = 9, // Signed complex relocation expression. STT_GNU_IFUNC = 10, // Indirect code object. - STT_GNU_IFUNC = 10, // GNU indirect function STT_LOOS = 10, // Lowest operating system-specific symbol type STT_HIOS = 12, // Highest operating system-specific symbol type STT_LOPROC = 13, // Lowest processor-specific symbol type