mirror of
https://github.com/wiiu-env/wut.git
synced 2025-02-02 01:43:23 +01: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…
x
Reference in New Issue
Block a user