From bcc23586c5177390ae44d0825177e312f820e523 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 15 Feb 2018 12:32:27 +0100 Subject: re PR other/82368 (with r253275 several new test cases in libbacktrace fail) PR other/82368 * elf.c (SHT_PROGBITS): Undefine and define. From-SVN: r257685 --- libbacktrace/elf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbacktrace/elf.c') diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index 8ff3c47320e..19da5a97b23 100644 --- a/libbacktrace/elf.c +++ b/libbacktrace/elf.c @@ -170,6 +170,7 @@ dl_iterate_phdr (int (*callback) (struct dl_phdr_info *, #undef SHN_LORESERVE #undef SHN_XINDEX #undef SHN_UNDEF +#undef SHT_PROGBITS #undef SHT_SYMTAB #undef SHT_STRTAB #undef SHT_DYNSYM @@ -267,6 +268,7 @@ typedef struct { #define SHN_LORESERVE 0xFF00 /* Begin range of reserved indices */ #define SHN_XINDEX 0xFFFF /* Section index is held elsewhere */ +#define SHT_PROGBITS 1 #define SHT_SYMTAB 2 #define SHT_STRTAB 3 #define SHT_DYNSYM 11 -- cgit v1.2.3