Fix some numeric bases in RGBLINK output

This commit is contained in:
Rangi42
2024-03-06 17:43:26 -05:00
parent 75105016f7
commit 6d4a61f51d
3 changed files with 4 additions and 4 deletions

View File

@@ -274,7 +274,7 @@ static void placeSection(Section &section) {
snprintf(
where,
sizeof(where),
"in bank $%02" PRIx32 " with align mask %" PRIx16,
"in bank $%02" PRIx32 " with align mask $%" PRIx16,
section.bank,
(uint16_t)~section.alignMask
);
@@ -287,7 +287,7 @@ static void placeSection(Section &section) {
snprintf(
where,
sizeof(where),
"with align mask %" PRIx16 " and offset %" PRIx16,
"with align mask $%" PRIx16 " and offset $%" PRIx16,
(uint16_t)~section.alignMask,
section.alignOfs
);

View File

@@ -631,7 +631,7 @@ static void placeSection(std::string const &name, bool isOptional) {
scriptError(
context,
"The linker script assigns section \"%s\" to address $%04" PRIx16
", but then it would overflow %s by %" PRIx16 " byte%s",
", but then it would overflow %s by %" PRIu16 " byte%s",
name.c_str(), org, typeInfo.name.c_str(), overflowSize, overflowSize == 1 ? "" : "s"
);
// Fill as much as possible without going out of bounds.

View File

@@ -1,2 +1,2 @@
error: Unable to place "test" (WRAMX section) in bank $02 with align mask ffc0
error: Unable to place "test" (WRAMX section) in bank $02 with align mask $ffc0
---