Use Section::typeInfo() more

This commit is contained in:
ISSOtm committed 2026-09-17 13:19:26 -04:00
1 parent 3b250d5386
commit 0b9f8ab523
3 files changed
+7 -8

No files matched your search

+2 -2
View File
@@ -263,7 +263,7 @@ void layout_PlaceSection(std::string const &name, bool isOptional) {
"\"%s\" is specified to be a %s section, but it is already a %s section",
name.c_str(),
typeInfo.name.c_str(),
sectionTypeInfo[section->type].name.c_str()
section->typeInfo().name.c_str()
);
}
@@ -276,7 +276,7 @@ void layout_PlaceSection(std::string const &name, bool isOptional) {
"The linker script places section \"%s\" in %s bank %" PRIu32
", but it was already defined in bank %" PRIu32,
name.c_str(),
sectionTypeInfo[section->type].name.c_str(),
section->typeInfo().name.c_str(),
bank,
section->bank
);