diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-02-15 12:32:27 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-02-15 12:32:27 +0100 |
commit | bcc23586c5177390ae44d0825177e312f820e523 (patch) | |
tree | a6043fc3708eb9eae9cefd2edcacff678f8c6d70 | |
parent | 44e60df333a5fa63428a12887d9c8b5471e1a01b (diff) | |
download | gcc-bcc23586c5177390ae44d0825177e312f820e523.zip gcc-bcc23586c5177390ae44d0825177e312f820e523.tar.gz gcc-bcc23586c5177390ae44d0825177e312f820e523.tar.bz2 |
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
-rw-r--r-- | libbacktrace/ChangeLog | 5 | ||||
-rw-r--r-- | libbacktrace/elf.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 60e67a7..323ac94 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -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 diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index 8ff3c47..19da5a9 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 |