mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
ELFLoader: Fix typo in segment naming.
Executable segments now get an "x" character in their region name.
This commit is contained in:
parent
baaede1bf9
commit
3a1d5fa112
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ bool ELFLoader::layout()
|
||||||
program_header.is_readable(),
|
program_header.is_readable(),
|
||||||
program_header.is_writable(),
|
program_header.is_writable(),
|
||||||
program_header.is_executable(),
|
program_header.is_executable(),
|
||||||
String::format("elf-map-%s%s%s", program_header.is_readable() ? "r" : "", program_header.is_writable() ? "w" : "", program_header.is_writable() ? "x" : "")
|
String::format("elf-map-%s%s%s", program_header.is_readable() ? "r" : "", program_header.is_writable() ? "w" : "", program_header.is_executable() ? "x" : "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue