Removed extra byte on embeds.

This commit is contained in:
Scott Duensing 2024-05-23 17:28:27 -05:00
parent 9753ff753e
commit a7c1bdc4cd
2 changed files with 1 additions and 2 deletions

View file

@ -139,7 +139,6 @@ typedef struct colorS {
".global " IBSTR(name) "_end\n" \
".balign 1\n" \
IBSTR(name) "_end:\n" \
".byte 0\n" \
); \
extern __attribute__((aligned(16))) const char name ## _start[]; \
extern const char name ## _end[]

View file

@ -618,7 +618,7 @@ int main(int argc, char *argv[]) {
free(targetFile);
if (in != NULL) {
fseek(in, 0, SEEK_END);
length = ftell(in) + 1; // Without the +1 the linker will overflow the segment.
length = ftell(in);
fclose(in);
break;
}