re PR other/82368 (with r253275 several new test cases in libbacktrace fail)
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Feb 2018 11:32:27 +0000 (12:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Feb 2018 11:32:27 +0000 (12:32 +0100)
PR other/82368
* elf.c (SHT_PROGBITS): Undefine and define.

From-SVN: r257685

libbacktrace/ChangeLog
libbacktrace/elf.c

index 60e67a72de7178deaedeb0524c836a4701ca4f35..323ac94165c007184ecfc6602ddc20d5738d8e89 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR other/82368
+       * elf.c (SHT_PROGBITS): Undefine and define.
+
 2018-02-14  Jakub Jelinek  <jakub@redhat.com>
 
        PR other/82368
index 8ff3c47320e3469a08c8f4d02942c7c6952b2273..19da5a97b23ac7fb42c65020f5c9dd02b2fb0374 100644 (file)
@@ -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