All MIPS .debug_* sections should be marked with ELF type SHT_MIPS_DWARF accordingly the specification [1]. Also the same section type is assigned to these sections by GNU tools.
[1] ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf
This hunk could probably do with a comment noting that it is historical behaviour / an extension to DWARF-2 for MIPS to mark debug sections with SHT_MIPS_DWARF rather than the usual SHT_PROGBITS.