[openwrt/openwrt] Revert "elfutils: fix a missing typedef in the last update"

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 15 13:05:37 PDT 2024


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d4742de1d702478e288721c4104aec735eaca72b

commit d4742de1d702478e288721c4104aec735eaca72b
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Apr 15 22:05:06 2024 +0200

    Revert "elfutils: fix a missing typedef in the last update"
    
    This reverts commit a9e22ffa5028e303dc32d15f1ce5e1be4c20e125.
    After doing a clean rebuild, it turns out that this change is not necessary
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../elfutils/patches/007-fix-missing-typedef.patch | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/package/libs/elfutils/patches/007-fix-missing-typedef.patch b/package/libs/elfutils/patches/007-fix-missing-typedef.patch
deleted file mode 100644
index cfac17ad3f..0000000000
--- a/package/libs/elfutils/patches/007-fix-missing-typedef.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/libelf/libelf.h
-+++ b/libelf/libelf.h
-@@ -73,15 +73,15 @@
-  /* So RELR defines/typedefs can be used even with an old system elf.h.  */
-  #define SHT_RELR       19      /* RELR relative relocations */
- 
-- /* RELR relocation table entry */
-- typedef Elf32_Word     Elf32_Relr;
-- typedef Elf64_Xword    Elf64_Relr;
--
-  #define DT_RELRSZ      35      /* Total size of RELR relative relocations */
-  #define DT_RELR        36      /* Address of RELR relative relocations */
-  #define DT_RELRENT     37      /* Size of one RELR relative relocaction */
- #endif
- 
-+/* RELR relocation table entry */
-+typedef Elf32_Word     Elf32_Relr;
-+typedef Elf64_Xword    Elf64_Relr;
-+
- #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
- # define __nonnull_attribute__(...) __attribute__ ((__nonnull__ (__VA_ARGS__)))
- # define __deprecated_attribute__ __attribute__ ((__deprecated__))




More information about the lede-commits mailing list