@@ -10701,6 +10701,35 @@ index 5c293c83d..0dbfcd7ee 100644
1070110701 /* Under Cygwin, wchar_t (or its extension wint_t) is Unicode */
1070210702 #define _jp2uc(c) (c)
1070310703 #define _jp2uc_l(c, l) (c)
10704+ diff --git a/newlib/libc/include/elf.h b/newlib/libc/include/elf.h
10705+ index 79d3b974b..673f3391a 100644
10706+ --- a/newlib/libc/include/elf.h
10707+ +++ b/newlib/libc/include/elf.h
10708+ @@ -580,6 +580,11 @@ typedef struct {
10709+
10710+
10711+
10712+ + typedef Elf32_Word Elf32_Relr;
10713+ + typedef Elf64_Xword Elf64_Relr;
10714+ +
10715+ +
10716+ +
10717+ #define ELF32_R_SYM(val) ((val) >> 8)
10718+ #define ELF32_R_TYPE(val) ((val) & 0xff)
10719+ #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
10720+ @@ -747,7 +752,11 @@ typedef struct {
10721+ #define DT_ENCODING 32
10722+ #define DT_PREINIT_ARRAY 32
10723+ #define DT_PREINIT_ARRAYSZ 33
10724+ - #define DT_NUM 34
10725+ + #define DT_SYMTAB_SHNDX 34
10726+ + #define DT_RELRSZ 35
10727+ + #define DT_RELR 36
10728+ + #define DT_RELRENT 37
10729+ + #define DT_NUM 38
10730+ #define DT_LOOS 0x6000000d
10731+ #define DT_HIOS 0x6ffff000
10732+ #define DT_LOPROC 0x70000000
1070410733diff --git a/newlib/libc/include/fnmatch.h b/newlib/libc/include/fnmatch.h
1070510734index a94e923a4..9171e98aa 100644
1070610735--- a/newlib/libc/include/fnmatch.h
0 commit comments