ref: 03bb2d04c3d0211504bc2b6920a64caee3bee260
parent: 4dc376b0ee8c4896c259e3b85ff01deb975fbfd6
author: Antonio Niño Díaz <[email protected]>
date: Sun Jul 9 11:08:58 EDT 2017
Increment version number of object files The previous change has broken compatibility of object files, so it is needed to increment the version number to make the linker reject files generated with the old code. Signed-off-by: Antonio Niño Díaz <[email protected]>
--- a/src/asm/output.c
+++ b/src/asm/output.c
@@ -504,7 +504,7 @@
struct PatchSymbol *pSym;
struct Section *pSect;
- fwrite("RGB4", 1, 4, f);
+ fwrite("RGB5", 1, 4, f);
fputlong(countsymbols(), f);
fputlong(countsections(), f);
--- a/src/link/object.c
+++ b/src/link/object.c
@@ -336,8 +336,7 @@
tzHeader[4] = 0;
if (strncmp(tzHeader, "RGB", 3) == 0) {
switch (tzHeader[3]) {
- case '3':
- case '4': // V4 supports OAM sections, but is otherwise identical
+ case '5':
obj_ReadRGB(pObjfile);
break;
default: