mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-02 16:03:15 -05:00
Fix elf2rpl incorrect section type output for bss.
This commit is contained in:
parent
49f10e6465
commit
469b69d11f
|
|
@ -525,7 +525,7 @@ write(ElfFile &file, const std::string &filename)
|
|||
for (auto §ion : file.dataSections) {
|
||||
auto out = new OutputSection();
|
||||
out->header.name = -1;
|
||||
out->header.type = elf::SHT_PROGBITS;
|
||||
out->header.type = section->type;
|
||||
out->header.flags = section->flags;
|
||||
out->header.addr = section->address;
|
||||
out->header.offset = -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user