mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-26 00:06:11 -05:00
devkitA64: add relr defines
This commit is contained in:
parent
5599e42c8c
commit
8b3fb07490
|
|
@ -10701,6 +10701,35 @@ index 5c293c83d..0dbfcd7ee 100644
|
||||||
/* Under Cygwin, wchar_t (or its extension wint_t) is Unicode */
|
/* Under Cygwin, wchar_t (or its extension wint_t) is Unicode */
|
||||||
#define _jp2uc(c) (c)
|
#define _jp2uc(c) (c)
|
||||||
#define _jp2uc_l(c, l) (c)
|
#define _jp2uc_l(c, l) (c)
|
||||||
|
diff --git a/newlib/libc/include/elf.h b/newlib/libc/include/elf.h
|
||||||
|
index 79d3b974b..673f3391a 100644
|
||||||
|
--- a/newlib/libc/include/elf.h
|
||||||
|
+++ b/newlib/libc/include/elf.h
|
||||||
|
@@ -580,6 +580,11 @@ typedef struct {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
+typedef Elf32_Word Elf32_Relr;
|
||||||
|
+typedef Elf64_Xword Elf64_Relr;
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
#define ELF32_R_SYM(val) ((val) >> 8)
|
||||||
|
#define ELF32_R_TYPE(val) ((val) & 0xff)
|
||||||
|
#define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
|
||||||
|
@@ -747,7 +752,11 @@ typedef struct {
|
||||||
|
#define DT_ENCODING 32
|
||||||
|
#define DT_PREINIT_ARRAY 32
|
||||||
|
#define DT_PREINIT_ARRAYSZ 33
|
||||||
|
-#define DT_NUM 34
|
||||||
|
+#define DT_SYMTAB_SHNDX 34
|
||||||
|
+#define DT_RELRSZ 35
|
||||||
|
+#define DT_RELR 36
|
||||||
|
+#define DT_RELRENT 37
|
||||||
|
+#define DT_NUM 38
|
||||||
|
#define DT_LOOS 0x6000000d
|
||||||
|
#define DT_HIOS 0x6ffff000
|
||||||
|
#define DT_LOPROC 0x70000000
|
||||||
diff --git a/newlib/libc/include/fnmatch.h b/newlib/libc/include/fnmatch.h
|
diff --git a/newlib/libc/include/fnmatch.h b/newlib/libc/include/fnmatch.h
|
||||||
index a94e923a4..9171e98aa 100644
|
index a94e923a4..9171e98aa 100644
|
||||||
--- a/newlib/libc/include/fnmatch.h
|
--- a/newlib/libc/include/fnmatch.h
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user