mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
Revert "elfutils: fix a missing typedef in the last update"
This reverts commit a9e22ffa50
.
After doing a clean rebuild, it turns out that this change is not necessary
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2116073f98
commit
d4742de1d7
@ -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__))
|
Loading…
Reference in New Issue
Block a user