diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/elfs/elfload_dump.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/elfs/elfload_dump.c b/src/elfs/elfload_dump.c index 4c9cf228..2a8189b5 100644 --- a/src/elfs/elfload_dump.c +++ b/src/elfs/elfload_dump.c @@ -9,6 +9,10 @@ #include "elfload_dump.h" #include "elfloader_private.h" +#ifndef SHT_CHECKSUM +#define SHT_CHECKSUM 0x6ffffff8 +#endif + const char* DumpSection(Elf64_Shdr *s, char* SST) { static char buff[400]; switch (s->sh_type) { @@ -45,9 +49,7 @@ const char* DumpSection(Elf64_Shdr *s, char* SST) { GO(SHT_GNU_ATTRIBUTES); GO(SHT_GNU_HASH); GO(SHT_GNU_LIBLIST); - #ifndef TERMUX - GO(SHT_CHECKSUM); - #endif + GO(SHT_CHECKSUM); GO(SHT_LOSUNW); //GO(SHT_SUNW_move); GO(SHT_SUNW_COMDAT); |